Professional Documents
Culture Documents
The address of the target instruction is specified in the instruction (in the IAR-relative
mode) Providing 24-bit displacement from the IAR.
(a) List cycle by cycle all the steps of this instruction.
3. Execution
The offset is shifted left two bits and the 26 bit result is concatenated with the
upper 6 bits of PC to form the target address.
(b) Fill in all the necessary paths(busses)in the CPU diagram provided.
In
IAR MAR MDR
W
IR
Write Address
RA Address
RB Address
RA RB
Control
Unit
ALU
CC
3. Fill in the missing entries of the following table.
ST R5 R7 F6
The 16-bit offset(I) is sign-extended and added to the contents of R5 to form a 32-bit
unsigned effective address. The contents of R7 are stored at this effective address.
FFA1+FFF6=1FF97
Affected memory locations: 1FF97, 1FF98, 1FF99, 1FF9A
(b) List the values in those locations after the STORE instruction is executed?
Address Content
1FF97 00000000
1FF98 00000000
1FF99 11111111
1FF9A 00000000