MICROPROCESSOR AND MICROCONTROLLER

8051 MICROCONTROLLER

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
This program will be executed continuously STAT:MOV A, # 01H JNZ STAT
A
TRUE
B
FALSE
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -Looping in the 8051 Repeating a sequence of instructions a certain number of times is called a loop. An instruction DJNZ reg, label is used to perform a Loop operation. In this instruction, a register is decremented by 1; if it is not zero, then 8051 jumps to the target address referred to by the label.

Detailed explanation-2: -Instruction MOV 80H, 92H will show an error because 92H is not bit addressable and is reserved and must not be used by 8051 programmer. Hence this instruction is not valid. Rest of the instruction given in the options are executable.

Detailed explanation-3: -To trigger the reset operation, the original members of the 8051 family have a ‘RESET’ pin. When this is held at Logic 0, the chip will run normally. If, while the oscillator is running, this pin is held at Logic 1 for two (or more) machine cycles, the microcontroller will be reset.

There is 1 question to complete.