Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
3 views3 pages

Expt 5

The document outlines an experiment for a Computer Organization Lab at SCTR's Pune Institute of Computer Technology. It includes a code snippet for implementing arithmetic instructions using assembly language for the 8086 microprocessor. The code demonstrates basic arithmetic operations such as addition, subtraction, multiplication, and division.

Uploaded by

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

Expt 5

The document outlines an experiment for a Computer Organization Lab at SCTR's Pune Institute of Computer Technology. It includes a code snippet for implementing arithmetic instructions using assembly language for the 8086 microprocessor. The code demonstrates basic arithmetic operations such as addition, subtraction, multiplication, and division.

Uploaded by

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

SCTR’s Pune Institute of Computer Technology, Pune

Department of Electronics and Computer Engineering

Computer Organization Lab


Name of the student: Roll No.:

Div: Batch:

Date of performance: Date of submission:

Experiment No. 5

Code:
;Arithmetic Instructions using AL
;Implement arithmetic instructions using ALP for the 8086 microprocessor
.model small
.stack 100h
.data
num1 dw 6423h
num2 db 67h
num3 db 34h
.code
main proc
mov ax,@data
mov ds, ax
mov al, num2
mov bl, num3
add al,bl
sub al,bl
mul bl
mov ax, num1
mov bl,num2
div bl
int 3
mov ax, 4C00h
int 21h
main endp
end main
SCTR’s Pune Institute of Computer Technology, Pune
Department of Electronics and Computer Engineering

Output:
SCTR’s Pune Institute of Computer Technology, Pune
Department of Electronics and Computer Engineering

You might also like