Maxim-integrated DS4830A Optical Microcontroller Manuale Utente Pagina 221

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 240
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 220
DS4830A User’s Guide
221
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
1000
1100
1000
1101
Example(s): see RET
RETI C / RETI NC Conditional Return from Interrupt on Status Flag
RETI Z / RETI NZ
RETI S
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
Operation: C=1: IP @SP--
INS 0
C=0: IP IP + 1
Encoding: 15 0
1010
1100
1000
1101
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
1110
1100
1000
1101
Example(s): RETI NC ; C=1, return from interrupt (RETI) does not occur
Vedere la pagina 220
1 2 ... 216 217 218 219 220 221 222 223 224 225 226 ... 239 240

Commenti su questo manuale

Nessun commento