Microprocessor & Microcontroller QUIZ
Q:    An instruction used to set the carry Flag in a computer can be classified as ___.
- A:  Data transfer
- B:  Logical
- C:  Arithmetic
- D:  Program control
Q:    In an 8085 microprocessor, the instruction CMP B has been executed while the content of the accumulator is less than that of register B. As a result ___.
- A:  Carry flag will be reset but Zero flag will be set
- B:  Carry flag will be set but Zero flag will be reset
- C:  Both Carry flag and Zero flag will be reset
- D:  Both Carry flag and Zero flag will be set
Q:    In a microprocessor, the service routine for a certain interrupt starts from a fixed location of memory which cannot be externally set, but the interrupt can be delayed or rejected. Such an interrupt is ___.
- A:  Non-maskable and non-vectored
- B:  Maskable and non-vectored
- C:  Non-maskable and vectored
- D:  Maskable and vectored
Q:   . When a CPU is interrupted, it ___.
- A:  Stops executing of instructions
- B:  Acknowledges interrupt and continues
- C:  Acknowledges interrupt and waits for the next instruction from the interrupt device
- D:  Acknowledges interrupt and branches of subroutine
Q:   . In 8085 μP system, the RST instruction will cause an interrupt ___.
- A:  Only if an interrupt service routine is not being executed
- B:  Only if interrupts have been enabled by an EI instruction
- C:  Only if a bit in the interrupt mask is made 0
- D:  None of the above
Q:    The number of hardware interrupts (which require an external signal to interrupt) present in an 8085 microprocessor are______.
- A:  1
- B:  4
- C:  5
- D:  13
Q:   In the 8085 microprocessor, the RST6 instruction transfers the program execution to the following locations ____.
- A:  30H
- B:  24H
- C:  48H
- D:  60H
Q:   In 8085 which addressing mode is also called inherent addressing? ____.
- A:  Direct
- B:  Register
- C:  Immediate
- D:  Implicit
Q:    Which memory has read operation, byte erase, byte write and chip erase?______.
- A:  RAM
- B:  UVEPROM
- C:  EEPROM
- D:  Both (b) and (c)
Q:   The 16 bit flag of 8086 microprocessor is responsible to indicate ____.
- A:  The condition of memory
- B:  The result of addition
- C:  The result of subtraction
- D:  The condition of result of ALU operation
Q:    The SP is indicated by _____.
- A:  Single pointer
- B:  Stack pointer
- C:  Source pointer
- D:  Destination pointer
Q:    In 8085 _____.
- A:  P flag is reset when the result has odd parity
- B:  P flag is set when the result has odd parity
- C:  P flag is set when the result has even parity
- D:  P flag is reset when the result has even parity