Computer system architecture, Basic Computer Science

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.
Posted Date: 11/5/2012 7:56:08 PM | Location :







Related Discussions:- Computer system architecture, Assignment Help, Ask Question on Computer system architecture, Get Answer, Expert's Help, Computer system architecture Discussions

Write discussion on Computer system architecture
Your posts are moderated
Related Questions
Objectives When you have completed all the work in this unit you should be able to: List the basic components of a personal computer system, 1. describe the use of comput

URL services has two divisions. Basic webpages and custom webpages. Ricky Vega, Custom's manager wants to find out why Custom is not profitable. He has prepared the following repor

They transfer the process flow, provisionally or totally, to a destiny, replicating this action until the counter is zero. LOOP LOOPE LOOPNE LOOP INSTRUCTION reason: To produce a c

In view of the fact that processes frequently need to communicate with other processes therefore, there is require for a well-structured interaction, devoid of using interrupts, a

They are utilized to move the contents of the operators. Each instruction can be used with many different modes of addressing. MOV MOVS (MOVSB) (MOVSW) MOV INSTRUCTION Principle: D

Multi-valued Attribute DBMS Each multi valued attribute maps into a separate table. Include also an attribute for the primary key of the entity and relationship type which the attr

Problem In the Excel sheet, input the marks of any 5 students with 5 subjects and find the average marks, maximum marks, minimum marks obtained by the student. Using Excel s

Build a database application for a sports league. Assume your application is to keep track of teams and equipment that is checked out to teams. Explain the steps that is needed and

QUESTION (a) Give the two conditions required by a binary tree of depth d to be an almost complete binary tree. (b) Determine what the following recursive C function compute

Necessary Nurses Records The software should generate all registers/reports in detail summary for various permutations and combinations of options. A powerful SQL (Structure