Internal Component_QUIZ

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

21EE503 / Microcontrollers

QUIZ

Register Number : Date: 28.06.2023

Name of the Student :

1. Calculate the memory address of 8085 microprocessor.


 (2^16)-1
 (2^16)+1
 (2^16)
 (2^8)+12

2. What is mean by ALU?


 Arithmetic logic upgrade
 Arithmetic logic unsigned
 Arithmetic local unsigned
 Arithmetic logic unit

3. Which one of the following is not a vectored interrupt?


 TRAP
 INTR
 RST 7.5
 RST 3

4. The clock speed of 8085 is


 1MHz
 1KHz
 3.2KHz
 3.2MHz

5. Which of the following statements for intel 8085 is correct?


 Program Counter (PC) specifies the address of the instruction last
executed
 PC specifies the address of the instruction being executed
 PC specifies the address of the instruction to be executed
 PC specifies the number of instructions executed so far
6. The processor status word of 8085 microprocessor has five flags namely:
 S, Z, AC, P, CY
 S, OV, AC, P, CY
 S, Z, OV, P, CY
 S, Z, AC, P, OV

7. Assertion(A): Address bus is unidirectional. Reason(R): Data bus is


bidirectional
 Both A & R are true and R is the correct explanation of A
 Both A & R are true but R is not the correct explanation of A
 A is true but R is false
 A is false but R is true

8. Analyse the status of the carry, auxiliary carry and parity flag after execution
of the instructions
MOV A,#9C
ADD A,#64H
 CY=0,AC=0,P=0
 CY=1,AC=1,P=0
 CY=0,AC=1,P=0

9. On power up, the 8051 uses which RAM locations for register R0- R7
 00-2F
 00-07
 00-7F
 00-0F

10. DAA command adds 6 to the nibble if:


 CY and AC are necessarily 1
 either CY or AC is 1
 no relation with CY or AC
 CY is 1

11. If SUBB A,R4 is executed, then actually what operation is being applied?
 R4+A
 R4-A
 A-R4
 A+R4

12. LCALL instruction takes


 2 bytes
 3 bytes
 4 bytes
 1 bytes
13. 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
 100
 200
 20000
 2000

14. The contents of the accumulator after this operation


MOV A,#0BH
ANL A,#2CH
 11010111
 11011010
 00001000
 00101000

15. The only memory which can be accessed using indexed addressing mode is
 RAM
 ROM
 Main memory
 Program memory

16. The addressing mode, in which the instructions has no source and destination
operands is
 register instructions
 register specific instructions
 direct addressing
 immediate mode

17. Which register is used to make the pulse a level or an edge triggered pulse?
 TCON
 IPR
 IE
 SCON

18. What is the correct order of priority that is set after a controller gets reset?
 TxD/RxD > T1 > T0 >EX1 > EX0
 TxD/RxD < T1 < T0<EX1 < EX0
 EX0 > T0 > EX1 >T1> TxD/RxD
 EX0 < T0 < EX1 < T1 < TxD/RxD
19. Find out the roll over value for the timer in Mode 0, Mode 1 and Mode 2?*
 00FFH,0FFFH,FFFFH
 1FFFH,0FFFH,FFFFH
 1FFFH,FFFFH,00FFH
 1FFFH,00FFH,FFFFH

20. Choose the correct instruction for Multiplication*


 MUL A,B
 MUL A,D
 MUL AB
 MUL AD

You might also like