Hello,
I am stuck on a lab assignment problem from the book MC68HC11: An Introduction Software and Hardware Interfacing. Here's a link to the specific problem. It's problem L2.7; http://books.google.com/books?id=4J...&hl=en&sa=X&oi=book_result&resnum=2&ct=result
The problem states; Write a program to divide each element of an array by 4. The array has 20 8 bit elements and is stored at $00-$13 for EVBU (the one we are using). To test the program define an array using the directive FCB.
I am thoroughly confused on how to write this program. The book has little information in chapter 2 about arrays and division and I'm not for sure how to even get started on this program. I would greatly appreciate any assistance or guidance on this problem.
Thanks again.
I am stuck on a lab assignment problem from the book MC68HC11: An Introduction Software and Hardware Interfacing. Here's a link to the specific problem. It's problem L2.7; http://books.google.com/books?id=4J...&hl=en&sa=X&oi=book_result&resnum=2&ct=result
The problem states; Write a program to divide each element of an array by 4. The array has 20 8 bit elements and is stored at $00-$13 for EVBU (the one we are using). To test the program define an array using the directive FCB.
I am thoroughly confused on how to write this program. The book has little information in chapter 2 about arrays and division and I'm not for sure how to even get started on this program. I would greatly appreciate any assistance or guidance on this problem.
Thanks again.