1 / 25

ADD M [A]  [A] + [[H-L]]

ADD M [A]  [A] + [[H-L]]. MPU Communication and Bus Timing. Moving data form memory to MPU using instruction MOV C, A (code machine 4FH = 0100 1111 ) stored on location 2005H. MPU Communication and Bus Timing. The Fetch Execute Sequence :

zlhna
Download Presentation

ADD M [A]  [A] + [[H-L]]

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ADD M [A]  [A] + [[H-L]]

  2. MPU Communication and Bus Timing Moving data form memory to MPU using instruction MOV C, A (code machine 4FH = 0100 1111) stored on location 2005H

  3. MPU Communication and Bus Timing • The Fetch Execute Sequence : • The μp placed a 16 bit memory address from PC (program counter) to address bus. • Figure 4: at T1 • The high order address, 20H, is placed at A15 – A8. • the low order address, 05H, is placed at AD7 - AD0 and ALE is active high. • Synchronously the IO/M is in active low condition to show it is a memory operation. • At T2 the active low control signal, RD, is activated so as to activate read operation; it is to indicate that the MPU is in fetch mode operation.

  4. MPU Communication and Bus Timing 8085 timing diagram for Opcodefetch

  5. MPU Communication and Bus Timing • T3: The active low RD signal enabled the byte instruction, 4FH, to be placed on AD7 – AD0 and transferred to the MPU. While RD high, the data bus will be in high impedance mode. • T4: The machine code, 4FH, will then be decoded in instruction decoder. The content of accumulator (A) will then copied into C register at time state, T4.

  6. 8085 Machine cycle and bus timings Timing diagram For execution of instruction MVI A,32H

  7. Demultiplexing AD7-AD0 • AD7– AD0 lines are serving a dual purpose and that they need to be demultiplexed to get all the information. • The high order bits of the address remain on the bus for three clock periods. However, the low order bits remain for only one clock period and they would be lost if they are not saved externally. Also, notice that the low order bits of the address disappear when they are needed most. • To make sure we have the entire address for the full three clock cycles, we will use an external latch to save the value of AD7– AD0 when it is carrying the address bits. We use the ALE signal to enable this latch.

  8. Demultiplexing AD7-AD0 8085 • Given that ALE operates as a pulse during T1, we will be able to latch the address. Then when ALE goes low, the address is saved and the AD7– AD0 lines can be used for their purpose as the bi-directional data lines. A15-A8 ALE AD7-AD0 Latch A7- A0 D7- D0

  9. Control and Status Signal

  10. Schematic to generate Control Signals

  11. Memory Classification

  12. R/W Static memory and EPROM

  13. Memory Read Cycle

  14. Memory Write Cycle

More Related