You are on page 1of 4

1.

When the 8051 is reset and the line EA is LOW, the program counter points to the first program instruction in the: a) Internal code memory b) External code memory c) Internal data memory
2.In 8051 which interrupt has highest priority? a)IE1 b)TF0 c)IE0 d)TF1

3. 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

4.

Match the following: i) contains status information ii) timer / counter control register. iii) idle bit, power down bit iv) serial data buffer for Tx and Rx. v) timer/ counter modes of operation. b) 1->i, 2->v, 3->iv, 4->iii, 5->ii. d) 1->iii, 2->ii, 3->i, 4->v, 5->iv.

1) TCON 2) SBUF 3) TMOD 4) PSW 5) PCON

a) 1->ii, 2->iv, 3->v, 4->i, 5->iii. c) 1->v, 2->iii, 3->ii, 4->iv, 5->i.

5. MUL AB is ____ byte and ____ cycles instruction. a) 2,4 b) 3,5 c) 1,4 d) 1,3

6.MOV A, #56H -->MOV R1, #50H -->MOV 50H, # 45H-->XCHD A, @R1 What is the result at A, R1? a) 56H, 45H b) 45H, 50H c) 50H, 56H d) 45H, 56H

7. The number of memory cycles required to execute the following 8085 instructions LDA 3000H & LXI D, FOF1H would be (a) 4,2 (b) 3,4 (c) 4,3 (d) 5,6

8. Which of the following PORTS in 8051 is open collector (TTL) and open drain (MOSFET). a) P0,P0 b) P1,P2 c) P3,P1 d)P0,P1

9. Which pin of port 3 has an alternative function of RD as a control signal for memory? a) P3.5 b) P3.6 c) P3.7 d)P3.1

10. Address of DPTR register i.e. DPL and DPH are a)85H,86H b)68H,69H C)82H,83H d)81H,82H

11. After execution of division instruction, the quotient will be in . & remainder in . Register. a)A register, B register b) B register, A register c)A register, Stack d)none of above 12. Register bank is also used as Stack. a)bank 0 b)bank 1 c)bank 2 d) bank 3 13. In 8085, the hardware interrupts are a)Asynchronous event c) both a & b b) Synchronous event d)none

14.In dynamic RAM, the data is stored in form of a)Charge on inductor b)Charge on capacitor c) both a&b d)none 15.First microprocessor was developed by. a) motorolla b)Texas instruments c) Intel d) IBM 16. First microcontroller was developed by a) motorolla b)Texas instruments c) Intel d) IBM

17.Internal program memory in 8051 is used to a)To store program b)To store data c) both a & b d) none

18.What is RST for TRAP in 8085.

a) RST 7.5

b)RST 5.5

c) RST 4.5

d)RST 6.5

19.Which stack is used in 8085.. a)LIFO b)FIFO c) both a &b d) cant say

20.Find the odd man out. a) accumulator b) flag-register c) stack d) B-register

21. 8051 can handle ..interrupt a)4 b)5 c)6 d)7

22.The i/O ports that are used as address and data for external memory are: a)port 1 and 2 b)port 1 and 3 c) port 0 and 2 d) port 0 and 3

23.Bit addressable memory locations are: a)10H to 1FH b)20H to 2FH c)30H to 3FH d)40H to 4FH

24.The contents of the accumulator after this operation MOV A,#0BH ANL A,#2CH A. 11010111 C. 00001000 B. 11011010 D. 00101000

25.Which of the following instructions will move the contents of register 3 to the accumulator? A. MOV 3R, A B. MOV R3, A C. MOV A, R3 D. MOV A, 3R 26. The number of data registers in 8051 is: A. 8 B. 16 C. 32 D. 64

27.HIGH on which pin resets the 8051 microcontroller? A. RESET C. PSEN B. RST D. RSET

28.Which of the following commands will copy the contents of location 4H to the accumulator?

A. MOV A, 04H C. MOV L4, A

B. MOV A, L4 D. MOV 04H, A

29. The ADC0804 has ________ resolution. A. 4-bit C. 16-bit B. 8-bit D. 32-bit

30.This program code will be executed continuously: STAT: MOV A, #01H JNZ STAT A. TRUE B. FALSE

You might also like