Stereo System User Manual
Instruction Set Encoding
4-188
Instructions 012345678910111213141516
CMP A
n
, {
adrs
}
0 1 0 1 1 0 0 A
n adrs
x
dma16
 (for direct) or 
offset16 
(long relative) [see section 4.13]
CMP A
n
[~], 
imm16
 [,
 next A
]
1 1 1 0 0
next A
A
n
0 1 1 0 0 1 A~ ~A
x
imm16
CMP A
n
, A
n
~ [,
 next A
] 1 1 1 0 0
next A
A
n
1 0 0 0 0 0 0 0
CMP A
n
~, A
n
 [,
 next A
] 1 1 1 0 0
next A
A
n
1 0 0 0 0 0 1 0
CMP R
x
, 
imm16
1 1 1 1 1 1 1 0 0 0 1 1 R
x
0 0
x
imm16
CMP R
x
, R5 1 1 1 1 1 1 1 0 0 1 1 1 R
x
0 0
CMPB A
n
, 
imm8
1 0 1 0 0 1 1 A
n imm8
CMPB R
x
, 
imm8
1 0 1 1 1 1
k4 k3 k2 k7 k6 k5
R
x k1 k0
CMPS A
n
, {
adrs
}
0 1 0 1 1 0 1 A
n adrs
x
dma16
 (for direct) or 
offset16 
(long relative) [see section 4.13]
CMPS A
n
[~], 
pma16
1 1 1 0 0 1 1 A
n
0 1 1 0 0 1 A~ 0
x
pma16
CMPS A
n
, A
n
~ 1 1 1 0 0 1 1 A
n
1 0 0 0 0 0 0 0
CMPS A
n
~, A
n
1 1 1 0 0 1 1 A
n
1 0 0 0 0 0 1 0
COR A
n
, *R
x
1 1 1 0 1 0 0 A
n
1 1 0 R
x
1 1
CORK A
n
, *R
x
1 1 1 0 1 0 0 A
n
1 0 0 R
x
1 1
ENDLOOP 
n
1 1 1 1 1 1 1 1 0 0 0 0 1 0 0 0
n
EXTSGN A
n
[~] [,
 next A
] 1 1 1 0 0
next A
A
n
0 1 1 1 1 0 0 ~A
EXTSGNS A
n
[~] 1 1 1 0 0 1 1 A
n
0 1 1 1 1 0 0 A~
FIR A
n
, *R
x
1 1 1 0 1 0 0 A
n
0 1 0 R
x
1 1
FIRK A
n
, *R
x
1 1 1 0 1 0 0 A
n
0 0 0 R
x
1 1
IDLE 1 1 1 1 1 1 1 1 0 0 0 1 0 0 0 0 0
IN {
adrs
}, 
port4
1 1 0 0 0
port4 adrs
x
dma16
 (for direct) or 
offset16 
(long relative) [see section 4.13]
IN A
n
[~], 
port6
1 1 1 0 1 1 0 A
n port6
0 ~A
INS A
n
[~], 
port6
1 1 1 0 1 1 1 A
n port6
0 ~A
INTD 1 1 1 1 1 1 1 1 0 1 0 0 1 0 0 0 0
INTE 1 1 1 1 1 1 1 1 0 1 0 0 0 0 0 0 0
IRET 1 1 0 1 1 1 1 0 1 0 1 1 1 1 1 1 0
JMP 
pma16
1 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0
x
pma16
JMP 
pma16
, R
x
++
1 0 0 0 0 0 0 1 0 1 0 1 R
x
0 1
x
pma16










