Question: Please provide me with written solution please to facilitate my learning! I will up your feedback! thank you! ( a ) What constant value would

Please provide me with written solution please to facilitate my learning! I will up your feedback! thank you!
(a) What constant value would be loaded into registers r0,r1,r2,r3 and r 4 after
executing the following instructions?
(i) MOV r0, #0xFB,24
(ii) MOV r1, #0xA5,20
(iii) MOV r2, #0x2C,18
(iv) MVN r3, ##0x4F,28
(v) MVN r4, ##0xE6,26
(10 Marks)
Note: Question No.3 continues on page 3.
2
EE3002
(b) Figure 1 shows an ARM assembly program, which finds the most negative value
in a list of 32-bit (word) values in a data memory (LIST). The values are in two's
complement representations. By examining the program, answer the following
questions.
(i) Find the errors in the program and make necessary corrections. Do not insert
any additional line in the program.
(ii) How many bytes does the program occupy?
(iii) What are the values loaded in the registers r0,r2 and r 3?
(iv) Determine the values of the flags N,Z,C,V.
Figure 1
Please provide me with written solution please to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!