7 / 57 page

NT68F62
7
2. Instruction Set List
Instruction Code
Meaning
Operation
ADC
Add with carry
A + M + C → A, C
AND
Logical AND
A•M → A
ASL
Shift left one bit
C ← M7…M0 ← 0
BCC
Branch if carry clears
Branch on C = 0
BCS
Branch if carry sets
Branch on C = 1
BEQ
Branch if equal to zero
Branch on Z = 1
BIT
Bit test
A•M, M7→N, M6→V
BMI
Branch if minus
Branch on N = 1
BNE
Branch if not equal to zero
Branch on Z = 0
BPL
Branch if plus
Branch on N = 0
BRK
Break
Forced Interrupt PC+2↓ PC↓
BVC
Branch if overflow clears
Branch on V = 0
BVS
Branch if overflow sets
Branch on V = 1
CLC
Clear carry
0 → C
CLD
Clear decimal mode
0 → D
CLI
Clear interrupt disable bit
0 → I
CLV
Clear overflow
0 → V
CMP
Compare Accumulator to memory
A - M
CPX
Compare with index register X
X - M
CPY
Compare with index register Y
Y - M
DEC
Decrement memory by one
M - 1 → M
DEX
Decrement index X by one
X - 1 → X
DEY
Decrement index Y by one
Y - 1 → Y
EOR
Logical exclusive-OR
A ⊕ M→A
INC
Increment memory by one
M + 1 → M
INX
Increment index X by one
X + 1 → X
INY
Increment index Y by one
Y + 1 → Y