Zilog Z16F2810 Manual de usuario Pagina 158

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 216
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 157
PUSHF Instruction UM018809-0611
142
ZNEO
®
CPU Core
User Manual
PUSHF
Definition
PUSH Flags
Syntax
PUSHF
Operation
SP SP
2
(SP)
{00H, FLAGS[7:0]}
Description
The PUSHF instruction decrements the Stack Pointer (R15), loads the Flags register into the byte
pointed to by the Stack Pointer, and then decrements the Stack Pointer again. PUSHF decrements
the Stack Pointer twice so its alignment is not changed.
Flags
Flags are not affected by this instruction.
Syntax and Opcodes
Example
Before:
SP=FFFF_DB24H, Flags=B1H (C, S, V, IRQE=1; Z, B=0)
PUSHF ;Object Code: 0002
After:
SP=FFFF_DB22H, FFFF_DB22H=00H, FFFF_DB23H=B1H (1011_0001B)
Instruction, Operands Word 0 Word 1 Word 2
PUSHF 0002H
Vista de pagina 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 215 216

Comentarios a estos manuales

Sin comentarios