Beruflich Dokumente
Kultur Dokumente
;e will discuss the rest o" the control signals as we get to them. www.yesnarayanan.blogspot.com
De!ultiple"ing AD#$AD0 :
+emultiple%ing A+7-A+0 ?rom the abo8e description6 it becomes ob8ious that the A+72 A+0 lines are ser8ing a dual purpose and that they need to be demultiple%ed to get all the in"ormation. The high order bits o" the address remain on the bus "or three cloc= periods. (owe8er6 the low order bits remain "or only one cloc= period and they would be lost i" they are not sa8ed
e%ternally. Also6 notice that the low order bits o" the address disappear when they are needed most. To ma=e sure we ha8e the entire address "or the "ull three cloc= cycles6 we will use an e%ternal latch to sa8e the 8alue o" A+72 A+0 when it is carrying the address bits. ;e use the A9/ signal to enable this latch. www.yesnarayanan.blogspot.com
De!ultiple"ing AD#$AD0 :
+emultiple%ing A+7-A+0 Di8en that A9/ operates as a pulse during T36 we will be able to latch the address. Then when A9/ goes low6 the address is sa8ed and the A+72 A+0 lines can be used "or their purpose as the bi-directional data lines. A35-A8 9atch A+7-A+0 +7- +0 A7A0 8085 A9/ www.yesnarayanan.blogspot.com
The A'( :
The A9> In addition to the arithmetic E logic circuits6 the A9> includes the accumulator6 which is part o" e8ery arithmetic E logic operation. Also6 the A9> includes a temporary register used
"or holding data temporarily during the e%ecution o" the operation. This temporary register is not accessible by the programmer. www.yesnarayanan.blogspot.com
The Memory :ead Machine ,ycle To understand the memory read machine cycle6 letBs study the e%ecution o" the "ollowing instruction* M$I A6 'A In memory6 this instruction loo=s li=e* The "irst byte '/( represents the opcode "or loading a byte into the accumulator 4M$I A56 the second byte is the data to be loaded. The 8085 needs to read these two bytes "rom memory be"ore it can e%ecute the instruction. There"ore6 it will need at least two machine cycles. The "irst machine cycle is the opcode "etch discussed earlier. The second machine cycle is the Memory :ead ,ycle. ?igure '.30 page 8'. A000( A003( '/ 'A www.yesnarayanan.blogspot.com
Me!or inter/acing :
Memory inter"acing There needs to be a lot o" interaction between the microprocessor and the memory "or the e%change o" in"ormation during program e%ecution. Memory has its re&uirements on control signals and their timing. The microprocessor has its re&uirements as well. The inter"acing operation is simply the matching o" these re&uirements. www.yesnarayanan.blogspot.com
Inter/acing Me!or :
Inter"acing Memory Accessing memory can be summari)ed into the "ollowing three steps* -elect the chip. Identi"y the memory register. /nable the appropriate bu""er. Translating this to microprocessor domain* The microprocessor places a 36-bit address on the address bus. .art o" the address bus will select the chip and the other part will go through the address decoder to select the register. The signals I10M and :+ combined indicate that a memory read operation is in progress. The M/M: signal can be used to enable the :+ line on the memory chip. www.yesnarayanan.blogspot.com
Address decoding :
Address decoding The result o" address decoding is the identi"ication o" a register "or a gi8en address. A large part o" the address bus is usually connected directly to the address inputs o" the memory chip. This portion is decoded internally within the chip. ;hat concerns us is the other part that must be decoded e%ternally to select the chip. This can be done either using logic gates or a decoder. www.yesnarayanan.blogspot.com