385
●
General-purpose Register Addressing
The addressing, which is indicated by Ri in the instructions list, is used for accessing the register bank of
the general-purpose register area. In this addressing, the higher one byte of the address is fixed to 01. The
lower one byte is generated from the contents of RP (register bank pointer) and the lower three bits of the
operation code. The address is then accessed.
Figure B.1-6 shows an example.
Figure B.1-6 Example of General-purpose Register Addressing
●
Immediate Addressing
The addressing, which is indicated by #d8 in the instructions list, is used when immediate data is required.
In this addressing, the operand directly becomes the immediate data. The specification of byte/word is
determined using the operation code.
Figure B.1-7 shows an example.
Figure B.1-7 Example of Immediate Addressing
●
Vector Addressing
The addressing, which is indicated by vct in the instructions list, is used for branching to a subroutine
registered in the table. In this addressing, the operation code includes the vct information, with the
addresses generated on the basis of the correspondence with the contents of Table B.1-1 .
0 1 5 6
MOV A, R 6
A B
H
A
A B
H
0 1 0 1 0
B
RP
H
MOV A, # 56
H
56
H
A
Table B.1-1 Vector Table Address Corresponding to vct
#vct
Vector table address (Jump destination, higher address:lower address)
0
FFCO
H
: FFC1
H
1
FFC2
H
: FFC3
H
2
FFC4
H
: FFC5
H
3
FFC6
H
: FFC7
H
4
FFC8
H
: FFC9
H
5
FFCA
H
: FFCB
H
6
FFCC
H
: FFCD
H
7
FFCE
H
: FFCF
H
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: ......