Maxim-integrated MAXQ622 Manual do Utilizador Página 226

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 255
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 225
MAXQ612/MAXQ622 Users Guide
16-16 Maxim Integrated
PUSH src Push Word to the Stack
Description:
Increases the stack depth (decments the stack pointer SP) and pushes a single word specified by
src to the stack (@SP).
Status Flags:
None
Operation:
SP ++SP
Encoding:
15
0
f000 1101 ssss ssss
Example(s):
PUSH GR ; GR=0F3Fh
PUSH #40h
Stack Data:
xxxxh
xxxxh
SP (initial)
0F3Fh
SP (after PUSH GR)
0040h
SP (after PUSH #40h)
xxxxh
RET
Return from Subroutine
Description:
RET pops a single word from the stack (@SP) into the Instruction Pointer (IP) and decreases the stack
depth (increments the stack pointer SP). The modified SP is saved as the new stack pointer (SP).
Status Flags:
None
Operation:
IP @SP--
Encoding:
15
0
1000 1100 0000 1101
Example(s):
RET
Code Execution:
Addr (IP) Opcode
0311h
0312h
RET
0103h
Stack Data:
xxxxh
xxxxh
SP (after RET)
0103h
SP (before RET)
xxxxh
xxxxh
Vista de página 225
1 2 ... 221 222 223 224 225 226 227 228 229 230 231 ... 254 255

Comentários a estes Manuais

Sem comentários