Academic Help Online

1. Why is it necessary to initialize R2 in the character counting example in Section 6.1.4? In other words, in what manner might the program behave incorrectly if the R2 0 step were removed from the routine?
2. Using the iteration construct, write an LC-3 machine language routine that displays exactly 100 Zs on the screen.
3. Using the conditional construct, write an LC-3 machine language routine that determines if a number stored in R2 is odd.

READ ALSO :   Community Assessmest ( HIV population in Forth Myers)