0% found this document useful (0 votes)
12 views2 pages

Exp 3

Microprocessor and Computer Architecture Lab3

Uploaded by

Eayashen Arafat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views2 pages

Exp 3

Microprocessor and Computer Architecture Lab3

Uploaded by

Eayashen Arafat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Experiment No.

03:
Familiarize with assembly language program containing arithmetic operations, execution of
the program in single step mode and verification of the results.

Program:

MOV AX, 0001H


ADD AX, 6789H
STC
ADC AX, 0488H
;
SUB AX, 156FH
STC
SBB AX, 080FH
;
MOV AX, 00FEH
INC AL
DEC AL
CBW
NEG AL
;
MOV AL, F0H
MOV BL, 11H
MUL BL
;
MOV AX, F000H
MOV BX, 1234H
IMUL BX
;
MOV AX, 00F0H
MOV BL, 10H
DIV BL
;
MOV AX, −205
MOV BL, 4
IDIV BL
;
HLT

After executing the program in single step mode, fill up the data table and verify the results.
Report:
1. Discuss the effect of each instruction/ mnemonics that is used in this program.

You might also like