Computer system architecture, Basic Computer Science

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

a) Write 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 write 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, write such an optimal sequence. Otherwise justify why it is not possible.

2.
Write 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.

3.
Archie Tecture has to write 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 reimplements 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, write 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.

4.

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.

Related Discussions:- Computer system architecture

Describe the binary search algorithm, QUESTION 1 Describe the binary se...

QUESTION 1 Describe the binary search algorithm using an example of your own. QUESTION 2 (a) By showing all your workings, give a big-O estimate for f(x) = (x + 1)lo

Cpu, what is cpu

what is cpu

Socket programming, Important: • No cheating will be tolerated. • No late s...

Important: • No cheating will be tolerated. • No late submissions. Total Points for this programming assignment: 100 The goal of your programming assignment is to build and experim

Memory of computer, Memory : Computers store information internally as wel...

Memory : Computers store information internally as well as externally. Linked to CPU is an internal memory unit where all the instructions and data are stored. It contains the

The terms ''row-major order'' and ''column-major order", What is meant by t...

What is meant by the terms 'row-major order' and 'column-major order'? Ans: (i) Storing the array column by column is called as column-major order and storing the array row by

Batch processing, Batch Processing When the entire computer system is d...

Batch Processing When the entire computer system is dedicated to a single job, the system is said to be operating in Batch Processing mode. In this mode each program is run to

Discuss the challenges in it infrastructure management, Question 1 What is...

Question 1 What is difference between cathode ray tube monitors and LCD monitors? List three popular types of operating systems and give brief introduction of each type Que

Definition of Internal hardware interruptions, Internal interruptions are...

Internal interruptions are produced by convinced events which come during the execution of a program. These types of interruptions are handled on their totality by the hardware and

CAI, what is CAI? explain its pit falls.

what is CAI? explain its pit falls.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd