Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please answer atleast the combination of 4.3 and 4.4 c or 4.4c and 4.5 For problems that require development of a program test the solutions
please answer atleast the combination of 4.3 and 4.4 c or 4.4c and 4.5
For problems that require development of a program test the solutions with data values selected to cover the widest possible range of situations. For problems which require the development of only part of a program devise a test program with additional instructions to enable the partial program to be fully tested. a)What ADD r3, r5, r12 is executed what happens to the value that was in r3? b) What is the effect (result) of executing add r3, r5, r5 ? c) What is the effect (result) of executing ADD r3, r3, r3 ? a) When MOV e11, r2 is executed what happens to the value that was in r 11? b) What is the effect (result) of executing MOV r4, #28 ? c) What is the effect (result) of executing MOV r3, r3 ? Prepare a program to add together the numbers 127 decimal, 0xe45ad hexadecimal and 2_10101110010 binary (ARM assembly language uses prefix 2_ to indicate a number in base 2). Using a development system, assemble your program, repeatedly correct it and assemble again until there are no errors. Test that the program behaves correctly. What is the total obtained? a) Assume that register r2 holds the value 0x0f45, what is the value in register r5 after the execution of the instruction SUB r5, r2, #209 ? b) Assume that register r2 holds the value 0x045, what is the value in register r5 after the execution of the instruction RSB r5, r2, #209 ? c) What problems arise when register r2 holds 0x0f45 and the instruction RSB r5, r2, #209 is executed? What will be the value in register r5 after the execution of this instruction? a) What is the value in register r8 after the execution of the instruction MNV r8, #0xf4 ? b) Assume that register r3 holds the value 0x045 and r10 holds 0xffff; what is the value in register r3 after the execution of the instruction ADD r3, r3, r10 ? Describe the form of the value that will be in register r6 after the execution of the instruction ADD r6, r6, #1Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started