GATE For CSE by Shivajees - T-States of All Instructions of 8085 Microprocessor Shivajees MCQ
GATE For CSE by Shivajees - T-States of All Instructions of 8085 Microprocessor Shivajees MCQ
GATE For CSE by Shivajees - T-States of All Instructions of 8085 Microprocessor Shivajees MCQ
What is T-state?
How many Tstates required for Memory Read/write?
[https://3.bp.blogspot.com/--
DL1aNYnpgM/V7NB9DpUShI/AAAAAAAAEfU/0eAo42KBSNwha_wxdY66vqoyoeCTNr8ygCLcB/s1600/8085-
timing-diagram-shivaje.jpg]
Q3. "STA 1234". How many Tstates required to complete this instruction?
1. STA 1234 means Store from A register to the memory location 1234.
2. It is a 3 byte instruction. 1st bye is opcode , 2nd byte . Hence three
machine cycles.
3. Opcode fetch and execute..........4T,
1st byte of address fetch .......... 3T,
2nd byte of address fetch 3T.
Write to Memory (from A reg)......3T
----------------------------------------------
Total ............... .............. ............. 13T
Op-
Instruction
code Operand Bytes MC
T Detail
ADD B
ADD Reg., Mem. 1,1 1,2 4,7 Add register to Accumulator
ADD M
ANA ANA Reg., mem. 1,1 1,2 4,7 Logical AND with Accumulator
2 or
HLT HLT None 1 5 or more Halt and enter wait state
more
Increment contents of
INR INR Reg.,Mem. 1,1 1,3 4,10
register/Memory by 1
LXI LXI Reg. Pair, 16 bit data 3 3 10 Load Register Pair Immediate
MOV Rd,Rs
1 4 Move-copy from source to
MOV MOV M,Rs 1
2 7 destination
MOV Rd,M
Reg., Data 2 2 7
MVI MVI Move immediate 8 bit
Mem., Data 2 3 10
ORA ORA Reg., Mem. 1,1 1,2 4,7 Logically OR with Accumulator
XRA XRA Reg., Mem. 1,1 1,2 4,7 Exclusive OR with accumulator