Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For the following assume that values A, B, C, D, E and F reside in memory. Also assume that instruction operation codes are represented in

For the following assume that values A, B, C, D, E and F reside in memory. Also assume that instruction operation codes are represented in 8 bits, memory addresses are 48 bits, data size is 64 bits, and register addresses are 5 bits. For each instruction set architectures (will follow), how many addresses, or names, appear in each instruction for the code to compute C = A + B, and what is the total code size? Instruction set architectures: Stack: Push A, Push B, Add, Pop C Accumulator: Load A, Add B, Store C Register (register-memory): (Load R1, A), (Add R3, R1, B), (Store R3, C) Register (load-store): (Load R1, A), (Load R2,B), (Add R3, R1, R2), (Store R3,C) *parentheses are only to show separation between items

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_2

Step: 3

blur-text-image_3

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

PC Magazine Guide To Client Server Databases

Authors: Joe Salemi

1st Edition

156276070X, 978-1562760700

More Books

Students also viewed these Databases questions

Question

4. What will the team agreement contain?

Answered: 1 week ago