Widny Jean
Newbie level 2
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.