{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

The Complete Microprocessor

The Complete Microprocessor - The Complete Microprocessor...

Info icon This preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
The Complete Microprocessor Password____None _________ © Copyright 2009 Daniel Tylavsky
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
In the previous lecture we looked at defining the contents of our controller PROM by observing the controller outputs needed to enable registers, route data, and control the ALU. In this lecture we will look at: How the controller accesses the PROM contents when a program is executed. How the complete microprocessor executes an example program. The Complete Microprocessor
Image of page 2
Typically, addresses used to specify memory locations in PROM use Hex codes, with each Hex character representing a 4 bit byte. A2H = 1010 0010 B Because each instruction uses 4 micro- instruction to complete its tasks, it will be convenient to let our least significant Hex character index the micro-instruction using a 2-bit string. A2H = 1010 10 B The Complete Microprocessor
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
PROM 64 Words X 12 Bits 11 10 9 S5 8 S4 7 S3 6 S2 5 S1 4 S0 3 2 1 0 Hex Addr Instruction 00 Load Acc 10 Add 20 Store To Addr 30 Stop 40 Etc. .. .. F0 ? Each of the instructions in our set requires several tasks to be completed in sequence. Each sequential task is performed by a microinstruction . Look at sequence of Microinstructions to Add then Load Acc . Assume for this exercise each instruction needs 4 clock cycles.
Image of page 4
PROM 64 Words X 12 Bits . 11 10 S5 9 S4 8 S3 7 S2 6 S1 5 S0 4 3 2 1 0 Hex Addr Instruction Micro Instr. 00 Load Acc Fetch Instr. 01 2nd μ Instr. 02 3rd μ Instr. 03 4th μ Instr. 10 Add Fetch Instr. 11 2nd μ Instr. 12 3rd μ Instr. 13 4th μ Instr. 20 Store To Addr Fetch Instr. 21 . . . 23 . . . . . . 30 Stop Fetch Instr. 31 . . . 33 . . . . . . 40 Or Fetch Instr. 41 . . . 43 . . . . . . 0 0 0 0 0 0 Clear 0 1 A d d Add Instruction = 1H 0 0 0 1 1 1 0 1 0 1 1 1 1 0 0 0 0 L d A c Load Acc Instruction = 0H 0 0 0 0 After One Clock Cycle Delay Another Instr.
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
PROM 64 Words X 12 Bits . 11 10 S5 9 S4 8 S3 7 S2 6 S1 5 S0 4 3 2 1 0 Hex Addr Instruction Micro Instr. 00 Load Acc Fetch Instr. 01 2nd μ Instr. 02 3rd μ Instr. 03 4th μ Instr. 10 Add Fetch Instr. 11 2nd μ Instr.
Image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern