Question: a) Explain the steps that a processor performs in order to execute an instruction according to the Von-Neuman model. In addition explain why we need

a) Explain the steps that a processor performs in order to execute an instruction according to the Von-Neuman model. In addition explain why we need to have a Program Counter (PC).

6 Marks

b) Explain what a load-store architecture is, including one benefit and one drawback. In addition, provide and explain three assembly instructions (1 for data operations, 1 for control flow, and 1 for memory operations) of the ARM architecture.

7 Marks

c) Write a small ARM assembly program that prints a String stored in memory in reverse character order. If for example the String in memory is Hello then the program should print olleH. The last character of the string should be followed by a byte with the numerical value zero, i.e., the string is null terminated. You should assume that the SuperVisor Call SVC 0 prints the character in R0.

12 Marksa) Explain the steps that a processor performs in order to execute

QUESTION 1 a) Explain the steps that a processor performs in order to execute an instruction according to the Von-Neuman model. In addition explain why we need to have a Program Counter (PC). 6 Marks b) Explain what a load-store architecture is, including one benefit and one drawback. In addition, provide and explain three assembly instructions (1 for data operations, 1 for control flow, and 1 for memory operations) of the ARM architecture. 7 Marks C) Write a small ARM assembly program that prints a String stored in memory in reverse character order. If for example the String in memory is "Hello" then the program should print "olleH". The last character of the string should be followed by a byte with the numerical value zero, i.e, the string is null terminated. You should assume that the Supervisor Call SVC O prints the character in RO

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 Databases Questions!