beautypg.com

FUJITSU FR family 32-bit microcontroller instruction manuel CM71-00101-5E User Manual

Page 222

background image

198

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS

Example:

CALL:D label
LDI : 8 #0, R2

; Instruction placed in delay slot

...

label: ; CALL: D instruction address + 122

H

The instruction placed in the delay slot will be executed before execution of the branch destination

instruction.

The value "R2" above will vary according to the specifications of the "LDI:8" instruction placed in

the delay slot.

PC

F F 8 0 0 1 2 2

F F 8 0 0 0 0 0

RP

F F 8 0 0 0 0 4

R2

PC

RP

R2

0 0 0 0

0 0 0 0

x x x x

x x x x

x x x x

x x x x

Before execution of "CALL" instruction

After branching

Instruction bit pattern : 1101 1000 1001 0000