You are on page 1of 1

Move (cont

)

;:
[l;t
I A,c 7e

'*l i;Blt
I i;l i3
7E
LA , M

f a,e +t
I B, B 40
I B, C 41

ii
'*l I B;P
B, H 4 4
I B, L 4 s
LB, M 4 5

fc,e +r
I C,B 48

I c,c 4e

it
'""1E;P

iF
LEi[
f o,e sz
I D,Bs0
I D, C s l

13
'""1B;P

ii
LB;i

35
[E;t
I E,c ss
it
'""1E;B
I E , H sc
I E , L sD
LE,M 5E

llf :a
I H,c 61

,""1il;B
E3
I I;i3i
55

Logi c al *

Im m ediate

l-n, oyte :e
I B, byte 06
I c, byte 0E

M \/r J D, b yte
I E, byte
I H, byte
I L, byte
LM, byte

16
1E
26
2E
36

Load
Im m e d ia te

or
l-e, aore

J D, d b le1 1
-' r"'r I H, d b te2 1
L Sp , a OteSr

LH,M

:;
llt
I L,c 6e

'""1133t
I L,H 6c
I L,L 6D
LL,M 6E

f vt,e tt
I M,B70
I M,c 71
MOV-I M,D 72
I M,E73
I M , H7 4
LM,L 7s
XCHG

Load / Store
LDAX B OA
LDAX D
14
LHLD Adr 24
LDA AdT 34
STAX B
STAX D
SHLD adr
STA adr

02
L2
22
32

EB

byte = constant, or logical / arithmetic expressionthat evaluatesto an
8-bit data quantity (second byte of 2-byte instructions)
dble = constant, or logical / arithmetic expressionthat evaluatesto an
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.
*
* * = all flags except CARRYaffected.
(exception : INX and DCXaffect no flags)
t = only CARRYaffected.

A3C
B04

36
[6
81
lc

^""1
Hii

Li, 3:

[r 35
lc

8e

^*lH!i
33
Li

Subtract *

c0c

IN R

D 14
EIL

t]
24
L2C
M 34

lill

'-li
ffi
t
r
is
"..ll

IN X

803
D 13
H 23
)ts JJ

Double Add t

'B1,i
"^"f
LsP 39

ai

Specials
DAA *
27
CMA
STCr
CMCI

2F
37
3F

Rotatet
RLC
RRC
FIAL
RAR

07
OF
L7
1F

C3
C2
CA
02
DA
E2
EA
F2
FA
E9

call

{iEl

tl ii ii
'""U;i
[r E5
".'{!,
lE.''li
tlB i!
"'l BA
L[;E

I MP a d r
JNZ adr
JZ adr
JNC adr
JC adr
JPO adr
JPE adT
JP adr
JM adr
PCHL

CALL adr
CNZ adr
Czadr
CNCadr
CC adr
CPO adr
CPE adr
CP adr
CM adr

CD
C4
CC
D4
DC
E4
EC
F4
FC

C6
CE
D6
DE
E6
EE
F6
FE

G e n e ra l :

I 3;
'us'rl
LPSW F5

ORG
END
EQU
SET
n<
DB.
DW

c1
D1

l-a
pop_{ o

Ll'*. Fi
XTHL
SPHL

Macros :

E3
F9

MACRO
ENDM
LOCAL
REPT
IRP
IRPC
EXITM

Input,/Output
OUT byte
IN byte

D3
DB

Relocation:

Control
DI
EI

F3
FB

NOP
HLT

OO
76

ASEG
DSEG
CSEG
PUBLIC
EXTRN

Return
RET
RNZ
RZ
RNC
RC
RPO
RPE
RP
RM

c9
c0
c8
D0
Dg

New Instructions
(8 0 8 5 O n l y )

:9

RrFr 20
CT M

rU
FB

Arith & Logical
Immediate
ADI byte
ACI byte
SUI byte
SBI byte
ANI byte
XRI byte
ORI byte
CPI byte

cs

l-a

Lr ii

Conditional
Assembly :
IF
ELSE
ENDIF

IN

o??fr
'""
to"$

Constant Definition
AssEMBLER
REFERENCE
I

*'l[ii Ei
Ei

NAME
STKLN
STACK
MEMORY

Operators

a

I

NUL
LOW HIGH
*,/, MOD, SHL, SHR
+,NOT
AND
OR, XOR

o"t'tu'

/i$ o""'
3l?1ffi]
''"""
'f,i?;]o'."