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

Assignment 2

This document outlines an assignment for the Computer Organization and Assembly Language course at the University of Central Punjab. It includes instructions for submission, grading penalties for late submissions, and two specific problems related to BCD counting and ASCII character analysis. Students are required to complete the assignment on designated sheets and follow the outlined guidelines to avoid mark deductions.

Uploaded by

Narmeen Javed
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)
6 views2 pages

Assignment 2

This document outlines an assignment for the Computer Organization and Assembly Language course at the University of Central Punjab. It includes instructions for submission, grading penalties for late submissions, and two specific problems related to BCD counting and ASCII character analysis. Students are required to complete the assignment on designated sheets and follow the outlined guidelines to avoid mark deductions.

Uploaded by

Narmeen Javed
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

University of Central Punjab

Faculty of Information Technology and Computer Science

Course Title: Computer Organization and Assembly Language


(Theory)
Course Code: CSCS3543

Assignment 1

Name: _______________________________

Registration Number: ___________________

Section: ______________________________

CLO # Course Learning Outcome (CLO) Taxonomy Mapping


Level to PLO

2 Implement assembly programs for the intel 8088/8086 architecture. C3 4

Instructions:
1. Attempt all questions.
2. Write your answer showing all steps required to perform the task.
3. Assignment must be solved on A4 sheets or Assignment sheets only. Violation will result to deduction
of 1 mark from the scored marks. Submissions will be made either via portal or in the class.
4. Each student will have attached this front page with his/her assignment. Violation will result to
deduction of 1 mark from the scored marks.
5. Due Date for Assignment is:
6. Late submission will result in 10% deduction in marks.
7. No request for late submissions will be considered after two working days of the deadline.
8. No request to review assignment will be considered after 3 working days of the review in class.
Problem 1 ____ Marks: 10

Apply your knowledge of BCD counting to design a counter that counts up from 99 to 0. Given the following code
snippet, determine the instruction(s) needed to complete the functionality in the dotted area to ensure proper BCD
incrementation:

SUB AL, AL ; Clear the AL register


ADD AL, 1 ; Increment AL by 1
..... ......

What instruction(s) would you place in the dotted area to maintain the count in valid BCD format?

Problem 2 ____ Marks: 10

Analyze and determine the precise offset location of each ASCII character or data within the following data structure
or memory layout.

ORG 20H

DATA1 DB '1-800-555-1234'

ORG 40H

DATA2 DB 'Name: John Jones'

ORG 60H

DATA3 DB '5956342'

ORG 70H

DATA4 DW 2560H,1000000000110B

You might also like