INTRODUCTION TO MICROPEOCESSOR
MICRO PROCESSOR AND MICRO CONTROLLER
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
sign flag is set
|
|
carry flag is reset
|
|
zero flag is set
|
|
parity flag is reset
|
Detailed explanation-1: -The program jumps to the instruction which is specified by the address if there is no carry, i.e. if carry flag is zero or if CY flag is reset. No flags are affected. It comes under immediate addressing mode.
Detailed explanation-2: -Stack Pointer: The stack pointer in the 8085 microprocessor is a 16-bit register that stores the address of the top of stack memory.
Detailed explanation-3: -The JNC instruction transfers program control to the specified address if the carry flag is 0. Otherwise, execution continues with the next instruction. No flags are affected by this instruction.
Detailed explanation-4: -They can be combined as register pairs-BC, DE, and HL-to perform some 16-bit operations. The programmer can use these registers to store or copy data into the registers by using data copy instructions.