09.05.2015 Views

Microcomputer Circuits and Processes

Microcomputer Circuits and Processes

Microcomputer Circuits and Processes

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Third EXECUTE cycle AD I, clock period 1<br />

The instruction which has now been fetched into the instruction<br />

decoder has code 1111. This is an ADD IMMEDIATE (ADI) instruction.<br />

Note how the program counter has been incremented, as usual,<br />

during a FETCH, <strong>and</strong> now holds number 0100. Now the program<br />

counter is enabled on to the bus, by the instruction decoder, which also<br />

sends out an ALE signal to enter the contents of the program counter,<br />

0100, into the address latch. The immediate number (after the ADI<br />

instruction), 0101, which lives at address 0100, is now addressed, ready<br />

Figure 3.20 for the addition.<br />

CPU<br />

MEM<br />

o<br />

o<br />

Third EXECUTE cycle ADI, clock period 2<br />

Since this instruction is an 'immediate' type, the program counter must<br />

be incremented to skip over the data number 0101, ready for the next<br />

Figure 3.21 instruction.<br />

CPU<br />

MEM<br />

39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!