Question: Q1: Refer to the LMC program below. What the output of this program and write down what the data storage locations will hold after the
Q1:
Refer to the LMC program below. What the output of this program and write down what the data storage locations will hold after the instruction is complete in each iteration.
Mailbox Contents
| 00 | 518 |
| 01 | 902 |
| 02 | 216 |
| 03 | 317 |
| 04 | 801 |
| 05 | 000 |
| 16 | 1 | DAT |
| 17 | 0 | DAT |
| 18 | 4 | DAT |
Use the following table to write your answer.
| output | Data Storage Locations | ||||
| 16 | 17 | 18 | |||
| at the beginning of program | NA | 1 | 0 | 4 | |
| after 1st iteration | |||||
| after 2nd iteration | |||||
| after 3rd iteration | |||||
| after 4th iteration | |||||
| after 5th iteration |
Q2:
Use your own words to explain how problems from conditional branching in Scalar processing can be handled.
Q3:
Consider the steps required to write a block of data from a disk to memory. Outline the major sequence of I/O events that must occur to make this possible. (There are three major steps).
Q4:
Define Single Instruction, Multiple Data (SIMD). Provide 2 common tasks where SIMD can be applicable.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
