Professional Documents
Culture Documents
Instruction Word Binary Hex LDI, LDI R19, 0 LDI R21, 18 AD D R19, R1 8 STS 0x607, R19
Instruction Word Binary Hex LDI, LDI R19, 0 LDI R21, 18 AD D R19, R1 8 STS 0x607, R19
Instruction Word Binary Hex LDI, LDI R19, 0 LDI R21, 18 AD D R19, R1 8 STS 0x607, R19
Translate the following instruction and color the corresponding opcode and operands:
Instruction Word Binary Hex
LDI R18, 2 1 1 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0xE02
2
LDI R19, 0
LDI R21, 18
AD R1
R19,
D 8
STS 0x607, R19
DEC R21
3. What is the value of the status register after performing the following code: