
Instruction Set
(Continued)
TABLE III. COP410C/411C Instruction Set
(Continued)
Hex
Code
Machine
Language Code
(Binary)
à
00
r
0111
à
Mnemonic
Operand
Data Flow
Skip Conditions
Description
MEMORY REFERENCE INSTRUCTIONS
(Continued)
XDS
r
b
7
RAM(B)
Y
A
Bd – 1
x
Bd
Br
Z
r
x
Br
Bd decrements past 0
Exchange RAM with A
and Decrement Bd
Exclusive-OR Br with r
XIS
r
b
4
à
00
à
r
à
0100
à
RAM(B)
Y
A
Bd
a
1
x
Bd
Br
Z
r
x
Br
Bd increments past 15
Exchange RAM with A
and Increment Bd
Exclusive-OR Br with r
REGISTER REFERENCE INSTRUCTIONS
CAB
50
à
0101
à
0000
à
A
x
Bd
None
Copy A to Bd
CBA
4E
à
0100
à
1110
à
Bd
x
A
None
Copy Bd to A
LBI
r,d
–
à
00
à
r
à
(d - 1)
à
(d
e
0,9:15)
à
0010
à
0010
à
0000
à
r,d
x
B
Skip until not a LBI
Load B Immediate with
r,d
LEI
y
33
6
b
à
0011
0011
à
y
x
EN
None
Load EN Immediate
y
à
TEST INSTRUCTIONS
SKC
20
C
e
‘‘1’’
Skip if C is True
SKE
21
à
0010
à
0001
à
à
0010
à
0001
à
à
0000
à
0001
à
à
0010
à
0011
à
à
0001
à
0001
à
A
e
RAM(B)
Skip if A Equals RAM
SKGZ
33
21
à
0011
à
0011
à
à
0011
à
0011
à
à
0000
à
0011
à
à
0000
à
0001
à
à
0001
à
0011
à
à
0011
à
0011
à
à
0011
à
0011
à
à
0011
à
0011
à
à
0011
à
0011
à
à
0100
à
1111
à
G
3:0
e
0
Skip if G is Zero
(all 4 bits)
SKGBZ
33
01
11
03
13
1st byte
Skip if G Bit is Zero
0
1
2
3
G
0
e
0
G
1
e
0
G
2
e
0
G
3
e
0
à
0001
à
0001
à
2nd byte
*
SKMBZ
0
1
2
3
01
11
03
13
RAM(B)
0
e
0
RAM(B)
1
e
0
RAM(B)
2
e
0
RAM(B)
3
e
0
Skip if RAM Bit is Zero
à
0000
à
0011
à
INPUT/OUTPUT INSTRUCTIONS
ING
33
2A
G
x
A
None
Input G Ports to A
à
0010
à
1010
à
à
0010
à
1110
à
à
0011
à
1110
à
à
0011
à
1010
à
INL
33
2E
L
7:4
x
RAM(B)
L
3:0
x
A
None
Input L Ports to RAM, A
OBD
33
3E
Bd
x
D
None
Output Bd to D Outputs
OMG
33
3A
RAM(B)
x
G
None
Output RAM to G Ports
XAS
4F
A
Y
SIO, C
x
SKL
None
Exchange A with SIO
Note 1:
The JP instruction allows a jump, while in subroutine pages 2 or 3, to any ROM location within the two-page boundary of pages 2 or 3. The JP instruction,
otherwise, permits a jump to a ROM location within the current 64-word page. JP may not jump to the last word of a page.
Note 2:
A JSRP transfers program control to subroutine page 2 (0010 is loaded into the upper 4 bits of P). A JSRP may not be used when in pages 2 or 3. JSRP
may not jump to the last word in page 2.
12