EE 308
Homework Assignment 2
Due Jan. 30, 1998
- Consider the program of Figure 1 of Lab 2.
- Hand assemble this program. Determine the hexadecimal
numbers which will be generated when this program is assembled, and at what
locations they will be stored in the HC11. For example, the first instruction
ldaa #12
will result in
addr code
0x0100 0x86
0x0101 0x0C
- How many instruction cycles will it take the HC11 to execute this program?
How long will this take on an HC11 with a 2 MHz E-clock?
- Consider the program of Figure 3 of Lab 2.
How many instruction cycles will it take to execute this
program? How long will this take on your EVBU?
- Problem E1.15. Use your Programming Reference Guide rather than Table
1.5.
- Problem E1.16. Use your Programming Reference Guide rather than Table
1.5.
- Problem E1.18. Use your Programming Reference Guide.
- Problem E1.21.
- Problem E1.22.
- Problem E2.6. (Hint: Use the ADDD instruction.)
- Problem E2.11.
- Problem E2.12. Note that the result must be accumulated in a 16-bit
register. (Hint: Use the ABX or ABY instruction.)
Bill Rison,
<rison@ee.nmt.edu >