Depending on an index sent by an outside device we want to be able to call one of ten subroutines in our 68000 program. For 0 sent we call Sub0, for 1 sent we call Sub1, ., for 9 sent we call Sub9....


Depending on an index sent by an outside device we want to<br>be able to call one of ten subroutines in our 68000 program.<br>For 0 sent we call Sub0, for 1 sent we call Sub1, ., for 9 sent<br>we call Sub9.<br>The subroutine addresses are in a table of longwords,<br>SubAdrs. The index value is passed to our code in d0. Write the<br>code that uses table SubAdrs to make the call to the correct<br>subroutine using only one JSR instruction. State any other<br>assumptions you need.<br>

Extracted text: Depending on an index sent by an outside device we want to be able to call one of ten subroutines in our 68000 program. For 0 sent we call Sub0, for 1 sent we call Sub1, ., for 9 sent we call Sub9. The subroutine addresses are in a table of longwords, SubAdrs. The index value is passed to our code in d0. Write the code that uses table SubAdrs to make the call to the correct subroutine using only one JSR instruction. State any other assumptions you need.

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here