Question: Assignment 3 1. [30 pts) Write a 68000 assembly code that searches for a certain character in a text stored in the memory and counts
Assignment 3 1. [30 pts) Write a 68000 assembly code that searches for a certain character in a text stored in the memory and counts its occurrences in that text. The code should use TRAP instruction to prompt the user to enter the character he/she wants to search for, finds how many times it occurs in the text, then prints a message with the result on the screen. The code should also give the user the choice to enter another character if he/she wants or exit the search
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
