Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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. When ADD r3, r5, r12 is executed what happens to the value that was in r3? What is the effect (result) of executing ADD r3, r5, r5? What is the effect (result) of executing ADD r3, r3, r3? When MOV r11, r2 is executed what happens to the value that was in r11? What is the effect (result) of executing MOV r4, #28? 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? 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? 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 2, c) What problems arise when register r2 holds 0x0 and the instruction RSB r5, R2, #209 is executed? What will be the value in register r5 after the execution of this instruction? What is the value in register r8 after the execution of the instruction MVN r8, #0xf4? Assume that register r3 holds the value 0x045 and r10 holds 0xffff; what is the value in register 13 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

Step: 3

blur-text-image

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

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions