01 (145) - 16.317: Microprocessor Systems Design I Spring...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
16.317: Microprocessor Systems Design I Spring 2012 Lab 1: DOS commands and DEBUG software Due in class , Wednesday, 2/29/12 Objective In this lab, you will learn how to: 1. Execute basic DOS commands: Boot up DOS, edit/save/copy/move/delete a file. 2. Use the DEBUG software: Run/quit DEBUG software, show/modify register content, show/modify flags, dump memory contents, assemble and debug programs. Part 1: DOS commands This part of the lab will familiarize you with MS-DOS commands. Although DOS is a rather old operating system for PCs, it was widely used in 80’s and early 90’s. You will use DOS extensively in this course as you learn 80386 real-mode assembly language programming. You can do the lab using the DOS command-line console on Windows XP. Commonly used DOS commands (reference: http://www.computerhope.com/dostop10.htm ) Command Function dir The dir command allows you to see the available files in the current and/or parent directories dir /p list the directory content and pause for long list cd cd (change directory) switches directories in MS-DOS. For example: cd lab1 Change the directory to lab1 (assuming “lab1” is a sub- directory in the current directory). cd . . Go up one directory level. For example, if the current directory is “C:\Users\John_Smith”, “cd . .” changes directories to “C:\Users”. edit Edit allows a user to view, create and or modify their own files. Alt-F opens the editor menu; where you can save or open another file. copy Allows the user to copy one or more files to an alternate location without deleting the source file. For example, copy file.asm newfile.asm copies “file.asm” to “newfile.asm”. del Deletes files from the computer. Example: del file.asm move Move files/directories from one location to another. For example, move file.asm newfile.asm renames “file.asm” as “newfile.asm”. Can use to move file to new location without renaming it. For example,
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/03/2012 for the course ECON 101 taught by Professor Chuchila during the Spring '12 term at Ave Maria School of Law.

Page1 / 5

01 (145) - 16.317: Microprocessor Systems Design I Spring...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online