Widny Jean
Newbie level 2
- Joined
- Dec 5, 2014
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 14
Using HC11 instruction set
Write a program code to calculate the average of 7 numbers
requirements:
-The program should start at address $0000
-Assume that the 8 bit numbers are stored at the starting location of $00A0
-Use accumulator B as the counter
-Use indexed addressing to access the numbers
-Store the final result at location $00AB (Must use indexed addressing)
~Explanations and recommended software to run similar programs would be appreciated.
Write a program code to calculate the average of 7 numbers
requirements:
-The program should start at address $0000
-Assume that the 8 bit numbers are stored at the starting location of $00A0
-Use accumulator B as the counter
-Use indexed addressing to access the numbers
-Store the final result at location $00AB (Must use indexed addressing)
~Explanations and recommended software to run similar programs would be appreciated.