Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

problem: Suppose that the meaning of the BUN instruction of the Basic Computer is changed to implement the relative addressing mode, that is, PC <- PC + AR instead of PC<- AR.

a) prepare an optimal operation sequence to implement the new version, but make sure that the value of AC is not changed at the end of your implementation.

b) Is it possible to prepare an operation sequence to implement the new version such that, at the end of the implementation, the values AC and DR are unchanged? If yes, prepare such an optimal sequence. Otherwise justify why it is not possible.

problem: prepare an optimal sequence of control microinstruction to implement the following register transfer:

x: AR<- AR +DR,  DR <- DR + 1

Your solution should use the minimum number of cycles and it should leave AC unchanged: You may assume that AC contains an 11-bit quantity.

problem: Archie Tecture has to prepare Basic Computer code that contains lots of "spinning loops" of the form:

Loop: ISZ A
BUN loop
Other code….

He believes that all his "spinning loops" will run faster if he re-implements them once he makes the following changes to the basic computer.

-Add a register to the bus system CTR (count register) to be selected with S1= 0

-Replace the ISZ instruction with an instruction that loads a value into CTR:

LDC Address            CTR<- M[Address]

- Add a register reference instruction ICSZ with the semantics: Increment CTR and skip next instruction if zero.

Answer the following:

a) Using as a model table 5-6, prepare the register transfer statements for the new instruction ICSZ and LDC.

b) Is Archie correct assuming that all his "spinning loops" will run faster once he reimplements them using the next instruction? Justify carefully your answer.

problem: Most machines have a shift left unit attached to the ALU. Using 4x1multiplexors and D-flip-flops, design a 4-bit shifter that accommodates these four operations: no shift, Circular shift left, logical shift right, and Circular shift right. The most significant bit is the sign bit.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9259

Have any Question? 


Related Questions in Computer Engineering

Suppose a lawn care company can install either mulch or

Suppose a lawn care company can install either mulch or pine straw for flowerbeds of their residential customers. A workday typically runs 12.5 hours (or 750 minutes) and the company can install mulch in 30 minutes and p ...

Suppose that alices rsa parameters are ma91 ea7 and da31

Suppose that Alice's RSA parameters are m_A=91, e_A=7, and d_A=31. And suppose that Bob's RSA modulus is m_B=187. a)If Bob's public exponent is e_B=13 and Alice wants to encrypt the message signature pair (x, delta)=(70, ...

An array a1 n is said to have a majority element if more

An array A[1 . . . n] is said to have a majority element if more than half of its entries are the same. Given an array, the task is to design an efficient algorithm to tell whether the array has a majority element, and, ...

Suppose a machine has 16 registers and uses 24 bit memory

Suppose a machine has 16 registers and uses 24 bit memory addresses. The opcodes are 8 bits so that the instruction length is 32 bits. Register instructions can have two or three register operands (4 bits to name each re ...

What to do sort an array of single digit positive integers

What to do: Sort an array of single digit positive integers in LC-3 assembler - program will prompt user to enter a single digit integer. Non-negative values are accepted, with a zero entered to terminate input - the pro ...

Assume newspaper for garbage or recycling has a standard

Assume newspaper for garbage or recycling has a standard deviation of 2 pounds. If we want to estimate the average amount of newspaper for garbage or recycling within .25 pounds with 90% confidence, how many households m ...

Come with an app that only runs in horizontal orientation

Come with an app that only runs in horizontal orientation. It displays "This is fun!" on the top left corner of the screen with no margin either from the top or the left.

You isolate an acidic compound by suction filtration and

You isolate an acidic compound by suction filtration and think it is still wet. How do you remove the remaining water without the risk of decomposition (no extreme heating)

Iq test scores of students are normally distributed with

IQ test scores of students are normally distributed with mean μ=100 and standard deviation σ=10. What is the 33th percentile of the IQ scores? For a randomly chosen student, what is the probability that his or her IQ sco ...

Question when a syscall is called which register must have

Question : When a syscall is called which register must have the syscall number? Which syscall is a must for every program? Why?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As