INTRODUCTION TO MICROPEOCESSOR
MICRO PROCESSOR AND MICRO CONTROLLER
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Store Accumulator
|
|
Save Accumulator
|
|
Store Address
|
|
Save Address
|
Detailed explanation-1: -In 8085 Instruction set, STA is a mnemonic that stands for STore Accumulator contents in memory. In this instruction, Accumulator8-bit content will be stored to a memory location whose 16-bit address is indicated in the instruction as a16.
Detailed explanation-2: -In this program we are storing the 16-bit numbers into BC, DE and HL pair. We have DAD D instruction which helps to add HL and DE register pair, and store the result into HL pair. After that copy BC to DE, then again perform DAD D to add them. Finally using XCHG we are storing them into DE register pair.
Detailed explanation-3: -8) STAX instruction: This instruction stores the accumulator contents in the memory location addressed by the register pair (rp).
Detailed explanation-4: -The contents of a memory location, specified by a 16-bit address in the operand, are copied to the accumulator. The contents of the designated register pair point to a memory location. This instruction copies the contents of that memory location into the accumulator.