adplus-dvertising
frame-decoration

Question

When the micro controller executes some arithmetic operations, then the flag bits of which register are affected?

a.

PSW

b.

SP

c.

DPTR

d.

PC

Answer: (a).PSW

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. When the micro controller executes some arithmetic operations, then the flag bits of which register are affected?

Similar Questions

Discover Related MCQs

Q. How is the status of the carry, auxiliary carry and parity flag affected if write instruction
MOV A,#9C
ADD A,#64H

Q. How are the bits of the register PSW affected if we select Bank2 of 8051?

Q. If we push data onto the stack then the stack pointer

Q. On power up, the 8051 uses which RAM locations for register R0- R7

Q. How many bytes of bit addressable memory is present in 8051 based micro controllers?

Q. DJNZ R0,label is how many bit instruction?

Q. JZ, JNZ, DJNZ, JC, JNC instructions monitor the bits of which register ?

Q. Calculate the jump code for again and here if code starts at 0000H

MOV R1,#0
MOV A,#0
MOV R0,#25H
AGAIN:ADD A,#0ECH
JNC HERE
HERE: INC R1
DJNZ R0,AGAIN
MOV R0,A
END

Q. When the call instruction is executed the top most element of stack comes out to be

Q. LCALL instruction takes

Q. Are PUSH and POP instructions are a type of CALL instructions?

Q. What is the time taken by one machine cycle if crystal frequency is 20MHz?

Q. Find the number of times the following loop will be executed

MOV R6,#200
BACK:MOV R5,#100
HERE:DJNZ R5, HERE
DJNZ R6,BACK
END

Q. What is the meaning of the instruction MOV A,05H ?

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

JZ BACK

2) BACK: DJNZ RO, BACK

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?