edited by
834 views
2 votes
2 votes
A PC-related mode branch instruction is $8$Byte long. The address of the instruction,in decimal, is $548321.$Find the branch target address if the signed displacement in the instruction is $-29?$
edited by

1 Answer

6 votes
6 votes
PC points to the next instruction and not the instruction that it is executing. So when the instruction 548321 is executing the program counter will point to 548329 as the size of an instruction is 8 B. Since the displacement is -29, this will target to the instruction, 548300.
edited by

Related questions