Question: Write a program which prompts user to enter a character, if the user presses W , the programcalls a subroutine which loads a value $

Write a program which prompts user to enter a character, if the user presses W, the programcalls a subroutine which loads a value $3D in register A, XORs register A with $6F and displays the result in hexadecimal result on screen. 2) Write a program which prompts user to enter a character, if the user presses X, the program calls a subroutine which loads a value $3D in register A,logically shift left register A and displays the result in hexadecimal result on screen. 3) Write a program which prompts user to enter a character, if the user presses Y, the programcalls a subroutine which loads a value $3B in register A,arithmetically shifts right register A and displays the result in hexadecimal result on screen.

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 Programming Questions!