Zilog Z16F2810 Manual do Utilizador Página 152

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 216
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 151
1 2 ... 147 148 149 150 151 152 153 154 155 156 157 ... 215 216

Comentários a estes Manuais

Sem comentários