Correct Answer - Option 3 : 3.5 μs
Explanation:
Here two machine codes are being executed:
1. Opcode Fetch
2. Data to be uploaded in the accumulator
We can use the following instruction set:
MVI A, data
1 This is a 2-byte instruction.
2 Immediate addressing mode is used.
3 Total machine cycle = Opcode Fetch + Memory Read
4 Total machine cycle = 4T + 3T = 7T
Where T = T-states.
Calculation:
f = 2 MHz
\(T=\frac{1}{f}=\frac{1}{2}=0.5 \ μ s\)
Total machine cycle = 7T
Total machine cycle = 7 × 0.5 = 3.5 μs