Note: All the four (4) instructions are independent of each other but based on the same initial condition.
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0x100 10 78 4A 91 FF D6 E2 C9 78 44 1B A7 C0 22 00 00
0x200 3C EF 1F 6E 00 00 00 00 00 00 00 00 00 00 00 0F
N OV Z DC C
Addressing Mode
MOVLW 0x23 Immediate, Inherent 2 marks
Expand the full term of GPR and SFR. What are the purposes of these TWO registers? [4 marks]
GPR-General Purpose Register used to hold dynamic data when CPU is executing program [2m]
SFR-Special Function Register used by the CPU and peripheral modules for controlling the
desired operation of the MCU [2m]