Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedimage text in transcribedimage text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Outlook 2023

Authors: James Holler

1st Edition

B0BP9P1VWJ, 979-8367217322

More Books

Students also viewed these Databases questions