Digital Electronics - The 8051 Microcontroller - Discussion

Discussion Forum : The 8051 Microcontroller - General Questions (Q.No. 2)
2.
This program code will be executed continuously:
STAT: MOV A, #01H
 JNZ STAT
True
False
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
18 comments Page 2 of 2.

Edison said:   1 decade ago
First instruction is a constant value with 01h so, it will never be zero hence it always jumps.

Rajender said:   1 decade ago
Since there is no loop available or there is no INC/DCR is available.

Vignesh said:   7 years ago
Here, JNZ is jumping on no-zero so A value is 1.

It's goto STAT.

Shreyas said:   1 decade ago
DCR A instruction should be given after STAT: MOV A , 01H

Siddu said:   9 years ago
How it is possible ? Because there is no continuous loop.

AMAR V. SORATHIYA said:   1 decade ago
If instuction DJNZ used then answer is FALSE.

Siva said:   1 decade ago
Any one explain other use of JNZ?

Abc said:   1 decade ago
JNZ means Jump if Non Zero.


Post your comments here:

Your comments will be displayed after verification.