0
2.9kviews
Compare AJMP, SJMP, LJMP instructions of 8051.
1 Answer
written 6.0 years ago by |
AJMP | SJMP | LJMP |
---|---|---|
Absolute jump to anywhere within 2k block of program memory | Short jump, relative address is 8 bit it support 127 location forward | Long jump range is 64 kb |
It uses an 11 bit address | It uses 8 bit address. | It uses 16 bit address |
2 byte instruction | 2 byte instruction. | 3 byte instruction |
Cannot the JMP absolute | Conditional branch instruction can use, relative JMP. | Cannot use long JMP |
PC is equal to 16 bit. | Address calculation | PC is equal to 11 bits |