8. Develop the pseudo-code below for a program that will retrieve 2 bytes (NUM1 and NUM2) from memory, determine which is closest to the numeric value 50, and indicate the result by setting a variable named ?CLOSEST? to 1 (if 1st byte is closest) or 2 (if 2nd byte is closest).9. Write the assembly language program steps below to perform the operation in Problem 8.10. Given the value 7810 and 3110 for NUM1 and NUM2 used in Problems 8 and 9, predict how each instruction in Problem 9 will affect memory and/or internal register contents.

Leave a Reply

Your email address will not be published.