Zilog Z16F2810 Manuel d'utilisateur Page 158

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 216
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 157
1 2 ... 153 154 155 156 157 158 159 160 161 162 163 ... 215 216

Commentaires sur ces manuels

Pas de commentaire