Write a LC3 program to count occurrences of a character in a file Character to be input from the keyboard. Result to be displayed on the monitor. Program only works if no more than 9 occurrences are found.
Here is the data I used for the screen print above. It is not the data I will use to grade your project.
.ORIG x4000.FILL x57 ;W.FILL x69 ;i.FILL x6c ;l.FILL x6c ;l.FILL x69 ;i.FILL x61 ;a.FILL x6d ;m.FILL x20 ; space.FILL x54 ;T.FILL x2e ;..FILL x20 ; space.FILL x4d ;M.FILL x69 ;i.FILL x6e ;n.FILL x6b ;k.FILL x04 ;EOTTRAP x25.END
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here