beautypg.com

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

Page 226

background image

202

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS

Example:

RET : D
MOV R0, 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 "MOV" instruction placed in

the delay slot.

...

PC

8 0 0 0

A E 8 6

F F F 0

x x x x x x x x

8 8 2 0

8 0 0 0

A E 8 6

RP

8 0 0 0

A E 8 6

PC

RP

0 0 1 1

2 2 3 3

R0

R0

0 0 1 1

2 2 3 3

R1

R1

0 0 1 1

2 2 3 3

Before execution of "RET" instruction

After branching

Instruction bit pattern : 1001 1111 0010 0000