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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!