Question: assembly language ; 4. Suppose you have some 32-bit number in register RO. Give the instructions ; that would replace lower half of register RO
assembly language

; 4. Suppose you have some 32-bit number in register RO. Give the instructions ; that would replace lower half of register RO by the value of Ox7777. High ; 16 bits should be remains unchanged. - You may use one additional register to do it. - Your code should works for any number in R6 - Do not use "LDR Rx, =..." command ! MOVW MOVT RO, #Ox658A RO, #OxBBFF Place your code here! Try another way to do it without using any other register (3) MOVW MOVT RO, #Ox5678 RO, #0x1234 -- Place your code here! ; 4. Suppose you have some 32-bit number in register RO. Give the instructions ; that would replace lower half of register RO by the value of Ox7777. High ; 16 bits should be remains unchanged. - You may use one additional register to do it. - Your code should works for any number in R6 - Do not use "LDR Rx, =..." command ! MOVW MOVT RO, #Ox658A RO, #OxBBFF Place your code here! Try another way to do it without using any other register (3) MOVW MOVT RO, #Ox5678 RO, #0x1234 -- Place your code here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
