Question: 1. Write a program that fulfills the requirements described below. Take a screenshot of the debugger window (including relevant memory contents) at the end of

1. Write a program that fulfills the requirements described below. Take a screenshot of the debugger window (including relevant memory contents) at the end of program execution.

2. Submit a lab report with the following components:

• Brief paragraph describing your program and any decisions you made in writing it

• Commented code for the program

• Final screenshot of the debugger window

• The written answers to the questions in this lab


PROGRAM REQUIREMENTS

• Use DC.B statements to store the month, day, and year of your birth in hex, starting at memory address $1000.

o For example: January 20, 1986 → In decimal: 01, 20, 86 → In hex: 01, 14, 56

• Use a single instruction to move the birth month into register B.

• Use a single instruction to move the day to memory address $1011.

• Add 1 to the year and store the result in memory address $1003.

• Include comments indicating what each section of the program does

Step by Step Solution

3.46 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 Storing Birth Date in Hex Month Day Year ORG 1000 Set origin address Storing birth date in hex mon... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!