HS-80C85RH
TABLE 9. INSTRUCTION SET SUMMARY
INSTRUCTION CODE
MNEMONIC D7 D6 D5 D4 D3 D2 D1 D0
MOVE, LOAD, AND STORE
INSTRUCTION CODE
OPERATIONS
DESCRIPTION
OPERATIONS
DESCRIPTION
MNEMONIC D7 D6 D5 D4 D3 D2 D1 D0
RNZ
RP
1
1
1
1
1
1
1
1
0
1
1
1
0
1
1
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
Return on no zero
Return on positive
Return on minus
MOVr1, r2
MOV M.r
MOV r.M
MVl r
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
D
D
D
S
S
1
1
1
0
0
0
S
S
1
1
1
0
0
0
S
S
0
0
0
1
1
1
Move register to
register
RM
1
1
0
Move register to
memory
RPE
Return on parity
even
D
D
1
D
D
1
D
D
0
Move memory to
register
RPO
1
1
1
1
0
0
0
1
0
1
0
1
Return on parity
odd
Move immediate
register
RESTART
RST
1
A
A
A
Restart
MVl M
Move immediate
memory
INPUT/OUTPUT
LXl B
0
0
0
Load immediate
register Pair B & C
IN
1
1
1
0
0
1
1
1
0
0
0
1
1
1
1
Input
OUT
1
Output
LXl D
0
1
0
Load immediate
register Pair D & E
INCREMENT AND DECREMENT
LXl H
1
0
0
Load immediate
register Pair H & L
INR r
0
0
0
0
0
0
0
0
0
0
D
D
1
D
D
1
D
D
0
1
1
1
1
0
0
0
0
0
1
0
1
0
1
1
Increment register
Decrement register
Increment memory
Decrement memory
DCR r
INR M
DCR M
INX B
STAX B
STAX D
LDAX B
LDAX D
STA
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
1
1
1
0
1
0
1
1
1
0
0
0
0
0
1
1
0
1
0
1
1
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
Store A indirect
Store A indirect
Load A indirect
Load A indirect
Store A direct
1
1
0
0
0
0
Increment B & C
registers
INX D
0
1
1
1
1
1
1
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
1
0
1
0
1
1
1
1
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
1
1
1
1
1
1
1
1
1
1
1
1
Increment D & E
registers
LDA
Load A direct
POP B
POP D
POP H
POP PSW
XTHL
Pop register Pair B
& C off stack
SHLD
LHLD
Store H & L direct
Load H & L direct
Pop register Pair D
& E off stack
XCHG
Exchange D & E,
H & L Registers
Popregister Pair
H & L off stack
STACK OPS
PUSH B
Pop A and Flags off
stack
1
1
1
1
1
1
1
1
0
0
1
1
0
1
0
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
Push register Pair
B & C on stack
Exchange top ot
stack, H & L
PUSH D
Push register Pair
D & E on stack
SPHL
H & L to stack
pointer
PUSH H
Push register Pair
H & L on stack
LXI SP
INX SP
DCX SP
Load immediate
stack pointer
PUSH PSW
Push A and Flags
on stack
Increment stack
pointer
CZ
1
1
1
1
1
1
1
1
1
1
1
1
0
0
1
1
1
1
0
0
1
1
0
0
1
0
0
1
1
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
Call on zero
CNZ
CP
Call on no zero
Call on positive
Call on minus
Decrement stack
pointer
CM
JUMP
JMP
JC
CPE
CPO
RETURN
RET
RC
Call on parity even
Call on parity odd
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
0
1
1
0
0
1
1
0
1
0
1
0
0
1
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
Jump unconditional
Jump on carry
JNC
JZ
Jump on no carry
Jump on zero
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
0
1
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
Return
Return on carry
Return on no carry
Return on zero
JNZ
JP
Jump on no zero
Jump on positive
Jump on minus
RNC
RZ
JM
Spec Number 518054
10