8051 instruction set, addressing modes-2

8051 instruction set, addressing modes-2

University

10 Qs

quiz-placeholder

Similar activities

Conceptos Básicos Spring

Conceptos Básicos Spring

University

10 Qs

OLE Survey

OLE Survey

1st Grade - Professional Development

10 Qs

FUN 101 Week 9

FUN 101 Week 9

University

10 Qs

ADC , DAC

ADC , DAC

University

10 Qs

DOOM

DOOM

6th Grade - University

7 Qs

Ecuaciones e Inecuaciones Lineales. Aplicaciones.

Ecuaciones e Inecuaciones Lineales. Aplicaciones.

University

5 Qs

TEST

TEST

University - Professional Development

10 Qs

Microprocessor Quiz 3

Microprocessor Quiz 3

University

10 Qs

8051 instruction set, addressing modes-2

8051 instruction set, addressing modes-2

Assessment

Quiz

Professional Development

University

Easy

Created by

001_submission ece

Used 5+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?