100% found this document useful (2 votes)
5K views

8086 Instructions Hex Code

The document contains a series of assembly language instructions that move data between memory locations and registers and increment or decrement values in registers. Data is first moved to and from memory at location 2000H and registers AX, BX, CX, and DX. The values 2001H and registers SI and DI are then written to memory location 2001H. Finally, the individual bits of registers are incremented and decremented using INC and DEC instructions.

Uploaded by

preetinder_brar
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
5K views

8086 Instructions Hex Code

The document contains a series of assembly language instructions that move data between memory locations and registers and increment or decrement values in registers. Data is first moved to and from memory at location 2000H and registers AX, BX, CX, and DX. The values 2001H and registers SI and DI are then written to memory location 2001H. Finally, the individual bits of registers are incremented and decremented using INC and DEC instructions.

Uploaded by

preetinder_brar
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

MOV [SI], CX 89, 0C

MOV [SI], DX 89, 14


MOV SI, 2000H BE, 00, 20
MOV DI, 2000H BF, 00, 20
MOV AX, [DI] 8B, 05
MOV BX, [DI] 8B, 1D
MOV CX, [DI] 8B, 0D
MOV DX, [DI] 8B, 15
MOV [DI], AX 89, 05
MOV [DI], BX 89, 1D
MOV [DI], CX 89, 0D
MOV [DI], DX 89, 15
MOV AX, 2001 B8, 01, 20
MOV BX, 2001 BB, 01, 20
MOV [2001], AX A3, 01, 20
MOV [2001], BX 89, 1E, 01, 20
MOV [2001], CX 89, 0E, 01, 20
MOV [2001], DX 89, 16, 01, 20
MOV [2001], SI 89, 36, 01, 20
MOV [2001], DI 89, 3E, 01, 20

INC AL FE, C0
INC BL FE, C3
INC CL FE, C1
INC DL FE, C2
INC AH FC, C4
INC BH FC, C7
INC CH FC, C5
INC DH FC, C6
INC AX 40
INC BX 43
INC CX 41
INC DX 42
INC SI 46
INC DI 47
DEC AL FE, C8
DEC BL FE, CB
DEC CL FE, C9
DEC DL FE, CA
DEC AH FE, CC
DEC BH FE, CF
DEC CH FE, CD
DEC DH FE, CE
DEC AX 48
DEC BX 4B
DEC CX 49
DEC DX 4A
DEC SI 4E
DEC DI 4F
INT 3 CC

You might also like