Question: 42. Write instruction to load two unsigned numbers in register B and register C, respectively, subtract C from B, if the result is in 2's



42. Write instruction to load two unsigned numbers in register B and register C, respectively, subtract C from B, if the result is in 2's Complement, convert the result in absolute magnitude and display it at PORT1; otherwise, display the positive result. 45. A bar code scanner scans the boxes being shipped from the loading dock and records all the codes in computer memory; the end of the data is indicated by the byte 00. The code 1010 0011 (A3H) is assigned to 19" television sets. Write a program to count the number of 19" television sets that were shipped from the following data set. Data(H) FA, 67, A3, B8, A3, A3, FA, 00 = 50. Write 8085 ALP to evaluate the following:- Y = Ei=1 X N is stored at memory location 2400H and X;'s are stored at subsequent locations. Store Y at location 2500H and 2501H, You should invoke a subroutine for finding the X2 a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
