please program this question in assembly language
Write a 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. LC3 Console Enter a character to search for: i 13 occurrences found. —– Halting the processor —– 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; .FILL x6c; .FILL X69;i .FILL X61 ;a .FILL xodim .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 ;EOT TRAP X25 .END Show transcribed image text Write a 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. LC3 Console Enter a character to search for: i 13 occurrences found. —– Halting the processor —–
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; .FILL x6c; .FILL X69;i .FILL X61 ;a .FILL xodim .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 ;EOT TRAP X25 .END
Expert Answer
Answer to Write a program to count occurrences of a character in a file Character to be input from the keyboard. Result to be disp…