Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

8051 microcontroller 7) In MCS-S, the interrupt response entry for the External

ID: 3875785 • Letter: 8

Question

8051 microcontroller

7) In MCS-S, the interrupt response entry for the External Interrupt 0 indicates (a) the beginning of the interrupt response subroutine (c) the type of the interrupt request (b) the broken poirt (d) the program status word 8) To use pins of Port 0 of an 8051 microcontroller as imput ports, instruction segment such as should be applied (a) MOVA, PO (b) MOVX A,PO (c) MOVA,#0FFH (d) MOV A. PO MOV A, OFFH MOV PO, A MOV A, PO 9) When you need to get a data in a table that stored in ROM, which instruction should be used (a) MOV A. @RI (c) Movx A,@ RO b) MovC A, +DPT (d) MoVX A, DPTR 10) DPTR comprisesthat are two 8-bit register (c) (a) A and B (b) RO and RI DPL and DPH (d) PO and PI

Explanation / Answer

If you have any problem with the answer just let me know in the comments and I'll try to solve it as soon as possible.

7.)External interrupt 0 are initialized at the start of subroutine showing the beginning of the subroutine. Hence the correct option is (a). The beginning of the interrupt response.

8.) To use port 0 as input ports we have to use instructions :

MOV A, #0FFH

MOV P0, A

MOV A, P0. hence correct option is (c).

9.) The correct format for your access data from table is MOVC A, @A+DPTR, hence correct option is (b) MOVC A, @A+DPTR

10.) DPTR consists of two 8 bit registers named DPH and DPL. Hence correct option is (c) dpl and dph.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote