384
APPENDIX B Overview of the Instructions
●
Bit Direct Addressing
The addressing, which is indicated by dir:b in the instructions list, is used for accessing the area from
0000
H
to 00FF
H
on a per bit basis. In this addressing, the higher one byte of the address is 00
H
. Specify the
lower one byte with the operand; and the bit position in the specified address with the lower three bits of
the operation code.
Figure B.1-3 shows an example.
Figure B.1-3 Example of Bit Direct Addressing
●
Index addressing
The addressing, which is indicated by @IX(off in the instructions list, is used for accessing the entire area
of 64 KB. In this addressing, the contents of the first operand are signed and added to IX (index register).
Then the results are used as the address.
Figure B.1-4 shows an example.
Figure B.1-4 Example of Index Addressing
●
Pointer Addressing
The addressing, which is indicated by @EP in the instructions list, is used for accessing the entire area of
64 KB. In this addressing, the contents of EP (extra pointer) are used as the address.
Figure B.1-5 shows an example.
Figure B.1-5 Example of Pointer Addressing
SETB 34H : 2
0 0 3 4
H
7 6 5 4 3 2 1 0
X X X X X 1 X X
B
A
IX
MOVW A, @IX+5 AH
2 7 A 5
H
2 7 F F
H
1 2
H
2 8 0 0
H
3 4
H
1 2 3 4
H
2 7 A 5
H
M OVW A, @EP
1 2 3 4
H
A
1 2
H
3 4
H
2 7 A 6
H
2 7 A 5
H
EP
Summary of Contents for F2MC-8L F202RA
Page 2: ......
Page 4: ......
Page 32: ...16 CHAPTER 1 OVERVIEW ...
Page 90: ...74 CHAPTER 3 CPU ...
Page 142: ...126 CHAPTER 5 TIME BASE TIMER POPW A RETI ENDS END ...
Page 150: ...134 CHAPTER 6 WATCHDOG TIMER ...
Page 176: ...160 CHAPTER 7 8 BIT PWM TIMER ...
Page 220: ...204 CHAPTER 8 8 16 BIT CAPTURE TIMER COUNTER ...
Page 240: ...224 CHAPTER 9 12 BIT PPG TIMER ...
Page 274: ...258 CHAPTER 11 EXTERNAL INTERRUPT CIRCUIT 2 LEVEL ...
Page 362: ...346 CHAPTER 15 BUZZER OUTPUT ...
Page 390: ...374 CHAPTER 17 FLASH MEMORY ...
Page 419: ...403 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 434: ...418 INDEX ...
Page 436: ......