ASSEMBLY LANGUAGE PROGRAMMING
ARCHITECTURE OF 8085
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
In Little Man Computer which assembly instruction stores the value in the accumulator to a memory location?
|
STA x
|
|
LDA x
|
|
ADD x
|
|
SUB x
|
|
INP
|
Explanation:
Detailed explanation-1: -In the center of the room, there is a work area containing a simple two function (addition and subtraction) calculator known as the Accumulator and a resettable counter known as the Program Counter. The Program Counter holds the address of the next instruction the Little Man will carry out.
Detailed explanation-2: -For a language like LMC, when using the online simulator, we know that only direct addressing is used.
Detailed explanation-3: -mnemonic-STA. numerical/machine code-3. Store the contents of the accumulator (calculator) to the mailbox of the given address.
There is 1 question to complete.