0% found this document useful (0 votes)
50 views

Iqra University CAAL Lab Assignment 1 Name: Farrukh Abbasi Id: 10424

This document contains instructions for three assembly language programming assignments for a computer architecture and assembly language (CAAL) lab class. The first assignment asks the student to print three lines of text. The second assignment is to write a program that adds 1493 and 4563 and stores the result in the DX register. The third assignment is to write a program that prompts the user to enter two single-digit numbers, adds them together, and displays the output.

Uploaded by

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

Iqra University CAAL Lab Assignment 1 Name: Farrukh Abbasi Id: 10424

This document contains instructions for three assembly language programming assignments for a computer architecture and assembly language (CAAL) lab class. The first assignment asks the student to print three lines of text. The second assignment is to write a program that adds 1493 and 4563 and stores the result in the DX register. The third assignment is to write a program that prompts the user to enter two single-digit numbers, adds them together, and displays the output.

Uploaded by

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

IQRA UNIVERSITY

CAAL Lab Assignment 1

Name: FARRUKH ABBASI


Id: 10424

1-Generate an assembly program that prints these string sin the following manner (lab 7):

In IQRA UNIVERSITY
Exams are near
Kindly, prepare for exams.
2-Design a proper assembly program to add 1493+4563 and save the result in DX register
(lab session 8).
3-Design a program which asks user to enter two numbers of 1 digit each, adds it and
displays its output. Remembering for entering a number you have to sub al,30H to convert
ASCII character into number where as ENTER DIGIT is printed string in assembly language
(lab 8)

Eg.

You might also like