Maxim-integrated MAXQ622 Manual de usuario Pagina 228

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 255
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 227
MAXQ612/MAXQ622 Users Guide
16-18 Maxim Integrated
RET S
Operation:
S=1: IP @SP--
S=0: IP IP + 1
Encoding:
15
0
1100 1100 0000 1101
Example(s):
RET S ; S=0, return (RET) does not occur
RETI
Return from Interrupt
Description:
RETI pops a single word from the stack (@SP) into the Instruction Pointer (IP) and decrements the
stack pointer (SP). Additionally, RETI returns the interrupt logic to a state in which it can acknowl-
edge additional interrupts.
Status Flags:
None
Operation:
IP @SP--
IPS 11b
Encoding:
15
0
1000 1100 1000 1101
Example(s):
see RET
RETI C/RETI NC
RETI Z/RETI NZ
RETI S
Conditional Return from Interrupt on Status Flag
Description:
Performs conditional return from interrupt (RETI) based upon the state of a specific processor status
flag. RETI C returns if the Carry flag is set while RETI NC returns if the Carry flag is clear. RETI Z
returns if the Zero flag is set while RETI NZ returns if the Zero flag is clear. RETI S returns if the Sign
flag is set. See RETI for additional information on the return from interrupt operation.
Status Flags:
None
RETI C
Description:
RETI pops a single word from the stack (@SP) into the Instruction Pointer (IP) and decrements the
stack pointer (SP). Additionally, RETI returns the interrupt logic to a state in which it can acknowl-
edge additional interrupts.
Status Flags:
None
Operation:
C=1: IP @SP--
IPS 11b
C=0: IP IP + 1
Encoding:
15
0
1010 1100 1000 1101
Example(s):
RETI C ; C=1, return from interrupt (RETI) is performed.
Vista de pagina 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 254 255

Comentarios a estos manuales

Sin comentarios