Question: DO QUESTION 2 please e) Jump to the instruction at label 'ODD' if the value in register R7 is an odd number 2. [5] Write
DO QUESTION 2 please
e) Jump to the instruction at label 'ODD' if the value in register R7 is an odd number 2. [5] Write an assembly language program to add the two halves (upper and lower bytes) of register R5. The program should store the result in the upper byte of register R6, and clear the lower byte of R6. The program is expected to preserve the data of register R5. Please write clearly and include comments. e) Jump to the instruction at label 'ODD' if the value in register R7 is an odd number 2. [5] Write an assembly language program to add the two halves (upper and lower bytes) of register R5. The program should store the result in the upper byte of register R6, and clear the lower byte of R6. The program is expected to preserve the data of register R5. Please write clearly and include comments
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
