Question: EXERCISE 1 Consider the following SIM68 assembly code 01 02 03 04 05 86 07 08 09 10 $1000 de, de de, ae ae, al

 EXERCISE 1 Consider the following SIM68 assembly code 01 02 03

EXERCISE 1 Consider the following SIM68 assembly code 01 02 03 04 05 86 07 08 09 10 $1000 de, de de, ae ae, al N(a0), de FOF1 (a1), d2 d2, d3 INCR(ae), d1 d2, FIB (a1) di, al d3, FIB(al) di, al d3, d2 d2, d3 al, d1 de, d1 LOOP EXIT(ae de org main sub novea novea nove LOOP nove nove adda nove adda add add 12 13 14 15 16 17 18 19 20 21 blt nove trap FIB ds 10 20 dc 23 24 25 INCR dc FOF1 dc EXIT dc 1. What is the memory location (address) of label N? 2. What is the content of MEMIFIB], MEM[FIB+2], MEMIFIB+4] MEMIFIB+18] when the program terminates? What does the code do? What are the values taken by (de, dl, d2, d3) when the program terminates? 3. 4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!