Maxim-integrated MAXQ7667 Manual de usuario Pagina 337

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 347
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 336
19-23 _________________________________________________________________________________________________________
MAXQ7667 Users Guide
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 acknowledge additional interrupts.
Status Flags: None
Operation: IP @SP--
INS
0
Encoding: 15 0
Example(s): See RETI
RETI C/RETI NC, RETI Z/RETI NZ, RETI S Conditional Return from Interrupt on Status Flag
Description: Performs conditional return (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 operation.
Status Flags: None
RETI C
Operation:
C=1: IP @SP--
INS
0
C=0: IP
IP + 1
Encoding: 15 0
Example(s): RETI C ; C=1, return from interrupt (RETI) is performed
RETI NC
Operation:
C=0: IP @SP--
INS
0
C=1: IP
IP +1
Encoding: 15 0
Example(s): RETI NC ; C=1, return from interrupt (RETI) does not occur
1000 1100 1000 1101
1010 1100 1000 1101
1110 1100 1000 1101
Vista de pagina 336
1 2 ... 332 333 334 335 336 337 338 339 340 341 342 ... 346 347

Comentarios a estos manuales

Sin comentarios