Write an assembly language program to load register a with


1. Write an assembly language program to load Register A with number 7, and Register B with number 8. Add these two registers.

A. Copy and paste the source code.

B. Single step the lines (as described in the CodeWarrior Tutorial) to load the numbers into Registers A and B. Copy and paste the IDE register window showing the value of A and B.

C. Copy and paste the IDE register window after adding the two numbers.

D. Copy and paste the Assembly Window showing the machine code. The CodeWarrior tutorial describes how to display the machine code in this window.

2. Write an assembly language program to add all of the digits of your D#.

A. Copy and paste the source code.

B. Copy and paste the IDE register window, showing the value of final result (in hex).

C. Copy and paste the IDE register window showing the value of final result (in decimal). Right-clicking on the register window and selecting format -> Dec will show the values in decimal.

D. What are the values of the zero and carry flag after all digits are added?

Request for Solution File

Ask an Expert for Answer!!
Other Engineering: Write an assembly language program to load register a with
Reference No:- TGS01085549

Expected delivery within 24 Hours