Do you know?
[AE] DAC, ADC and 8085 timing - part 3
- Fact 1 of 12โฑ๏ธ
Clock tick, or T-state
One T-state is one period of the 8085 clock, the smallest time step, like one tick of an autorickshaw meter. Recall: what is one clock period called?
- Fact 2 of 12๐
Machine cycle has several T-states
A machine cycle is a group of T-states, like one full trip of a bus between two stops. Recall: what do you call a group of T-states?
- Fact 3 of 12๐ฅ
Opcode fetch takes 4 T-states
The opcode fetch cycle takes 4 T-states, the first step of every instruction, like picking up the bus ticket before boarding. Recall: how many T-states in opcode fetch?
- Fact 4 of 12๐
Memory read takes 3 T-states
A memory read machine cycle takes 3 T-states, so reading data is quicker than fetching an opcode. Recall: how many T-states in a memory read?
- Fact 5 of 12๐พ
Memory write takes 3 T-states
A memory write machine cycle takes 3 T-states, the same as a memory read, like a KSEB meter reading saved in one step. Recall: how many T-states in a memory write?
- Fact 6 of 12๐งฎ
MOV A,B takes 4 T-states
MOV A,B needs only one machine cycle, the opcode fetch, so it takes 4 T-states. Recall: how many T-states does MOV A,B take?
- Fact 7 of 12๐งพ
LDA takes 13 T-states
LDA 16-bit takes 4 machine cycles: fetch 4 plus three memory reads of 3 each, totalling 13 T-states. Recall: how many T-states does LDA take?
- Fact 8 of 12๐
Fetch: PC goes to the address bus
In the fetch cycle, the program counter value goes on the address bus and the opcode enters the instruction register, like a conductor reading the next stop board. Recall: which register holds the next address?
- Fact 9 of 12๐ฒ
Execute after the opcode is decoded
The decoder reads the opcode in the instruction register, then the needed machine cycles run, like a pressure cooker whistle after pressure builds. Recall: what unit reads the opcode?
- Fact 10 of 12๐
ALE latches the lower address byte
ALE goes high in T1 so an external latch can store the lower address byte, like writing the bus number before the rest of the trip. Recall: which pin latches the low address byte?
- Fact 11 of 12๐
RD and WR are active low
RD and WR are active low, so a 0 means the read or write happens, like a switch that works when pressed down. Recall: are RD and WR active high or low?
- Fact 12 of 12โณ
READY low adds wait T-states
If READY is low at the sampling point, the 8085 inserts wait T-states for slow memory, like a bus waiting at a signal. Recall: which pin inserts wait states?
