Based on the example for program execution presented in


Assignment

You are required to complete the following assignment for week 1:

1. Drawing on the information in the workshop presentations and required readings for week 1, write a short essay on the common computer architectures and some of the differences between them. (Approx. 750 words)

2. Based on the example for program execution presented in Workshop 1 Presentation 4, write a program to add the numbers 3 and 5. Your program should store number 3 in memory-address 307, and store number 5 in memory-address 304. The result should be stored in memory-address 309.

Explain each step and use diagrams to supplement your answers.

3. Based on the example of a stack program execution as presented this week, use stack operands (e.g. PUSH, POP, MULT, etc.) to subtract 4 from 5. Your program should store number 4 in memory-address 307, and store number 5 in memory-address 304. The result should be stored in memory-address 309.

Explain each step and use diagrams to supplement your answers.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Based on the example for program execution presented in
Reference No:- TGS01569020

Now Priced at $30 (50% Discount)

Recommended (98%)

Rated (4.3/5)