Call:d (Call Subroutine) - Fujitsu FR Family Instruction Manual

32-bit microcontroller
Hide thumbs Also See for FR Family:
Table of Contents

Advertisement

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.96

CALL:D (Call Subroutine)

This is a branching instruction with a delay slot.
After saving the address of the next instruction after the delay slot to the "RP", branch
to the address indicated by "label12" relative to the value of the program counter (PC).
When calculating the address, double the value of "rel11" as a signed extension for use
as the branch destination address.
■ CALL:D (Call Subroutine)
Assembler format:
CALL : D label12
Operation:
PC + 4 → RP
PC + 2 + exts (rel11 × 2) → PC
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
1 cycle
Instruction format:
196
N
Z
V
C
MSB
1
1
0
1
1
rel11
LSB

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr series

Table of Contents