Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
588 views
in Electronics by (98.5k points)
closed by
Which is invalid 8051 microcontroller instruction? 
1. MOVX @DPTR, A
2. RA A
3. MOV DPTR# 2500
4. DA B

1 Answer

0 votes
by (95.6k points)
selected by
 
Best answer
Correct Answer - Option 2 : RA A

DPTR – Data pointer is the 8051’s only user-accessible 16 bit (2 - byte) register. DPTR is meant for pointing to data. It is used by the 8051 to access external memory using the address indicated by DPTR. It is used to store a 2-byte value. 

Let us go by options one by one,

MOVX: 

The MOVX instruction moves a byte to or from External Memory into or from the Accumulator.

MOVX A, @DPTR 

It means that the data stored in the address specified or loaded in DPTR is moved or loaded into A register or Accumulator.

MOVX @DPTR, A

It means the Accumulator is moved to the 16-bit External Memory address indicated by DPTR.

MOV

This mode specifies data by its value. 

MOV DPTR# 2500

This instruction set is used to read data of external RAM at location 2500. 

DA :

The DA instruction adjusts the eight-bit value of the register resulting from the earlier addition of two variables (each in packed-BCD format), producing two four-bit digits. .

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...