Question: (Use RISC-V Assembly Language) Exercise bex3c: A simple telephone directory can be constructed by DC assembler commands as follows: 8 DD dir: DC John DC

 (Use RISC-V Assembly Language) Exercise bex3c: A simple telephone directory can

(Use RISC-V Assembly Language)

Exercise bex3c: A simple telephone directory can be constructed by DC assembler commands as follows: 8 DD dir: DC "John" DC "11111" DC "Nick" DC "22222" DC "Sara" DC "11111" DC "Nick" DC "33333" 0 Create a program that i) asks the user to enter a phone or a name, ii) searches the directory, and iii) reports the found entries. The above process continues in a loop until cancelled. The dialog could be as follows: Enter a phone or a name to search for: John John 11111 Enter a phone or a name to search for:11111 John 11111 Sara 11111 Enter a phone or a name to search for: Nick Nick 22222 Nick 33333 Enter a phone or a name to search for:Cancelled Save your solution as a file named bex3c.asm for possible future use. Exercise bex3c: A simple telephone directory can be constructed by DC assembler commands as follows: 8 DD dir: DC "John" DC "11111" DC "Nick" DC "22222" DC "Sara" DC "11111" DC "Nick" DC "33333" 0 Create a program that i) asks the user to enter a phone or a name, ii) searches the directory, and iii) reports the found entries. The above process continues in a loop until cancelled. The dialog could be as follows: Enter a phone or a name to search for: John John 11111 Enter a phone or a name to search for:11111 John 11111 Sara 11111 Enter a phone or a name to search for: Nick Nick 22222 Nick 33333 Enter a phone or a name to search for:Cancelled Save your solution as a file named bex3c.asm for possible future use

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!