Microcontroller

Satisfactory Essays
Q 1. Draw the Pin diagram of 8051 micro-controller and give the functioning of following pins:
(a) #PSEN (b) XTAL1 & XTAL2 (c) ALE (d) #EA

Q 2. Draw the architecture of 8051 micro-controller .Also give the features of 8051 & description of registers (DPTR, PC, A, B).

Q 3. Draw the PSW (Program Status Word) register of 8051 and describe all its bits .Also tell how register bank 3(RB3) can be selected.

Q.4 Write PUSH instructions to push the contents of the registers on stack after the execution of the following set of instructions:
MOV SP, #3FH
SETB PSW.3
MOV R0, #25H
MOV R1, #0CH
MOV R2, #05H
MOV A, #0CEH

Q 5. Write instructions to use the registers of bank 3 and load the same value 05H in the registers R0 to R3.Also tell the address where value 05H will be stored.
Q.6 Write PUSH instructions to push the contents of the registers on stack after the execution of the following set of instructions:
MOV SP, #1FH
SETB PSW.3
SETB PSW.4
MOV R0, #25H
MOV R1, #0CH
MOV R2, #05H
MOV A, #0CEH

Q 7. How a micro-controller differs from a micro-processor? Which version of micro-controller is Rom-less? Give all the major differences between 8051, 8052 and 8031 micro-controller.
Q 8. Show the contents of PSW register after the execution of the following instructions:
MOV A, #0BFH
ADD A, # 1BH
Q 9. How RAM memory space is allocated in 8051 micro-controller .Draw all the four registers banks with corresponding addresses.
Q 10. (a) Check whether the following instructions are valid or not:
1. MOV A, # 765H
2. MOV R5,# F9H
3. MOV R7, #33H
If you find any invalid statement, then give reasons for its invalidity.

(b) What do you understand by “Top of the stack”. What are the two major operations that can be performed on the stack? Give suitable

You May Also Find These Documents Helpful

  • Powerful Essays

    Microcontroller

    • 1916 Words
    • 8 Pages

    A microcontroller (sometimes abbreviated µC, uC or MCU) is a small computer on a single integrated circuit containing a processor core, memory, and programmable input/output peripherals. Program memory in the form of NOR flash or OTP ROM is also often included on chip, as well as a typically small amount of RAM. Microcontrollers are designed for embedded applications, in contrast to the microprocessors used in personal computers or other general purpose applications. Microcontrollers are used in…

    • 1916 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Microcontrollers

    • 806 Words
    • 4 Pages

    MICROCONTROLLERS A microcontroller (sometimes abbreviated µC, MCU) is a small computer with similar components as a standard personal computer only integrated on to a single chip and usually dedicated to a single task. The fundamental components include a processor core (C.P.U), memory, system clock and programmable input/output peripherals. Microcontrollers are designed for embedded applications, in contrast to the microprocessors used in personal computers or other general purpose applications…

    • 806 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    microcontroller

    • 2676 Words
    • 11 Pages

    International Conference on Computer, Communication and Electrical Technology – ICCCET2011, 18th & 19th March, 2011 Microcontroller Based Cryptosystem With Key Generation Unit Senthil Kumar.S Manjupriya.M Department of Electronics and Communication Engineering VelTech Dr.RR & Dr.SR Technical University Chennai, India senthilkumar817@gmail.com Department of Electronics and Communication Engineering Selvam College of Technology Namakkal, India manjupriya.mani@gmail.com Abstract—The…

    • 2676 Words
    • 11 Pages
    Powerful Essays
  • Powerful Essays

    Microcontrollers

    • 1522 Words
    • 7 Pages

    simple ultrasonic range finder using 8051 microcontroller is presented in this project. This ultrasonic rangefinder can measure distances up to 2.5 meters at an accuracy of 1 centi meter. AT89s51 microcontroller and the ultrasonic transducer module HC-SR04 forms the basis of this circuit. The ultrasonic module sends a signal to the object, then picks up its echo and outputs a wave form whose time period is proportional to the distance. The microcontroller accepts this signal, performs necessary processing…

    • 1522 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    Microcontroller

    • 657 Words
    • 3 Pages

    Seat No.: ________ Enrolment No.___________ GUJARAT TECHNOLOGICAL UNIVERSITY DIPLOMA ENGINEERING - SEMESTER–V • EXAMINATION – SUMMER 2013 Subject Code: 351101 Date: 10-05-2013 Subject Name: Microcontroller & Embedded Systems Time: 10:30 am - 01:00 pm Total Marks: 70 Instructions: 1. Attempt all questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. 4. English version is considered to be Authentic. Q.1 (a) (b) Draw block diagram and explain internal…

    • 657 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Microcontroller Interfacing

    • 2361 Words
    • 10 Pages

    Microcontroller Interfacing Techniques Document Revision: 1.01 Date: 3rd April, 2005 16301 Blue Ridge Road, Missouri City, Texas 77489 USA Telephone: 1-713-283-9970 Fax: 1-281-416-2806 E-mail: info@bipom.com W eb: www.bipom.com This document is available for download from www.bipom.com Overview Micro-controllers are useful to the extent that they communicate with other devices, such as sensors, motors, switches, keypads, displays, memory and even other micro-controllers. Many interface…

    • 2361 Words
    • 10 Pages
    Satisfactory Essays
  • Powerful Essays

    TABLE OF CONTENT CHAPTER NO. | TITLE | PAGE NO. | | ABSTRACT | | | LIST OF TABLES | | | LIST OF FIGURES | | 1. | INTRODUCTION | 1 | 2. | THE PROJECT DESIGN | | | 2.1 SCHEMATIC DESIGN | | | 2.2 THEORETICAL ANALYSIS | | | 2.1 PIC PROGRAMMING | | | 2.11 FLOWCHART | | | 2.12 C CODE | | 3. | DISCUSSION & CONCLUSION | | ABSTRACT LIST OF TABLES Table 1: Crystal Information Table 8 LIST OF FIGURES Figure‎0.1 Analog & Digital…

    • 1697 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    Microcontroller A microcontroller (mcu or µc) is a small computer on a single integrated circuit consisting of a relatively simple CPU combined with support functions such as a crystal oscillator, timer, watchdog, I\O etc. Microcontrollers are designated for small applications. Thus, in contrast to the microprocessors used in personal computers and other high performance applications, simplicity is emphasized. Microcontrollers operate at frequency as low as 12 MHz, as this is adequate for many…

    • 567 Words
    • 3 Pages
    Good Essays
  • Good Essays

    selector. Simplified block diagram of remote control is shown in Fig.5. Atmel microcontroller is used in the design process of remote control. These types of microcontroller provide justified technology, an affluent efficiency in integrated product designs, and breaking innovation. The technology of capacitive touch in microcontroller supports to develop navigators like buttons. Furthermore, Atmel microcontrollers provide wireless and security support. The liquid…

    • 1314 Words
    • 6 Pages
    Good Essays
  • Powerful Essays

    References: [1] Microchip. (n.d.). Tips and Tricks. [2] PIC16F62X Datasheet. (n.d.). Microchip . [3] Predko, M. (2007). Programming and Customising the PIC microcontroller. McGraw Hill. [4] Velleman. K8048 Manual. Velleman.…

    • 6341 Words
    • 26 Pages
    Powerful Essays