Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q4. (12 points) Consider the problem x = remainder(A*B)/C), where A, B and C are integer numbers stored at decimal addresses 900, 901 and 902,

image text in transcribed

Q4. (12 points) Consider the problem x = remainder(A*B)/C), where A, B and C are integer numbers stored at decimal addresses 900, 901 and 902, and x at address 910. Use 41io, 81io, 50io as A, B and C to demonstrate sample data. Using the IAS instruction set: a. Write a pseudocode algorithm describing the low-level steps of your solution. LOAD MQ with A MULT AC by B DIV AC by C STORE AC in x b. Write the corresponding program, showing how it is stored in memory. Use a four-column table where the first column is the hexadecimal address, the second column is the binary code stored at this address (whole 40 bit words), the third column is its hexadecimal equivalent, and the fourth column is the symbolic representation (a number or two instructions). The program starts at (decimal) address 500. Q4. (12 points) Consider the problem x = remainder(A*B)/C), where A, B and C are integer numbers stored at decimal addresses 900, 901 and 902, and x at address 910. Use 41io, 81io, 50io as A, B and C to demonstrate sample data. Using the IAS instruction set: a. Write a pseudocode algorithm describing the low-level steps of your solution. LOAD MQ with A MULT AC by B DIV AC by C STORE AC in x b. Write the corresponding program, showing how it is stored in memory. Use a four-column table where the first column is the hexadecimal address, the second column is the binary code stored at this address (whole 40 bit words), the third column is its hexadecimal equivalent, and the fourth column is the symbolic representation (a number or two instructions). The program starts at (decimal) address 500

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

Database Systems For Advanced Applications 9th International Conference Dasfaa 2004 Jeju Island Korea March 2004 Proceedings Lncs 2973

Authors: YoonJoon Lee ,Jianzhong Li ,Kyu-Young Whang

2004th Edition

3540210474, 978-3540210474

More Books

Students also viewed these Databases questions

Question

If you were Joe Melcan, what would you do?

Answered: 1 week ago

Question

Technology. Refer to Case

Answered: 1 week ago