Table reference call.
[Syntax]
The following can be specified as imm6:
- | Absolute expression having a value of up to 6 bits |
[Function]
Performs processing in the following sequenceNote
(1) | Saves the values of the return PC and PSW to CTPC and CTPSW. |
(2) | Generates a table entry address by shifting the value specified by the operand 1 bit to the left as an offset value from CTBP(CALLT Base Pointer) and by adding it to the CTBP value. |
(3) | Loads unsigned halfword data from the generated table entry address. |
(4) | Adds the loaded value to the CTBP value to generate an address. |
(5) | Branches to the generated address. |
Note | For details of the system registers, see the Relevant Device's Architecture User's Manual of each device. |
[Flag]
CY
|
---
|
OV
|
---
|
S
|
---
|
Z
|
---
|
SAT
|
---
|