Question: 6. Write a short assembly language program to clear register r3 if the bit 5 of that register is set. 7. Is the branch shown

6. Write a short assembly language program to clear register r3 if the bit 5 of that register is set. 7. Is the branch shown below taken if the program status register contains 0x40000010? BHI calculate 8. Determine the value of xPSR after the following compare instruction executes. Assume the xPSR, register r1, and register r4 initially contain 0x40000010, 0xFFFFFFFE and 0x00000008 respectively. CMP rl, r4 6. Write a short assembly language program to clear register r3 if the bit 5 of that register is set. 7. Is the branch shown below taken if the program status register contains 0x40000010? BHI calculate 8. Determine the value of xPSR after the following compare instruction executes. Assume the xPSR, register r1, and register r4 initially contain 0x40000010, 0xFFFFFFFE and 0x00000008 respectively. CMP rl, r4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
