Question: 1. [5] Write a possible assembly language instruction or set of instructions to accomplish the following: a) Move the word stored at memory location pointed
1. [5] Write a possible assembly language instruction or set of instructions to accomplish the following: a) Move the word stored at memory location pointed to by R6 into register RS b) Compare the upper byte stored in R5 with the byte stored at the memory location pointed to by register R4 c) Check if values in registers R9 and R10 are equal, and if equal, branch to a subroutine called "DOTHIS" d) Branch to instruction at label ZERO' if the lower byte of register R6 is zero e) Jump to the instruction at label 'ODD' if the value in register R7 is an odd number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
