Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

1 Storing Birth Date in Hex Month Day Year ORG 1000 Set origin address Storing birth date in hex mon... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Computer organization and architecture designing for performance

Authors: william stallings

8th edition

136073735, 978-0136073734

More Books

Students also viewed these Programming questions

Question

Detailed note on the contributions of F.W.Taylor

Answered: 1 week ago