Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment No . 3 - Chapter 1 2 ( 1 0 th edition ) Review Questions: Question# 1 ( Q 1 2 . 1 P

Assignment No.3- Chapter 12(10th edition)
Review Questions:
Question#1(Q12.1 P446)
What are the typical elements of a machine instruction?
Answer#1(NAME1, NAME2):
Question#2(Q12.2 P446)
What types of locations can hold source and destination operands?
Answer#2(NAME1, NAME2):
Question#3(Q12.11 P446)
List three possible places for storing the return address for a procedure return.
Answer#3(NAME1, NAME2):
Question#4(Q12.14 P446)
What is the difference between big endian and little endian? Support your answer with examples for the two types.
Answer#4(NAME1, NAME2):
Chapter 12(10th edition):
Problems:
Problem#1(P12.3 P446-447)
A given microprocessor has words of 1 byte. What is the smallest and largest integer that can be represented in the following representations?
a. Unsigned
b. Sign-magnitude.
c. Unsigned packed decimal.
d. Signed packed decimal.
Answer#1(NAME1, NAME2):
Problem#2(P12.3 P446-447)
Compare zero-, one-, two-, and three-address machines by writing programs to compute X =(A + B * C)/(D - E * F) for each of the four machines. The instructions available for use are as follows:
Answer#1(NAME1, NAME2):
Assignment No.4- Chapter 13(10th edition):
Review Questions:
Question#1(Q13.8 P484)
What is the advantage of autoindexing?
Answer#1(NAME1, NAME2):
Question#2(Q13.9 P484)
What is the difference between postindexing and preindexing? Provide your answer with examples.
Answer#2(NAME1, NAME2):
Question#3(Q13.11 P484)
What are the advantages and disadvantages of using a variable-length instruction format?
Answer#3(NAME1, NAME2):
Chapter 13(10th edition):
Problems:
Problem#1(P13.2 P485)
Let the address stored in the program counter be designated by the symbol X1. The instruction stored in X1 has an address part (operand reference) X2. The operand needed to execute the instruction is stored in the memory word with address X3. An index register contains the value X4. What is the relationship between these various quantities if the addressing mode of the instruction is (a) direct; (b) indirect; (c) PC relative; (d) indexed?
Answer#1(NAME1, NAME2):
Problem#2(P13.4 P485)
Consider a 16-bit processor in which the following appears in main memory, starting at location 200:
The first part of the first word indicates that this instruction loads a value into an accumulator. The Mode field specifies an addressing mode and, if appropriate, indicates a source register; assume that when used, the source register is R1, which has a value of 400. There is also a base register that contains the value 100. The value of 500 in location 201 may be part of the address calculation. Assume that location 399 contains the value 999, location 400 contains the value 1000, and so on. Determine the effective address and the operand to be loaded for the following address modes:
a. Direct b. Immediate c. Indirect d. PC relative e. Displacement f. Register g. Register indirect h. Autoindexing with increment, using R1
Answer#2(NAME1, NAME2):

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

Learn To Program Databases With Visual Basic 6

Authors: John Smiley

1st Edition

1902745035, 978-1902745039

More Books

Students also viewed these Databases questions