STA Instruction
Syntax: STA 16-bit
Where 16-bit is for memory location.
Byte: 3byte
Addressing Mode: Direct Addressing
Working: for execution of this instruction, microprocessor will allocate first byte for opcode, second byte for lower order address and third byte for higher order address. After execution, the content of Accumulator will be moved to the given address.
Example: STA 2000H
where [A]= A0 H
After execution of STA 2000H
[2000H]= A0 H
Comments
Post a Comment