How are immediate values encoded in MIPS instructions?

Immediate values in MIPS instructions are encoded directly as their binary representations. If 0x00400000 represents the address of Lab1, then you need to encode the number of instructions that you want to jump over, which I believe is just address of target instruction - address of branch instruction - 1, but I might be wrong about that.
For More Information Please Refer:


You May Also Like to Read: