CSE 30: Homework 2
(Deadline: Wednesday, 14th April, 1999, 11:59pm)
1. Exercise 5 of chapter 2.
The homework will be exercise 5 of chapter 2. You are supposed
to insert
some move instructions at the beginning of the program to load 1 into
a_r
and b_r, 3 into c_r and then 30 into x_r. This will give
data to run the
program. You should use break at your loop label and then run
the program
under gdb, printing out the contents of the registers that hold c and
x.
When you get your program running you should create a file with the
source code, followed by the output from a run of the program with
the gdb
output described above.