Preview

Writing a Program on Window Environment

Satisfactory Essays
Open Document
Open Document
352 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Writing a Program on Window Environment
LAB ASSIGNMENT 1
OBJECTIVE:
1. To let student get skills in writing a Program on Window Environment, Cross Assembled and upload the program to an Intel trainer board.
2. Use the Terminal Commands to:

a. Examine the contents of memory
b. Modify the contents of memory
c. Execute an object program
THEORY:
Assembly Language Programming
The students need to have knowledge about addressing modes, data movement instructions and arithmethic & logic instructions.
Emu8086 IDE
Read the emu8086 operating guide or help file to understand anything and everything about the IDE.
PRE-LAB:
1. Draw the flowchart based on the given task.
2. Explain what the programs do.

TASK 1:
Write a program, starting at location $00001000, which will add together the long word at location $00002100, the word at location $00002110 and the byte at location $00002120. The result should then be saved in location $00002130.
TASK 2:
By using the above written program. Load location $00002100 with the value $02D51B27, location $00002110 with the value $4EFB and location $00002120 with the value $2C. Run your program and examine the contents of location $00002130.
TASK 3:
Write a program using indirect and other addressing modes which will add the value 1234 to the word at memory location $00003030. The contents of location $00003032 should then be substracted and the final result saved in location $00003034.
2
Load location $00003030 with $0E29 and location $00003032 with $184C. Run your program and examine the contents of memory location $00003034. Enter the word which you find in this location.
REFERENCES:
1. Walter A. T. , Avtar S.2002. The 8088 and 8086 Microprocessors: Programming, Interfacing, Software, Hardware and Applications (4th Edition). Prentice Hall.
2. Brey B.B. 2008. Intel Microprocessors, The (8th Edition). Prentice Hall.
3. Mazidi M. A. , Mazidi J. , Causey D. 2009. The x86 PC: Assembly Language, Design, and Interfacing,(5th



References: 1. Walter A. T. , Avtar S.2002. The 8088 and 8086 Microprocessors: Programming, Interfacing, Software, Hardware and Applications (4th Edition). Prentice Hall. 2. Brey B.B. 2008. Intel Microprocessors, The (8th Edition). Prentice Hall. 3. Mazidi M. A. , Mazidi J. , Causey D. 2009. The x86 PC: Assembly Language, Design, and Interfacing,(5th Edition). Prentice Hall. 4. Kleitz W. 2002. Digital and Microprocessor Fundamentals: Theory and Application (4th Edition). Prentice Hall. 5. Brey B.B. 2007. INTEL Microprocessors 8086/8088, 80186/80188, 80286, 80386, 80486, Pentium, Prentium ProProcessor, Pentium II, III, 4 (7th Edition) Prentice Hall

You May Also Find These Documents Helpful

  • Powerful Essays

    Microsoft, (2006), Knowledge base article 99588, Hardware abstraction layer (HAL), Retrieved July 21, 2007 from: http://support.microsoft.com/kb/99588…

    • 2709 Words
    • 11 Pages
    Powerful Essays
  • Better Essays

    Open vs Closed Systems

    • 1153 Words
    • 5 Pages

    Stallings, W. (2012). Operating systems: Internals and design principles (7th ed.). Retrieved from The University of Phoenix eBook Collection database..…

    • 1153 Words
    • 5 Pages
    Better Essays
  • Powerful Essays

    Located in the internal memory is where the list of instructions (computer programs) is stored on a hard drive. The hard drive is a semi-permanent storage area of a computer. There computer programming languages can be added, deleted or modified by the user to perform a variety of operations and task.…

    • 1318 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Chapter 2: Data Manipulation Computer Science: An Overview Eleventh Edition by J. Glenn Brookshear Copyright © 2012 Pearson Education, Inc. Chapter 2: Data Manipulation • • • • • • 2.1 Computer Architecture 2.2 Machine Language 2.3 Program Execution 2.4 Arithmetic/Logic Instructions 2.5 Communicating with Other Devices 2.6 Other Architectures Copyright © 2012 Pearson Education, Inc. 0-2 1 Computer Architecture • Central Processing Unit (CPU) or processor – Arithmetic/Logic unit versus Control unit – Registers • General purpose • Special purpose • B Bus • Motherboard Copyright © 2012 Pearson Education, Inc. 0-3 Figure 2.1 CPU and main memory connected via a bus…

    • 783 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    In our failed efforts to put an end to poverty in America, it is still remains alive and well, leaving millions of Americans to subject themselves to strenuous acts just to feed themselves and their families. The problem of persistent poverty is a complex one that makes people living in America finding themselves unable to make ends meet, for themselves in the competitive, through no fault of themselves.…

    • 68 Words
    • 1 Page
    Good 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
  • Good Essays

    Essay On Jewish Culture

    • 393 Words
    • 2 Pages

    The world’s culture was changed by the Holocaust because people understood more about the Jews. The Holocaust showed people how much Jews were suffering. They had been tortured and undernourished during the Holocaust. However, this helped people why Jews act the way they do. Because of this understanding, after the Holocaust Jews were quite successful in America. Some even got Jobs like a Senator and some have even been awarded the Medal of Honor. Even though the Holocaust was horrifying, it started a unifying between races.…

    • 393 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    For the hexadecimal main memory address 111111, 666666, BBBBBB, show the following information, in hexadecimal format:…

    • 1443 Words
    • 6 Pages
    Powerful Essays
  • Better Essays

    The MMX instruction set has a simple and flexible software model with no new mode or operating-system visible state. The MMX…

    • 821 Words
    • 4 Pages
    Better Essays
  • Better Essays

    Actually we know in order to give directions or data values to the users, many of the microprocessor-controlled instruments and machines need to display the letters of the alphabets and the numbers, if some large amount of the data is needed to be displayed there the CRT is used…

    • 1660 Words
    • 7 Pages
    Better Essays
  • Best Essays

    [11] T. Slegel et al, “IBM’s S/390 G5 microprocessor design,” in IEEE Micro, 19, pp. 12-23, 1999.…

    • 4208 Words
    • 17 Pages
    Best Essays
  • Powerful Essays

    Microprocessor 8086

    • 6994 Words
    • 28 Pages

    This unit explains how to design and implement an 8086 based microcomputer system. To design an 8086 based system, it is necessary to know how to interface the 8086 microprocessor with memory and input and output devices. Due to the mismatch in the speed between the microprocessor and other devices, a set of latches and buffers are required to interface the microprocessor with other devices. In this unit, you will learn about the way in which address/data buses, latches and buffers are used in the process of interfacing. To understand the interfacing principles and concepts it is necessary to learn the various types of bus cycles and bus timings. Overall, this unit makes you to understand how 8086 microprocessor is interfaced with memory and peripherals and how an 8086 based microcomputer system works.…

    • 6994 Words
    • 28 Pages
    Powerful Essays
  • Powerful Essays

    Microprocessor

    • 9724 Words
    • 39 Pages

     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.…

    • 9724 Words
    • 39 Pages
    Powerful Essays
  • Good Essays

    The History of Computer

    • 682 Words
    • 3 Pages

    (8 December 2012). What computer was produced by J.Presper Eckert and John Mauchly? Retrieved 20 October 2012 from the world wide web of: http://en.wikipedia.org/wiki/J._Presper_Eckert…

    • 682 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Tablet Pc

    • 4160 Words
    • 17 Pages

    Remember the good old days when a bulky machine called a PC was something meant only for geeks. The 8086, 286, 386, 486 and the Pentium revolutionized the world of computing, but only for a short period of time.…

    • 4160 Words
    • 17 Pages
    Better Essays