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:
NZVC
––––
MSB LSB
00001111
u8