2.23 Suppose the program counter (PC) is set to 0x2000 0000
2.23.1 [5] <§2.10> What range of addresses can be reachedusing the LEGv8 branch (B) instruction? (In other words what is theset of possible values for the PC after the branch instructionexecutes?)
2.23.2 [5] <§2.10> What range of addresses can be reachedusing the LEGv8 conditional branch-on-equal (CBZ) instruction? (Inother words what is the set of possible values for the PC after thebranch instruction executes?)
Please tell me how to make the right paste.
Solution
2.23.1For unconditional branches LEGv8 uses B-type instruction format asbelow:
B
1000000
OPCODE(6 bits) ADDRESS (26 bits)
Hereaddress specifies
OR
OR