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
457 views
in General by (240k points)
closed by
Which instruction of 8051 microcontroller is used for reading data from code memory?
1. MOV
2. MOVC
3. MOVX
4. XCH

1 Answer

0 votes
by (238k points)
selected by
 
Best answer
Correct Answer - Option 2 : MOVC

Concept:

Microcontroller:

A microcontroller is a VLSI IC that contains a processor (CPU) along with some other peripherals like memory (RAM and ROM), time/counter, communication interface, ADC, etc.

→ The difference between a microprocessor and a microcontroller is microprocessor is just a processor (CPU) and doesn’t have the above peripherals.

Feature of 8051 microcontroller:

1) It is an 8-bit microcontroller i.e. data bus is 8 bit wide.

2) It has 128 bytes of RAM which includes I / P and O / P registers.

3) ROM: It has 4 KB ROM

4) It has a 16-bit timer/counter and supports full-duplex UART communication.

Explanation:

To read the data from code memory 8051 microcontroller uses MOVC instructions.

MOV → Instruction used in data transfer between resister to resister or resister to memory.

2 byte, 1 machine cycle instruction.

MOV X:

Indirectly data transfer, 1 byte, 2 MCs

XCH:

Exchange accumulate with register

1 byte, 1 MCs

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

...