beautypg.com

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

Page 224

background image

200

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS

Example:

CALL : D @R1
LDI : 8 #1, R1

; Instruction placed in delay slot

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

instruction.

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

the delay slot.

...

PC

F F F F F 8 0 0

8 0 0 0

F F F E

F F F F F 8 0 0

RP

8 0 0 1

0 0 0 2

R1

PC

RP

R1

0 0 0 0

0 0 0 1

x x x x

x x x x

Before execution of "CALL" instruction

After branching

Instruction bit pattern : 1001 1111 0001 0001