Answered step by step
Verified Expert Solution
Question
1 Approved Answer
EXERCISE 1 Consider the following SIM68 assembly code $1000 de, de de, ae a0, al N(a0), de FOF1 (al), d2 d2, d3 INCR (ae), dl
EXERCISE 1 Consider the following SIM68 assembly code $1000 de, de de, ae a0, al N(a0), de FOF1 (al), d2 d2, d3 INCR (ae), dl d2, FIB(a1) d1, al d3, FIB(al) d1, al d3, d2 d2, d3 al, d1 de, d1 LOOP EXIT (ae), de #0 10 20 2 1 01 02 03 04 05 org main sub movea movea move move move 07 08 09 10 LOOP move 12 13 14 15 16 17 18 19 20 21 move adda move adda add add move blt move trap FIB ds dc 23 24 25 INCR dc FOF1 dc EXIT dc en EXERCISE 2 Write a SIM68 program that does the same task as the program from Exercise 1, but for address values a1 ranging from 0 to 18 (instead of 0 to 20). Your code should contain the following two lines: FIB ds dc 9 18 EXERCISE 4 Write a MC68000 program that does the same task as the program from Exercise 2 with only 16 instructions or less. EXERCISE 1 Consider the following SIM68 assembly code $1000 de, de de, ae a0, al N(a0), de FOF1 (al), d2 d2, d3 INCR (ae), dl d2, FIB(a1) d1, al d3, FIB(al) d1, al d3, d2 d2, d3 al, d1 de, d1 LOOP EXIT (ae), de #0 10 20 2 1 01 02 03 04 05 org main sub movea movea move move move 07 08 09 10 LOOP move 12 13 14 15 16 17 18 19 20 21 move adda move adda add add move blt move trap FIB ds dc 23 24 25 INCR dc FOF1 dc EXIT dc en EXERCISE 2 Write a SIM68 program that does the same task as the program from Exercise 1, but for address values a1 ranging from 0 to 18 (instead of 0 to 20). Your code should contain the following two lines: FIB ds dc 9 18 EXERCISE 4 Write a MC68000 program that does the same task as the program from Exercise 2 with only 16 instructions or less
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started