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

Lab Sheets #01

Essmply

Uploaded by

minanessim100
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)
11 views2 pages

Lab Sheets #01

Essmply

Uploaded by

minanessim100
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/ 2

DELTA TECHNOLOGICAL UNVERISITY Microprocessor

Faculty of Technological Industry and Energy Dr. Hassanein Shaban Ahmed


Information Technology Dept.

Lab Sheets #01

[1] Write and run the following program using Emu8086 software, then save the program:
.model small
.stack 64
.DATA
data1 DB 52h
data2 DB 29h
sum DB ?
.CODE
MAIN PROC FAR
MOV AX,@DATA
MOV DS,AX
MOV AL,data1
MOV BL,data2
ADD AL,BL
MOV sum,AL
MOV AH,4CH
INT 21H
MAIN ENDP
END MAIN

[2] Write and run the following program using Emu8086 software, then save the
program:
.MODEL SMALL
.STACK 64
.DATA
xx1 Dw 0AFh
yy1 Dw 96h
zz1 Dw ?
.CODE
MAIN PROC
mov ax,@data
mov ds,ax
mov ax,xx1
add ax,yy1
mov zz1,ax
mov ax,4c00h
int 21h
MAIN ENDP
END MAIN

|Page1
[3] Write and run the following program using Emu8086 software, then save the
program:
.MODEL SMALL
.STACK 64
.DATA
xx1 Dw 0FFFEh
.CODE
MAIN PROC
mov ax,@data
mov ds,ax
mov ax,xx1
NEG ax
mov ah,4ch
int 21h
MAIN ENDP
END MAIN

[4] Write and run the following program using Emu8086 software, then save the program:
.model small
.stack 100h
.data
A DB ?
B DB ?
C DB ?
.code
Main proc
MOV AX,@data
MOV DS,AX
MOV A, 10h
MOV B, 20h
MOV AL, A
ADD AL, B
MOV C, AL
MOV AH,4Ch
INT 21h
Main endp
END main

|Page2

You might also like