MICROPROCESSOR AND MICROCONTROLLER

ASSEMBLY LANGUAGE PROGRAMMING

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
In Little Man Computer what does machine code 901 represent?
A
INP
B
OUT
C
HLT
D
STA
E
LDA
Explanation: 

Detailed explanation-1: -You can program the LMC using ‘machine code’. Machine code is normally binary numbers that represent instructions to the computer. However, with the LMC, you use denary numbers. On the left-hand side of the image, you can see the LMC’s instruction set. The x s are for addresses in RAM.

Detailed explanation-2: -BRANCH IF ZERO OR POSITIVE mnemonic-BRP.

Detailed explanation-3: -Obtain the three inputs by using INP and then, after each input, store in a memory location using the instruction STA num1. The third number to be input will currently be in the accumulator. To add num2 to this, simply use the instruction ADD num2. Repeat this addition for the num1 operand.

There is 1 question to complete.