You are on page 1of 5

MOV AX, [add(HL)h]

[add(H)]
MOV AX, [1100h]
MOV [add(HL)h], AX
[add(H)]
MOV [1122h], AX
MOV AX, 16-bit data
[data(H)]
MOV AX, 1234h
MOV BX, [add(HL)h]
[add(H)]
MOV BX, [1100h]
MOV [add(HL)h], BX
[add(H)]
MOV [1122h], BX
MOV BX, 16-bit data
[data(H)]
MOV BX, 1234h
MOV CX, [add(HL)h]
[add(H)]
MOV CX, [1100h]
MOV [add(HL)h], CX
[add(H)]
MOV [1122h], CX
MOV CX, 16-bit data
[data(H)]
MOV CX, 1234h
MOV DX, [add(HL)h]
[add(H)]
MOV DX, [1100h]
MOV [add(HL)h], DX
[add(H)]
MOV [1122h], DX
MOV DX, 16-bit data
[data(H)]
MOV DX, 1234h
MOV SI, [add(HL)h]
MOV SI, [1100h]
MOV [add(HL)h], SI
[add(H)]
MOV [1122h], SI
MOV SI, 16-bit data
MOV SI, 1234h
MOV DI, [add(HL)h]
MOV DI, [1100h]
MOV [add(HL)h], DI
[add(H)]
MOV [1122h], DI
MOV DI, 16-bit data
[data(H)]
MOV DI, 1234h
MOV AX,1100H[BX]
MOV AX,1100H[BX+2]

A1 [add(L)]
A1
A3

00
11
A3 [add(L)]
22
B8 [data(L)]

11

B8 34
12
8B IE [add(L)]
8B IE 00
11
89 IE [add(L)]
89 IE 22
11
BB [data(L)]
BB 34
12
8B 0E [add(L)]
8B 0E 00
11
89 0E [add(L)]
89 0E 22 11
B9 [data(L)]
B9 34
12
8B 16 [add(L)]
8B 16 00
11
89 16 [add(L)]
89

I6 22 11
BA [data(L)]

BA 34
12
8B 36 [add(L)] [add(H)]
8B 36 00
11
89 36 [add(L)]
89 36 22 11
BE [data(L)] [data(H)]
BE 34
12
8B 3E [add(L)] [add(H)]
8B 3E 00
11
89 3E [add(L)]
89 3E 22
11
BF [data(L)]
BF 34
8B

87
8B

00 11
87 02

12
11

MOV 1100H[BX], AX
MOV 1100H[BX+2],AX
MOV AL, 8-bit data
MOV AL, 12h
MOV AH, 8-bit data
MOV AH, 21h
MOV AL, [add(HL)h]
[add(H)]
MOV AL, [1100h]

89
89

MOV [add(HL)h], AL
[add(H)]
MOV [1122h], AL

A0 00

11
11

B7
8A
8A
8A
88
8A

11
23
3E

B3 23
1E
34
B1 23
0E
34
0E
34
B2 23
16
34

34
12
12
12
12

A2 [add(L)]
A2 22

MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV

AX,BX
AX,CX
AX,DX
BX,AX
BX,CX
BX,DX
CX,DX
CX,AX
CX,BX
DX,AX
DX,BX
DX,CX

8B
8B
8B
8B
8B
8B
8B
8B
8B
8B
8B

C3
C1
C2
D8
8B D9
DA
CA
C8
CB
D0
D3
D1

MOV
MOV
MOV
MOV
MOV
MOV

AX,[BX]
[BX],AX
AX,[SI]
AX,[DI]
CX,DI
DI,CX

8B
89
8B
8B
8B
8B

07
07
04
05
CF
F9

MOV
MOV
MOV
MOV

SI,DI
SI,[DI]
DI,SI
DI,[SI]

8B
8B
8B
8B

MOVSB
MOVSW

00
02

B0 [data(8-BIT)]
B0 12
B4 [data(8-BIT)]
B4 21
A0 [add(L)]

MOV BH,23H
MOV BH,[1234H]
MOV BL,23H
MOV BL,[1234H]
MOV CL,23H
MOV CL,[1234H]
MOV [1234H],CL
MOV DL,23H
MOV DL,[1234H]

87
87

F7
35
FE
3C
A4

A5

11

12

ADD AX,1234H
ADD AX,[1234H]
ADD [1234H], AX
ADD [1234H], 5678H
78 56
ADD
ADD
ADD
ADD
ADD

AX,BX
AX,CX
AX,DX
AX,SI
AX,DI

05 43 12
03 06 34 12
01 06 34 12
81 06 34 12
03
03
03
03

C3
C1
C2
03
C7

C6

add BX,1234h
12
add BX,[1234h]
12

81

C3

03

1E

add CX,1234h
12
add CX,[1234h]
12

81

C1

34

03

0E

34

add
12
add
12
add
12
add
12

DX,1234h

81

C2

34

DX,[1234h]

03

SI,1234h

81

C6

34

SI,[1234h]

03

36

34

add SI,1234h

81

C7

add DI,[1234h]

03

3E

SUB AX,BX
SUB AX,CX
SUB AX,DX
SUB AX,SI
SUB AX,DI
SUB AX,1234H
SUB AX,[1234H]
SUB [1234H], AX
SUB [1234H], 5678H
78 56
DIV AX
DIV BX
DIV [1234h]
DIV BH
DIV CX
DIV [SI]
IDIV BH
IDIV CX

2B
2B
2B
2B
2D
2B
29

F6
F6
F6
F6
F7

C3
C1
C2
2B
C7
43
06
06
81
F7
F7
36
F7
F7
34
FF
F9

16

34
34

34

C6
12
34 12
34 12
2E
34 12
F0
F3
34 12
F1

IDIV [SI]
MUL AX
MUL BX
MUL [1234h]
12
MUL BH
MUL CX
MUL [SI]
IMUL BH
IMUL CX
IMUL [SI]
STOSB
STOSW
CLD
CMP AX,[1234H]
CMP AX,1234H
CMP [1234H],4567H
67
45
CMP BX,[1234H]
CMP BX,1234H
12
CMP CX,[1234H]
CMP CX,1234H
12
CMP DX,[1234H]
CMP DX,1234H
12
CMP SI,[1234H]
CMP SI,1234H
12
CMP DI,[1234H]
12
CMP DI,1234H
CMP AX,BX
CMP AX,CX
CMP AX,DX
CMP AX,SI
CMP AX,DI
CMP AX,[BX]
CMP AX,[SI]
CMP AX,[DI]
CMP AX,1234H[BX]
CMP AX,1234H[BX+2]
12
INC
INC
INC
INC
INC
INC

AX
BX
CX
DX
AL
AH

F6

3C

F7

E0
F7
F6

F6

E3
26

E7
F7

F6
F6
F7
F6

34
E1

24
E4
E9
2C
AA
AB

FC
06

34
12
3D 34
81 3E

12
34

12

3B

IE 34
12
81
FB 34

3B

0E 34
12
81
F9 34

3B

I6 34
12
81
FA 34
3B
81

36
FE
3B

3B
3B
3B
3B
3B
3B
3B
3B

81
C3
C1
C2
C6
C7
3B
04
05
87
3B
40
43
41
42
FE
FE

34
34
3E

FF

12
34

34

07
34
87

C0
C4

12
36

12

INC
INC
INC
INC
INC
INC

BL
BH
CL
CH
DL
DH

INC SI
INC DI
NOP
XCHG
XCHG
XCHG
XCHG
XCHG
XCHG

FE
FE
FE
FE
FE
FE

C3
C7
C1
C5
C2
C6

46
47
90
AX,BX
AX,CX
AX,DX
SI,DI
AX,1234H[BX]
AX,1234H[BX+2]

93
91
92
87

F7
87 87
87 87

34
36

OUT 16H,AL
OUT 16H,AX

E6
E7

16
16

LOOP label
JNC label
JC label
HLT

E2 distance_label
73 distance_label
72 distance_label
F4

12
12