Professional Documents
Culture Documents
Ins8085 PDF
Ins8085 PDF
lill
I B, byte 06 B04
I MP a d r C3
l-a G e n e ra l :
I E,c ss I c, byte 0E c0c
I A,c 7e lc 81
I 3; ORG
'*l i;Blt
I i;l i3
'""1E;B it
I E , H sc
M \/r J D, b yte
I E, byte
I H, byte
16
1E
26
^""1
Hii IN R
D 14
EIL
t] 24
JNZ adr
JZ adr
JNC adr
JC adr
C2
CA
02
DA
'us'rl
LPSW F5
c1
END
EQU
SET
I L, byte
Li, 3:
L2C
I E , L sD 2E
JPO adr E2 l-a n<
pop_{ o
'-li
7E
LA , M LE,M 5E LM, byte 36 M 34 D1 DB.
JPE adT EA
f a,e +t
llf :a Load
[r 35 803
D 13
JP adr F2 Ll'*. Fi DW
ffi
IN X JM adr FA Macros :
I B, B 40 Im m e d ia te
lc 8e H 23
^*lH!i
PCHL E9
I B, C 41 I H,c 61 )ts JJ XTHL E3 MACRO
"..ll
LH,M OUT byte D3 IRPC
CNCadr D4
{iEl
Load / Store Subtract * IN byte DB EXITM
fc,e +r
llt :; CC adr DC
tl ii ii
I C,B 48 LDAX B OA CPO adr E4 Relocation:
I c,c 4e I L,c 6e LDAX D 14 CPE adr EC Control
'""U;i
LHLD Adr 24
'""1E;P '""1133t
NAME
it I L,H 6c
LDA AdT 34
CP adr
CM adr
F4
FC DI
EI
F3
FB
ASEG
DSEG
CSEG
STKLN
STACK
iF
LEi[ I L,L 6D
STAX B 02 Return PUBLIC MEMORY
f o,e sz
I D,Bs0
LL,M 6E
f vt,e tt
STAX D
SHLD adr
STA adr
L2
22
32
".'{!,
lE.''li
[r E5
RET
RNZ
RZ
c9
c0
c8
NOP
HLT
OO
76
EXTRN
Conditional
Assembly :
ai
I M,B70
tlB i!
RNC D0 New Instructions
I D, C s l I M,c 71 RC Dg (8 0 8 5 O n l y ) IF
'""1B;P
MOV-I M,D 72
13 I M,E73
Specials RPO
:9 RrFr 20
ELSE
ENDIF
LB;i LM,L 7s
XCHG EB
L[;E
CMA
STCr
CMCI
2F
37
3F Arith & Logical
Immediate
RP
RM
rU
FB AssEMBLER
REFERENCE
o??fr
Constant Definition
'""
I Operators I to"$ o"t'tu'
byte = constant, or logical / arithmetic expressionthat evaluatesto an Double Add t Rotatet ADI byte C6
a
'B1,i *'l[ii Ei /i$ o""'
8-bit data quantity (second byte of 2-byte instructions) ACI byte CE NUL
RLC 07
dble = constant, or logical / arithmetic expressionthat evaluatesto an SUI byte D6 LOW HIGH
RRC OF
*
16-bit data quantity (Second and Third bytes of 3-byte instructions)
adr = 16-bit address (Second and Third bytes of 3-byte instructions)
= all flags (c, z, s, P,Ac) affected.
"^"f
LsP 39
FIAL
RAR
L7
1F
SBI byte
ANI byte
XRI byte
DE
E6
EE
Ei
*,/, MOD, SHL, SHR
+,-
NOT 3l?1ffi]
''"""
* * = all flags except CARRYaffected. ORI byte F6
Lr ii
AND
(exception : INX and DCXaffect no flags) CPI byte FE OR, XOR 'f,i?;]o'."
t = only CARRYaffected.