NY6 User Manual
Ver 1.3 2019/03/28
78
SEI
Function :Enable interrupt entrance
Operation:
Operand :
None
Words :
1
Cycles :
1
Operative Flags: None
Flags Affected: None
Example :SEI
Before Instruction
Interrupt entrance is disable
After Instruction
Interrupt entrance is enable
CLI
Function : Disable interrupt entrance
Operation:
Operand : None
Words :
1
Cycles :
1
Operative Flags: None
Flags Affected: None
Example :
CLI
Before Instruction
Interrupt entrance is enable
After Instruction
Interrupt entrance is disable
RET
Function : Return from subroutine
Operation: PC ← STK
Operand :
None
Words :
2
Cycles :
2
Example :
RET
After Instruction
PC ← STK
IRET
Function :
Return from interrupt routine
Operatio
n: PC← STK
Operand :
None
Words :
2
Cycles :
2
Operative Flags: None
Flags Affected: None
Example :
IRET
After Instruction
PC ← STK, and
ACC, SRAM Page, Zero and Carry bit will
be restored to those values backup at the
moment when entering the interrupt routine