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.

Second EXECUTE cycle MOV M--+Acc, clock period 1<br />

The instruction 'Move the contents of memory into the accumulator'<br />

has been fetched into the instruction register. This has code 0110. Now<br />

this instruction must be executed. Remember that the address from<br />

where the data must be read is held by register A. So this address must<br />

first be loaded into the address latch. To do this, the instruction decoder<br />

enables register Ns buffer, thus putting the address DIllon to the bus.<br />

The instruction decoder also sends out an ALE signal which loads this<br />

new address into the address latch. Memory location 0111 is thus<br />

Figure 3.18 addressed.<br />

CPU<br />

MEM<br />

001 0<br />

o 1 1 1<br />

o 1 1 0<br />

1 1 1 1<br />

o 1 0 1<br />

o 1 1 1<br />

o 0 0 0<br />

o 1 1 0<br />

Second EXECUTE cycle MOV M--+Acc, clock periods 2 <strong>and</strong> 3<br />

Here, in two clock periods, the contents of memory location 0111,<br />

which is the number 0110 (6 10 ), is moved· into the accumulator. The<br />

instruction decoder sends a read (RD) signal to memory putting the<br />

number 0110 on to the bus, <strong>and</strong> then it enables the accumulator's buffer,<br />

allowing the number 0110 to pass into the accumulator. This is the end<br />

of the second EXECUTE cycle, which has loaded 0110 into the<br />

Figure 3.19 accumulator, as directed by register A.<br />

CPU<br />

MEM<br />

o<br />

o<br />

38

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

Saved successfully!

Ooh no, something went wrong!