EE 447 HW 1 Due 26 October 2011
1. Write a M68HC11 program to transfer 128 bytes from a block starting from $00AB to another block starting at $00CA. The program should execute in less than 1ms.
2. Assume ACCA = $A9 and the NCZ bits are 100, initially. Gi
Homework 1 Solutions
Q1) 3 pts
A possible solution:
In this question, there is a timing constraint. Therefore, it can be a good idea to use index
register X both for relative addressing and as a counter. Moreover, the block that will be transf erre
EE 447 Assistants
EE-447 HOMEWORK 2 SOLUTION KEY
In this question, there are 3 possible states in one loop of whole program. The first state is that the
number is less than the array cell. The second is that the number is equal to array cell.