The RAR and RAL instructions require one byte to specify, and four T-cycles to execute, on the 8085.
Load instruction means to load the instruction from the memory to the processor (accumulator).. But store instruction is opposite of it,it stores information from accumulator to the memory.
Virtual Memory
STA is used to store the content of the accumulator in to the specified memory address. for example STA 4200. it stores the content of accumulator at 4200.
It takes 23 address lines to address 8 mb of memory.
In the 8085, the LDA instruction loads the accumulator from memory, while the STA instructionstores the accumulator to memory. LDA is a read, while STA is a write. LDA is opcode 3AH, while STA is opcode 32H.
1.Fetch the most instructions from memory. 2.Read an apparend if required by the instruction.(Apparend is a quantity to be operated as directed by its associated instruction.) 3.Execute the instruction.(Do what the instruction says.) 4.Write the result backe into memory.(If required by instruction.)
execute
Registers represent the number of memory locations. A 2K memory chip has 2x1024=2048 memory locations. Hence there are 2048 registers in a 2K memory.
A 14 bit address can specify 214 or 16,384 different locations.
In the 8085, the LDA instruction loads the accumulator from memory, while the STA instruction stores the accumulator to memory. LDA is a read, while STA is a write. LDA is opcode 3AH, while STA is opcode 32H.
Each instruction requires specific time for the execution of instruction and this time is called instruction cycle. Each instruction cycle consists 1 to 5 machine cycle -- opcode fetch, memory read, memory write, IO read, IO write and each machine cycle consist 3 to 6 T - states. Time required to execute 1 T-state = 1/ operating frequency of 8085 Microprocessor for example operating frequency = 2MHz then time required to execute 1 T-state = 0.5 uSec example: Calculate time required to execute instruction MOV C, A sol: This instruction has one machine cycle i.e. opcode fetch (In any instruction 1st cycle is always opcode fetch and opcode fetch consists 4 to 6 T state depend on the operation of particular instruction) so to execute MOV C, A required 4T states so time required to execute this instruction is 4*0.5usec = 2usec any other queries pls contect: nileshbahadure2000@yahoo.co.in example:Calculate the time required to execute LXI H,2000H sol:Here we have to draw opcode fetch and two memory reads as two bytes 00H and 20H have to be read from memory. i.e, opcode fetch+Memory reads *2(bytes address) =4+3+3 so to execute LXI H,2000H,the required T-states is 10T and time is 10*0.5usec=5usec
2^16 locations or 65,536 bytes