Question: Question 9 ( 6 points ) Given two 8 bit integers x and Y stored on the HC 1 1 computer at the memory locations

Question 9(6 points)
Given two 8 bit integers x and Y stored on the HC11 computer at the memory
locations $0000 and $0001, write an HC11 program that writes to the memory
location $0002 the larger of the two numbers. For example, if the value of x is 7 and
the value of Y is also 5, the HC11 program should write 7 to the memory location
$0002 resulting in the memory contents AFTER the execution of your program as
shown below (all values are in hex):
Assume your program is to be stored at memory locations starting at the memory
address $E000 hexadecimal. The last instruction of your program should be the NOP
instruction.
Show your program:
as HC11 assembly language mnemonics, and
exactly as it would be stored in memory locations starting at $E000, using the
hexadecimal notation.
Question 9 ( 6 points ) Given two 8 bit integers

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!