Answered step by step
Verified Expert Solution
Question
1 Approved Answer
QUESTION 1: Select the correct answer (20 points, 2 point each) 1) MCS-51 is a -bit microcontroller. (a) 16 (b) 4 (C) 8 (d) 32
QUESTION 1: Select the correct answer (20 points, 2 point each) 1) MCS-51 is a -bit microcontroller. (a) 16 (b) 4 (C) 8 (d) 32 2) The machine code of program is stored in the (a) RAM (b) ROM (c) Register of microcontroller. (d) CPU 3) When RSO and RS1 in the PSW are: RSO=1, RS1=1, which register bank is used by the system (a) o (b) 1 (c) 2 (d) 3 4) Which of the following instructions is correct (a) PUSH R2 (b) ADD (C) MOVX A @DPTR (d) MOV B, A @R3, A 5) When you need to get a data in a table that stored in ROM, which instruction should be used (a) MOV A, @R1 (c) MOVX A, @ RO (b) MOVCA, @A+ DPTR (d) MOVX A, @ DPTR Principles of Micro-controller Page 1 of 6 6) The register that controls the execution sequence of program instructions is called PC. It always points to (a) the address of the previous instruction executed. (b) the address of the current instruction being executed. (c) the address of the next instruction to be executed. (d) the top of the stack. 7) In register addressing mode of MCS-51 microprocessors, the operand of an instruction is contained in (a) the specified internal register (c) the specified external program memory unit (c) a default internal RAM unit (d) the specified external data program unit 8) DPTR comprises (a) A and B that are two 8-bit register. (b) RO and Ri (c) DPL and DPH (d) PO and P1 9) To use pins of Port 0 of an 8051 microcontroller as input ports, instruction segment such as should be applied. (a) MOV A, PO (b) MOVX A, PO (C) MOV A, #OFFH (d) MOV A, PO MOV PO, A MOV A, #OFFH MOV A, PO MOV PO, A 10) In MCS-51, the interrupt response entry for the External Interrupt o indicates (a) the beginning of the interrupt response subroutine (b) the broken point (c) the type of the interrupt request (d) the program status word
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started