Micro-programming assignment- the comments section in the


Micro-programming Assignment -

"Seven times table". A gentle beginning, definitely not hard!

This comes with some guidance as it is the first time you have controlled the simulated machine yourself, Remember, the first control word must always be all zeros.

In the memory output field, place the value 7, and enable the memory to the register SRAM input bus for two control words. Clock R0 in the second of those control words. In the dot matrix check that R0 has correctly loaded. Put 2*R0 into R1, either using the multiplier or by adding R0 to R0 and placing the sum into R1. Similarly, put 3*R0 into R2 (add R0 to R1 or multiply R0 by 3). Then set R3 to 4*R0, set R4 to 5*R0, set R5 to 6*R0, set R6 to 7*R0 and finally set R7 to 8*R0.

What you have done might be coded in assembler as:

MOV 7, R0

MOV 7(R0),R1

MOV 7(R1),R2

MOV 7(R2),R3

Etc.

There are other ways of doing this in assembler - the above is just one example.

I need to see you doing some register transfers and also see you use the ALU. It is NOT acceptable to output multiples of 7 from the memory field and then simply write to the relevant register - this approach is a cheat and will score zero.

We are also using the index direct addressing mode.

You can, if using repeated addition, copy a register into "Y" and then put "7" onto the ALU input bus from memory. You can also, if using the multiplier, copy a register into "Y" and supply the multiplier value to the ALU input bus using the memory. Just no sequences of 7, 14, 21, 28 etc from the memory clocked into the registers - that's cheating!

When you are done, and by Tuesday of next of the week bring to class a screen shot of the machine when it has executed your micro-code, and a copy of your copiously commented Excel sheet. The screen shot must show the dot matrix display of all the registers (extreme left) AND the micro-control ROM with content, and the sheets MUST be stapled.

You should download the new copy of the machine, which has had a flaw fixed (version 4), and which also lets you manually clock the counter - this is helpful in finding and correcting errors. The button is called "M".

Please use the text tool to label both the screen shot and the excel file with your name and ID.

I hope that you all had a happy spring break and have returned refreshed and ready to tackle memory and I/O.

Advice: Write out in words what you want to do step by step as I did in class, then turn those words into a micro-program sequence.

?The comments section in the excel will need to be filled out with what the microcode is supposed to be doing with that instruction.

Attachment:- Assignment Files.rar

Request for Solution File

Ask an Expert for Answer!!
Other Engineering: Micro-programming assignment- the comments section in the
Reference No:- TGS02726106

Expected delivery within 24 Hours