Search Header Logo

8051 instruction set, addressing modes-2

Authored by 001_submission ece

Professional Development

University

Used 5+ times

8051 instruction set, addressing modes-2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

MOV A, #56H

MOV R1, #50H

MOV 50H, # 45H

XCHD A, @R1

What is the result at A, R1?

56H, 45H

45H, 50H

50H, 56H

45H, 56H

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following instruction is used to set bit port directly?

SET P1.0

MOV P1.0, bit

SETB P1.0

JB P1.0, bit

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

SP of 8051 is of ___ wide and it is loaded with the default value of ___ after reset.

2 byte, 08H

8 bit, 07H

1 byte, 09H

8 bit, 06H

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

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

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Do the two instructions mean the same?

1) BACK: DEC R0

JZ BACK

2) BACK: DJNZ RO, BACK

yes

no

cant be determined

yes and the second one is preferred

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which instruction is used to check the status of a single bit?

MOV A,P0

ADD A,#05H

JNB PO.0, label

CLR P0.05H

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

9. Which of the following comes under the indexed addressing mode?

MOVX A, @DPTR

MOVC @A+DPTR,A

MOV A,R0

MOV @R0,A

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?