we are going to write our Assembly language program as sample ex01.asm. So that we can attempt our assigment.

Slides:



Advertisements
Similar presentations
Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
Advertisements

How to use - A Powerful Tool
Macintosh OS X. What is an operating system? O Like cars, computers have operating systems (sometimes abbreviated OS). O A computer operating system is.
BASIC COMPUTER SKILLS Instructional Support Services Isaac and Kaitlin.
Introduction to Windows File Management
File Management It’s a Window’s Thing The File Cabinet  The Computer is the entire cabinet and each folder is a drawer. Just like file cabinets, the.
Using Pine to send your ICS111 homework First Log in into UNIX using SSH either from home (If you have previously installed SSH or from the Lab. Once in.
Activity One Use the Windows Explorer program to create a new folder. Name the folder by your first name. Click on the windows explorer icon then highlight.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
Microprocessor Simulation
Scite Scintilla integrated text editor. Click here.
Web Page Design Tips & Tricks Layering Choose Insert – Layout Objects – Layer Click anywhere along the outline of the layer box to select it Click &
The Internet. Telnet Telnet means using your computer as a terminal. All commands you type are sent to the host computer you are connected to and executed.
Beginning A PowerPoint Presentation  To begin click on the Windows 2000 folder. Then double click on PowerPoint. If you do not see a Windows 2000 folder.
How to install the Zelle graphics package
SOUL INSTALLATION Step-1 For this Please Install the Version 7.0 or SQL Server 2000 or onwards.
TO A CD.  DATA CAN BE LOST DUE TO ◦ POWER SURGES ◦ MANUFACTURING DEFECTS ◦ HURRICANES/LIGHTENING STRIKES.
How to Use The Borland C++ Compiler Version 5
How to install windows 7&8 from usb flash drive.  Presented by Rishikesh kumar.
File Management and Organisation © Copyright William Rowan 2007.
Editing Java programs with the BlueJ IDE. Working environments to develop (= write) programs There are 2 ways to develop (write) computer programs: 1.Using.
Spreadsheet. Objectives Create a new blank workbook. Create a new blank workbook. Identify user interface elements that you can use to accomplish basic.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Hello World In C++ and Microsoft Visual C++. Directions to begin a project 1. Go to All Programs 2. Open Visual Studio C++ 3. Click on New Project 4.
Installing the SAFARIODBC.EXE For use with Excel May 3, 2002.
All About Me An Introduction To Opening And Saving Student Work.
1 Workshop 4 (B): Visual Basic Test Project Mahidol University June 13, 2008 Paul Evenson University of Delaware Bartol Research Institute.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Ch 101 Chapter 10 Introduction to Batch Files. Ch 102 Overview A batch file is a text file that contains an ordered series of commands.
Shell Scripting Introduction. Agenda What is Shell Scripting? Why use Shell Scripting? Writing and Running a Shell Script Basic Commands -ECHO - REM.
Batch File Basics Automate repetitive computer processes Friday, March 12, 2014 Presented by Thomas Redd, STS, Granite School District.
Basic Computer and Word Functions, part 1 Read the information and use to answer the questions in the Basic Computer and Word Functions Study Guide.
CPS120: Introduction to Computer Science Compiling Your Programs Using Visual C++
Windows Tutorial Common Objects ACOS: 1, 4. Using the Taskbar 1. Using the taskbar, you can switch between open programs and between open documents within.
Program Design and Coding
Microsoft Visual Basic 2010 CHAPTER THREE Program Design and Coding.
Active-HDL Interfaces Debugging C Code Course 10.
MICROSOFT WORD TRAINING Lesson 1. Lesson 1: Getting Familiar with Microsoft Word 2007  Microsoft Word is a word processing software package. You can.
CMPS 1371 Introduction to Computing for Engineers MatLab.
Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Basic Computer and Word Functions, part 1 Read the information and use to answer the questions in the Basic Computer and Word Functions Study Guide.
DOS and the Command Line CS 21a: Introduction to Computing I Department of Information Systems and Computer Science Ateneo de Manila University.
© 2010 Pearson Education, Inc. | Publishing as Prentice Hall1 Computer Literacy for IC 3 Unit 2: Using Productivity Software Chapter 1: Starting with Microsoft.
DOS and the Command Line CS 21a: Introduction to Computing I First Semester,
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
All sections to appear here Welcome to my pptPlex Slide Show, this can be executed in either two ways: 1.As a normal PowerPoint slide show: Example hit.
1 After completing this lesson, you will be able to: Get around the Internet with your browser. Connect to the Internet. Print Web pages. Save Web pages.
THE C PROGRAMMING ENVIRONMENT. Four parts of C environment  Main menu  Editor status line and edit window  Compiler message window  “Hot Keys” quick.
How to Execute TSR Program. Install Borland C++ Download Borland C++ from LMS – oads/BORLANDC.rarhttp://vulms.vu.edu.pk/Courses/CS609/Downl.
How to use the Hand-In Folder. Click on the Folder icon at the bottom of the screen.
How to Execute first program in Borland C++. Install Borland C++ Download Borland C++ from LMS – rland%20C++%20V3.1.ziphttp://vulms.vu.edu.pk/Courses/CS609/Downloads/Bo.
1. Starting 1 Let’s Learn Saenthong School, January – February 2016 Teacher: Aj. Andrew Davison, CoE, PSU Hat Yai Campus
Word 2010 Headers and Footers You can make your document look professional and polished by utilizing headers and footers. The header is a section of the.
Windows Installation Tutorial NASA ARSET For Python help, contact: Justin Roberts-Pierel
TUTORIAL HOW TO INSTALL & USE DOSBOX ON 64-BIT OPERATING SYSTEM.
Mouseless Computing For Windows OS After completing this tutorial you will be able to navigate your computer using keyboard shortcuts.
Steven Geisel Gabe Owens.  Angry IP Scanner is an open-source and cross-platform network scanner  Features include IP Address scanning, port scanning,
SETTING UP NEW PROJECT IN CUBASE – (I’VE USED CUBASE BEFORE) MUSIC TECH.
Click on the button Start.
How to fix Avast Antivirus Error  First of all, you need to click the “Start” button.  In the search box, type "command."  Hold down the CTRL-Shift.
CSC235 - Visual Studio Tutorial
How to Execute TSR Program
Scripts In Matlab.
How to Execute TSR Program
More to Learn Creating a shortcut
Instructions for Data Base
Executive Reports, Instructions and Documentation
Presentation transcript:

we are going to write our Assembly language program as sample ex01.asm. So that we can attempt our assigment.

Right click any where on white area, choose New and then Click on Text Document as shown.

Here a new Text Document has been created. Double click on it to open it.

Type in these instructions in the Text file as shown. This program is exactly same as ex01.asm in handouts. You can see.

After Typing these instructions, click on File menu, choose Save As… as shown.

Named it as ex01.asm as shown and click on Save. Note that the file is being saved in our Assembly folder. Don’t forget to change Save as type to All Files.

Our First Assembly Program named as ex01.asm is successfully being saved inside Assembly folder.

Goto Start menu and click on Run.

Type in here “cmd” and press enter key on keyboard to open DOS prompt.

First I typed “D:” in order to switch to D: drive Then I typed “cd Assembly” command in order to go inside our Assembly folder. The command “nasm ex01.asm –o ex01.com –l ex01.lst” will create two files “ex01.com and ex01.lst” if executed successfully and we will get our command prompt back without any error messages.

Next, we are going to execute ex01.com program and open it in the Debugger.

First I typed in Ex01.com and hit enter key. The program is executed but displayed nothing as there is no input/output instruction in our program. Next I type the command “afd ex01.com” and press enter. It will open our AFD debugger window with ex01.com loaded.

This is how our AFD debugger looks like. You can see that ex01.com is loaded properly inside it. To execute its instructions one by one, press F2 key on keyboard.

I have pressed F2 key once and you can see that now our second instruction is highlighted. Similarly, keep on hitting F2 key until all instructions are executed.

This message shows that our program has terminated properly. All instruction are executed.