Zilog Z80380 Manual de usuario Pagina 208

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 268
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 207
5-174
Z380
USER'S MANUAL
DC-8297-03
ZILOG
SUB
SUBTRACT FROM STACK POINTER (WORD)
SUB SP,src src = IM
Operation: if (XM) then begin
SP(31-0) SP(31-0) – src(31-0)
end
else begin
SP(15-0) SP(15-0) – src(15-0)
end
The source operand is subtracted from the SP register and the difference is stored in the SP
register. This has the effect of allocating or deallocating space on the stack. Two's
complement subtraction is performed.
Flags: S: Unaffected
Z: Unaffected
H: Set if there is a borrow from bit 12 of the result; cleared otherwise
V: Unaffected
N: Set
C: Set if there is a borrow from the most significant bit of the result; cleared otherwise
Addressing Execute
Mode Syntax Instruction Format Time Note
IM: SUB SP,nn 11101101 10010010 -n(low)- -n(high) 2 I, X
Vista de pagina 207
1 2 ... 203 204 205 206 207 208 209 210 211 212 213 ... 267 268

Comentarios a estos manuales

Sin comentarios