Implement the relative addressing mode

Assignment Help Electrical Engineering
Reference no: EM131520

Problem 1.

Consider 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) 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 DR and AC are unchanged? If yes, write such an optimal sequence. Otherwise justify why it is not possible.

Problem 2.

Write an optimal sequence of control microinstruction to implement the subsequent register transfer:

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

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

Problem 3.

Archie Tecture has to write 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 implements them once he makes the subsequent 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.

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.

Problem 4.

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

Reference no: EM131520

Questions Cloud

What is the amount of your scheduled payments : What is the amount of your scheduled payments?
Analog measurements : Prepare an assembly program for the correctly measures the wind direction
Create a simple shell : Create a simple shell. Basically your shell should read the line from standard input, parse the line with command and arguments, and operate the command with arguments.
Evaluate wcr expense ratios : ABC Company sells widgets in three varieties (red, yellow and blue) but has lost money for the past three years.
Implement the relative addressing mode : Write an optimal sequence of control microinstruction
Difference between the cv and the ev : The change in consumer surplus (?CS) is not "theoretically" justifiable like the CV and EV but it continues to be the most widely used measure of consumer welfare change. Explain how this can be reconciled
Write a program using vectors and iterators : Create a program that uses at least two functions that will be called from your main. This program is a number game program that asks for parts of your phone and after manipulating it mathematically, eventually outputs your entire phone number. The d..
Economic profit in the short run bot : Why does rent control result in a shortage of rental units.
Implement security so that all users can view the informatio : Implement security so that all users can view the information about the projects, but only authenticated users

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

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