Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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, #1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Using Entity Relationship Diagrams

Authors: Sikha Saha Bagui, Richard Walsh Earp

3rd Edition

103201718X, 978-1032017181

More Books

Students also viewed these Databases questions

Question

consider your role and influences as a researcher;

Answered: 1 week ago

Question

Discuss the states of accounting

Answered: 1 week ago