Assignment 2
Assignment 2
Assignment 1
Name: _______________________________
Section: ______________________________
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:
What instruction(s) would you place in the dotted area to maintain the count in valid BCD format?
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
ORG 60H
DATA3 DB '5956342'
ORG 70H
DATA4 DW 2560H,1000000000110B