adplus-dvertising
frame-decoration

Question

Does the two instructions mean the same?
1) BACK: DEC R0

JZ BACK

2) BACK: DJNZ RO, BACK

a.

yes

b.

no

c.

cant be determined

d.

yes and second one is preferred

Answer: (b).no

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Does the two instructions mean the same? 1) BACK: DEC R0 JZ BACK 2) BACK: DJNZ RO, BACK

Similar Questions

Discover Related MCQs

Q. To initialise any port as an output port what value is to be given to it?

Q. Which out of the four ports of 8051 needs a pull-up resistor for using it is as an input or an output port?

Q. Which of the ports act as the 16 bit address lines for transferring data through it?

Q. Which of the following registers are not bit addressable?

Q. Which instruction is used to check the status of a single bit?

Q. Which addressing mode is used in pushing or popping any element on or from the stack?

Q. Which operator is the most important while assigning any instruction as register indirect instruction?

Q. What is the advantage of register indirect addressing mode?

Q. Which of the following comes under indexed addressing mode?

Q. Is this a valid statement ?
SETB A

Q. When we add two numbers the destination address must always be.

Q. DAA command adds 6 to the nibble if:

Q. If SUBB A,R4 is executed, then actually what operation is being applied?

Q. A valid division instruction always makes:

Q. In 8 bit signed number operations, OV flag is set to 1 if:

Q. In unsigned number addition, status of which bit is important?

Q. Which instructions have no affect on the flags of PSW?

Q. ANL instruction is used

Q. CJNE instruction makes

Q. XRL, ORL, ANL commands have