- STA means Store Accumulator -The content of the accumulator is stored in the specified address (526A).
- The op-code of the STA instruction is said to be 32H. It is fetched from the memory 41FFH (see fig). - OF machine cycle
- Then the lower order memory address is read (6A). – Memory Read Machine Cycle
- Read the higher order memory address (52).- Memory Read Machine Cycle
- The combination of both the addresses is considered and the content from accumulator is written in 526A. – Memory Write Machine Cycle
- Assume the memory address for the instruction and let the content of accumulator is C7H. So, C7H from accumulator is now stored in 526A
| 
Address | 
Memories | 
Hex-code | 
| 
41FFH | 
STA | 
32H | 
| 
4200H | 
6AH | 
6AH | 
| 
4201H | 
52H | 
52H | 
| 
526AH | 
C7H | 
C7H | 
| Timing Diagram for STA 526AH | 
No comments:
Post a Comment