Question: 7. The program in Exercise 4 runs with an input of 37. For Figure 8.14, the DECI trap handler, state the values in registers ah
7. The program in Exercise 4 runs with an input of 37. For Figure 8.14, the DECI trap handler, state the values in registers a–h as four hexadecimal digits and answer the question in (i):
*
(a) A after ANDA at FD98 the first time it executes *
(b) A after ANDA at FD98 the second time it executes *
(c) X after LDWX at FDA1 the first time it executes
(d) X after LDWX at FDA1 the second time it executes
(e) PC after BR at FDA5 the first time it executes
(f) PC after BR at FDA5 the second time it executes (g) A after LDWA at FE96 (h) X before STBX at FEB1, assuming that the carry bit is zero before the trap (i) What statement executes just before LDWA at FE74?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
