NY6 User Manual
Ver 1.3 2019/03/28
69
4.2.2 Conditional Instructions
SAGT L
Function: Skip the next instruction if ACC greater
than immediate constant.
Operation: Skip next if ACC > L
Operand: L: 4-bit immediate constant value, 0x0 to
0xF
Words: 1
Cycles: 1, (2, 3, 4)
Operative Flags: None
Flags Affected: None
Example: SAGT 0x8
Inst1
Inst2
After Instruction
If ACC = (or <) 0x8, `Inst1’ is executed.
If ACC > 0x8, `Inst1’ is discarded, and `Inst2’
is executed.
SALT L
Function: Skip the next instruction if ACC less than
immediate constant.
Operation: Skip next if ACC < L
Operand: L: 4-bit immediate constant
value, 0x0 to 0xF
Words: 1
Cycles: 1, (2, 3, 4)
Operative Flags: None
Flags Affected: None
Example: SALT 0x8
Inst1
Inst2
After Instruction
If ACC = (or >) 0x8, `Inst1’ is executed.
If ACC < 0x8, `Inst1’ is discarded, and `Inst2’
is executed.
SAEL L
Function: Skip the next instruction if ACC equal
immediate constant.
Operation: Skip next if ACC = L
Operand: L: 4-bit immediate constant value, 0x0 to
0xF
Words: 1
Cycles: 1, (2, 3, 4)
Operative Flags: None
Flags Affected: None
Example: SAEL 0x8
Inst1
Inst2
After Instruction
If ACC ≠ 0x8, `Inst1’ is executed.
If ACC = 0x8, `Inst1’ is discarded, and `Inst2’
is executed.
SCEZ
Function: Skip the next instruction if Carry equal to 0.
Operation: Skip next if C = 0
Operand: None
Words: 1
Cycles: 1, (2, 3, 4)
Operative Flags: C
Flags Affected: None
Example: SCEZ
Inst1
Inst2
After Instruction
If C ≠ 0x0, `I
nst1’ is executed.
If C = 0x0, `Inst1’ is discarded, and `Inst2’ is
executed.