Preview

Microprocessor

Powerful Essays
Open Document
Open Document
9724 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Microprocessor
2012

EC 2308

MICROPROCESSOR & MICROCONTROLLER LABORATORY

1
NSCET

NADAR SARASWATHI COLLEGE OF ENGINEERING AND TECHNOLOGY VADAPUDUPATTI, THENI DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC 2308 – MICROPROCESSOR AND MICROCONTROLLER LAB V SEMESTER 2012-2013

Prepared by Venkatesh.T (AP/ECE) Carol Praveen.R (AP/ECE)

2

NADAR SARASWATHI COLLEGE OF ENGINEERING AND TECHNOLOGY VADAPUDUPATTI, THENI DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING ---------------------------------------------------------------------------------------------------------------Subject code: EC 2308 Subject : MICROPROCESSOR AND MICROCONTROLLER LAB

List of Experiments:
 Programs for 16 bit Arithmetic operations (Using 8086).  Programs for Sorting and Searching (Using 8086).  Programs for String manipulation operations (Using 8086).  Programs for Digital clock and Stop watch (Using 8086).  Interfacing ADC and DAC.  Parallel Communication between two MP Kits using Mode 1 and Mode 2 of 8255.  Interfacing and Programming 8279, 8259, and 8253.  Serial Communication between two MP Kits using 8251.  Interfacing and Programming of Stepper Motor and DC Motor Speed control.  Programming using Arithmetic, Logical and Bit Manipulation instructions of 8051 microcontroller.  Programming and verifying Timer, Interrupts and UART operations in 8051 Microcontroller.  Communication between 8051 Microcontroller kit & PC.

3

EXPT NO:

8086 PROGRAMMING ADDITION & SUBTRACTION

DATE:

AIM: To write an Assembly Language Program (ALP) for performing the addition and subtraction operation of two byte numbers. APPARATUS REQUIRED: SL.NO ITEM 1. Microprocessor kit 2. Power Supply SPECIFICATION 8086 kit +5 V dc QUANTITY 1 1

PROBLEM STATEMENT: Write an ALP in 8086 to add and subtract two byte numbers stored in the memory location 1000H to 1003H and store the result in the memory location 1004H to 1005H.Also provide an instruction in the above program to

You May Also Find These Documents Helpful

  • Powerful Essays

    En1320 Unit 1 Research Paper 1

    • 27742 Words
    • 111 Pages

    write back the result to memory. The complete assembly program to compute the value of…

    • 27742 Words
    • 111 Pages
    Powerful Essays
  • Better Essays

    Assembly language enables programmers to relate op codes using symbolic names in place of numbers to perform an instruction or input a piece of data. Programmers can inscribe op codes using purposeful words like JUMP, CLEAR, and ADD as an alternative to cryptic binary codes consisting of series of 0s and 1s. An example of assembly language, machine language and its meaning are listed in the book called, “Invitation to Computer Science” (Schneider & Gersting, 2013, pp. 285, fig. 6.5). In figure 6.5, assembly language is clearly easier to comprehend than machine language, which makes assembly language user friendly.…

    • 2002 Words
    • 9 Pages
    Better Essays
  • Good Essays

    Programming Homework

    • 366 Words
    • 2 Pages

    The variables in this program will be declared are num_1, num_2 and will be used as integers.…

    • 366 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    • Conducted qualitative market research with sales team and project team identifying 20% loss of revenue due to data security issues, and identified opportunity for a data security solution.…

    • 326 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Bit Manipulation

    • 11543 Words
    • 47 Pages

    Manipulating bits in memory is, perhaps, the thing that assembly language is most famous for. Indeed, one of the reasons people claim that the “C” programming language is a “medium-level” language rather than a high level language is because of the vast array of bit manipulation operators that it provides. Even with this wide array of bit manipulation operations, the C programming language doesn’t provide as complete a set of bit manipulation operations as assembly language. This chapter will discuss how to manipulate strings of bits in memory and registers using 80x86 assembly language. This chapter begins with a review of the bit manipulation instructions covered thus far and it also introduces a few new instructions. This chapter reviews information on packing and unpacking bit strings in memory since this is the basis for many bit manipulation operations. Finally, this chapter discusses several bit-centric algorithms and their implementation in assembly language.…

    • 11543 Words
    • 47 Pages
    Better Essays
  • Powerful Essays

    Tariq Waheed in supervision of Dr. Xiang Cheng Department of Electrical and Computer Engineering, National University of Singapore Engineering Drive 3 Singapore 117576, Email: tariq@nus.edu.sg…

    • 5277 Words
    • 22 Pages
    Powerful Essays
  • Powerful Essays

    Assistant Professor, Deptt. of Electrical Engineering, Baba Hira Singh Bhattal Institute of Engg. & Technology, Lehragaga, Punjab, India. 2 Associate Professor, Deptt. of Electrical Engineering, Baba Banda Singh Bahadur Engineering College, Fategarh Sahib, Punjab, India. 3 Assistant Professor, Deptt. of Electrical Engineering, Baba Hira Singh Bhattal Institute of Engg. & Technology, Lehragaga, Punjab, India.…

    • 3147 Words
    • 13 Pages
    Powerful Essays
  • Good Essays

    ADDIW performs the addition of contents present in rs1 and the immediate data after padding the 12 sign bits upper. Only the 32 LSBs are stored of the result by sign extension overlooking the overflown ones.…

    • 749 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Mass and Energy in Light

    • 3018 Words
    • 13 Pages

    Arul Prasath .K School of Electronics Science, VIT University, Vellore - 632014, TamilNadu, India Arulprasath.kvit01@gmail.com;…

    • 3018 Words
    • 13 Pages
    Powerful Essays
  • Powerful Essays

    Improve Supply Chain

    • 2500 Words
    • 10 Pages

    Panthip Pothitong Assumption University Email: panthip_pothitong@yahoo.com Chayakrit Charoensiriwath, Ph.D. National Electronics and Computer Technology Center Email: chayakrit.charoensiriwath@nectec.or.th…

    • 2500 Words
    • 10 Pages
    Powerful Essays
  • Good Essays

    Uniprocessor Scheduling

    • 1838 Words
    • 8 Pages

    Seoul National Univ. of Science and Technology Dept. of Electrical and Information Engineering Prof. Choi, Byoung- Wook http:/ / embedded.seoultech.ac.kr @bwchoi2, bwchoi@seoultech.ac.kr…

    • 1838 Words
    • 8 Pages
    Good Essays
  • Powerful Essays

    SCB 1

    • 9465 Words
    • 35 Pages

    “SUPERCAPACITORS AND BATTERY POWER MANAGEMENT FOR HYBRID VEHICLE APPLICATIONS USING MULTI BOOST AND FULL BRIDGE CONVERTERS”…

    • 9465 Words
    • 35 Pages
    Powerful Essays
  • Satisfactory Essays

    Micr

    • 587 Words
    • 3 Pages

    In real world , security is a major concern in our day-today life. Everyone wants to be as much secure as possible. An access control for doors forms a vital link in a security chain. The microcontroller based digital lock for doors is an access control system that allows only authorized persons to access a restricted area. The system is fully controlled by the 8 bit microcontroller AT89C2051 which has a 2Kbytes of ROM for the program memory. The password is stored in the EPROM so that we can change it at any time. The system has a Keypad by which the password can be entered through it. When the entered password equals with the password stored in the memory then the relay gets on and so that the door is opened. If we entered a wrong password for more than three times then the Alarm is switched on.…

    • 587 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Android Gps

    • 9961 Words
    • 59 Pages

    Thesis submitted in May, 2013 in partial fulfilment of the requirements for the degree of…

    • 9961 Words
    • 59 Pages
    Good Essays
  • Powerful Essays

    80286

    • 1176 Words
    • 5 Pages

    The needs of a multitasking/multiuser operating system include environment preservation during task switches, operating system and user protection, and virtual memory management. The Intel 80286 was the first 8086 family processor designed to make implementation of these features relatively easy. The 80286 was used as the CPU in the IBM PC/AT and its clones, in the IBM PS/2 Model 50, and in the IBM PS/1.…

    • 1176 Words
    • 5 Pages
    Powerful Essays