beautypg.com

133 enter (enter function) – FUJITSU FR family 32-bit microcontroller instruction manuel CM71-00101-5E User Manual

Page 278

background image

254

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS

7.133

ENTER (Enter Function)

This instruction is used for stack frame generation processing for high level languages.
The value "u8" is calculated as an unsigned value.

ENTER (Enter Function)

Assembler format:

ENTER #u10

Operation:

R14

(R15 – 4)

R15 – 4

R14

R15 – extu (u8 × 4)

R15

Flag change:

N, Z, V, and C: Unchanged

Execution cycles:

1 + a cycles

Instruction format:

N

Z

V

C

MSB

LSB

0

0

0

0

1

1

1

1

u8