CuriousTab
Search
CuriousTab
Home
Aptitude
Computer
C Programming
C# Programming
C++ Programming
Database
Java Programming
Networking
Engineering
Biochemical Engineering
Biochemistry
Biotechnology
Chemical Engineering
Civil Engineering
Computer Science
Digital Electronics
Electrical Engineering
Electronics
Electronics and Communication Engineering
Mechanical Engineering
Microbiology
Technical Drawing
GK
Current Affairs
General Knowledge
Reasoning
Data Interpretation
Logical Reasoning
Non Verbal Reasoning
Verbal Ability
Verbal Reasoning
Exams
AIEEE
Bank Exams
CAT
GATE
IIT JEE
TOEFL
Jobs
Analyst
Bank PO
Database Administrator
IT Trainer
Network Engineer
Project Manager
Software Architect
Discussion
Home
‣
Digital Electronics
‣
The 8051 Microcontroller
Comments
Question
The following program will receive data from port 1, determine whether bit 2 is high, and then send the number FFH to port 3:
READ: MOV A,P1
ANL A,#2H
CJNE A,#02H,READ
MOV P3,#FFH
Options
A. True
B. False
Correct Answer
True
The 8051 Microcontroller problems
Search Results
1. The number of data registers is:
Options
A. 8
B. 16
C. 32
D. 64
Show Answer
Scratch Pad
Discuss
Correct Answer: 32
2. Which of the following commands will move the value at port 3 to register 2?
Options
A. MOV P2, R3
B. MOV R3, P2
C. MOV 3P, R2
D. MOV R2, P3
Show Answer
Scratch Pad
Discuss
Correct Answer: MOV R2, P3
3. What is the difference between the 8031 and the 8051?
Options
A. The 8031 has no interrupts.
B. The 8031 is ROM-less.
C. The 8051 is ROM-less.
D. The 8051 has 64 bytes more memory.
Show Answer
Scratch Pad
Discuss
Correct Answer: The 8031 is ROM-less.
4. The total external data memory that can be interfaced to the 8051 is:
Options
A. 32K
B. 64K
C. 128K
D. 256K
Show Answer
Scratch Pad
Discuss
Correct Answer: 64K
5. The 8051 has ________ 16-bit counter/timers.
Options
A. 1
B. 2
C. 3
D. 4
Show Answer
Scratch Pad
Discuss
Correct Answer: 2
6. The contents of the accumulator after this operation
MOV A,#0BH
ANL A,#2CH
will be
Options
A. 11010111
B. 11011010
C. 00001000
D. 00101000
Show Answer
Scratch Pad
Discuss
Correct Answer: 00001000
7. The last 96 locations in the internal data memory are reserved for general-purpose data storage and stack.
Options
A. True
B. False
Show Answer
Scratch Pad
Discuss
Correct Answer: False
8. The contents of the accumulator after this operation
MOV A,#2BH
ORL A,00H
will be:
Options
A. 1B H
B. 2B H
C. 3B H
D. 4B H
Show Answer
Scratch Pad
Discuss
Correct Answer: 2B H
9. The microcontroller is useful in systems that have nonvariable programs for dedicated applications.
Options
A. True
B. False
Show Answer
Scratch Pad
Discuss
Correct Answer: True
10. The I/O port that does not have a dual-purpose role is:
Options
A. port 0
B. port 1
C. port 2
D. port 3
Show Answer
Scratch Pad
Discuss
Correct Answer: port 1
Comments
There are no comments.
Enter a new Comment
Save
More in Digital Electronics:
Boolean Algebra and Logic Simplification
Code Converters and Multiplexers
Combinational Logic Analysis
Combinational Logic Circuits
Computers
Counters
Describing Logic Circuits
Digital Arithmetic Operations and Circuits
Digital Concepts
Digital Design
Digital Signal Processing
Digital System Projects Using HDL
Ex-OR and Ex-NOR Gates
Flip-Flops
Integrated-Circuit Logic Families
Integrated Circuit Technologies
Interfacing to the Analog World
Logic Families and Their Characteristics
Logic Gates
Memory and Storage
Microprocessor Fundamentals
MSI Logic Circuits
Multivibrators and 555 Timer
Number Systems and Codes
Programmable Logic Device
Shift Registers
Signals and Switches
The 8051 Microcontroller