Lab3 Msi
Lab3 Msi
Lab3 Msi
Subtract:-
MOV AX, 0F864H
MOV BX, 0E984H
SUB AX, BX
HLT
Incrimant:-
MOV AX, 8
INC AX
HLT
Decrimant:-
MOV AX, 8
DEC AX
HLT
2’s complimant:-
MOV AX, 3
NEG AX
HLT
Multiply:-
8-bit multiplication:-
MOV AL, 230
MOV BL, 165
MUL BL
HLT
16-bit multiplication:-
MOV AX, 56
MOV BX, 128
MUL BX
HLT
LAB TASK-2:-
MOV AX, 1254
MOV BX, 0B812H
MOV CX, 9067
MOV DX, 0ADC3H
ADD AX, BX, CX, DX
MOV DI, AX
HLT
LAB TASK-3:-
MOV AH, 12
MOV BH, 12
MUL BH
MOV DX, 0AH
HLT
LAB TASK-5:-
MOV AL, 7
MOV DL, 7
MUL DL
MUL DL
HLT
LAB TASK-6:-
MOV AL, 2
MOV BH, 4
MUL BH
MOV DL, 2
DIV DL
HLT
LAB TASK-8:-
MOV AH, 10
MOV AL, AH
MOV BH, 9
MUL BH
MOV DL, 5
DIV DL
MOV CX, 32
ADD AX, CX
HLT