Zilog Z16F2810 Manual de usuario Pagina 152

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 216
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 151
POPF Instruction UM018809-0611
136
ZNEO
®
CPU Core
User Manual
POPF
Definition
POP Flags
Syntax
POPF
Operation
FLAGS[7:0]
+ 1(SP)
SP SP
+ 2
Description
The POPF instruction increments the Stack Pointer (R15), loads the byte pointed to by the Stack
Pointer into the Flags register, and increments the Stack Pointer. POPF increments the Stack
Pointer twice so its alignment is not changed.
Flags
The Flags register is overwritten by the popped byte.
Syntax and Opcodes
Example
Before:
SP=FFFF_DB22H, FFFF_DB22H=00H, FFFF_DB23H=B1H (1011_0001B)
POPF ;Object Code: 0003
After:
SP=FFFF_DB24H, Flags=B1H (C, S, V, IRQE=1; Z, B=0)
Instruction, Operands Word 0 Word 1 Word 2
POPF 0003H
Vista de pagina 151
1 2 ... 147 148 149 150 151 152 153 154 155 156 157 ... 215 216

Comentarios a estos manuales

Sin comentarios