InterviewSolution
Saved Bookmarks
| 1. |
Consider the program segment written for 8085 based system:LXI S, FFFFHMVI A, 00HMVI B, 0FHSUB BCNC GOLOCMVI A, FFH where in the program subroutine labelled ''GOLOC'' introduces delay of 28 T-states only. How many T-states are required to execute above program statement? |
| Answer» Since carry (CY) flag will not be set at the execution of "SUB B" instruction; check for CY flag fails but this requires 9(= 6 OP - CODE FETCH + 3T - states) T-states ∴ Total T-states = 10 + 7 + 7 + 4 + 9 + 7 = 44. | |