Laboratory 1 Introduction to Microprocessors

Size: px
Start display at page:

Download "Laboratory 1 Introduction to Microprocessors"

Transcription

1 Department of Electronics Laboratory 1 Introduction to Microprocessors Record of Changes REV By Description Issue Date 4.1 MR Reformatting Aug 25, TP Changed trigger terms to table, added more detail for inserting trigger level, added note in part 2 procedure 4.3 TP some references changed to Table 1, changed the labels needed, added info on using scroll wheel when assigning pins Sep 12, 2013 Sep 17, 2013

2 Introduction This lab will introduce various concepts related to microprocessors: How to test and debug simple code for a given microprocessor, in this case an AM386SX-40 (one of the early variations of the classic 80x86 processor. The idea of addressing and communicating with devices that are electrically connected to the address/data/control buses of the microprocessor using memory-mapped or I/O mapped operations How to operate a logic analyzer, that lets you capture and evaluate these microprocessor bus signals The idea that the execution of code, even a single instruction, results in the generation of electrical signals that you can use as inputs to your own digital circuitry in order to cause something to happen Please note that there is additional support information and software available to you from the course website that you should carefully review before attempting this lab. Hardware HP 16500B/C Logic Analyzer AM386SX-40 based single board computer (PC/104 SBC) The single board computer (SBC) uses a PC/104 industrial interface bus (a derivative of the classic ISA bus) as a peripheral device bus and the DOS operating system. Microsoft DOS has network functionality to allow you to network to a more sophisticated Windows based network for file transfer and, more importantly, it allows you to have direct access to all the hardware attached to the SBC without having to work with setting up access permission from the operating system. This is pretty much a standard embedded microprocessor development setup. Logic analyzer Logic analyzers are used to capture and store the states of a large number of time related signals and then examine the relationship of these signals to each other. They are pretty much like digital cameras for digital signals with a variable flash rate (sampling rate) and a fixed memory card size (finite memory) that can be commanded to take a series of snapshots when certain conditions occur (trigger conditions); e.g. you can trigger a capture of all signals when two of the signals have a particular logical state, or when a particular hexadecimal value appears on the address or data bus. Note that if you take a lot of very fast snapshots you are limited by memory to a small time window that you can look at. If you take slow snapshots, you have a bigger time window for examination but you may miss fast changing signals.

3 PC/104 PC/104 is an industrial standard that defines how the bus signals from a microprocessor are brought out to particular pins of a particular connector having a very well defined size and shape. If you follow this standard, you can create boards and devices that will connect to any micro-computer that follows the standard. For the purposes of this lab, you need only consider it as a convenient way to bring the signals from the microprocessor out to place where the logic analyzer can connect to them. Part 1: Setting up the Logic Analyzer PRELAB In this lab you will have to label and assign pins to the logic analyzer. It is important to save time by already knowing which pins you will need to assign, and what pod they should be on (refer to Table 1). You should also be aware of what the TRIGGER is/does on both the logic analyzer and oscilloscope. Procedure Figure 1 HP16500B System Configuration screen 1. Before we start, we are going to need an executable program that will write data to memory and to the screen to give the logic analyzer to trigger on. The executable program should be on CULearn. If it isn t, go to Appendix A; it gives instructions on how to create it. Once you have a working program, leave it on in a convenient place on your H: networked drive so that the PC/104 computer can see it. 2. Click on the top left System icon, and select the 100/500MHz LA A option from the dropdown list.

4 Note that the last A of this title may also be a D/E/something-else and just reflects the version number of the interface board plugged into the back of the logic analyzer. 3. Select the button to the right of the 100/500MHz LA A and 4. Choose the Configuration option, usually at the top of the dropdown list. 5. Move all of the Pods 1-3 under Analyzer 1 by pressing on the Pod icon, and selecting MACHINE 1 from the list (in Figure 2 below its ISA_TM; you can edit the name). If two analyzers are being used select the Pods as needed. If you look at the back of the PC/104 SBC, you will see 3 pods which connect to the Logic Analyzer. 6. Ensure that the Type of the Analyzer is set to Timing At this point, your setup should appear similar as shown in Figure 2 below: Figure 2 Analyzer POD Configuration 7. Select the Configuration button and, 8. From the dropdown list, select the Format option. This Format window is used to select the pods and pins to be used, and how they are labeled. Please refer to Table 1 for the appropriate pin assignments.

5 Figure 3 Formatting pod connections screen Setting up the PODs and Pins Familiarize yourself with what s on the screen of the logic analyzer. You will notice labels running down the left of the screen (see Figure 3 above). 1. Press the first label in the list (usually Lab1 or something similar) and 2. Select Modify Label. 3. Rename it to SDATA. Press Labels and you can scroll using the dial on the right of the screen to scroll through up to 126 labels (which can be renamed to individual/grouped bus lines) 4. Press on Pods, and 5. Use your cursor wheel to scroll through PODs 1-3, and the Clock Inputs. The pods shown correspond to the ones selected in the Configuration view. Note, depending on your version of the logic analyzer, the first letter of the POD name might also be D or E or just something other than A (i.e. E1, E2). 6. Rename the labels to accommodate the SDATA and SADDR lines that need to be used, as well as SYSCLK, MEMR, MEMW, IOR, and IOW (as shown in Table 1). The other bus lines will be used in another lab. Quick hint, we can group signal lines to labels. If you look at Table 1 below, you ll note that POD 1 has data lines SDO to SD15, we can assign the data line to one label and it will appear as a BUS. The same goes for the IRQ4 to 7 lines, the MEMR and MEMW lines, and the SA0 to SA19 line; we can create labels and group pins to them for convenience.

6 Assigning the pins to the labels In the Format view, under each Pod, in blue is a listing of These correspond to the pins of each Pod. For example, looking at Table 1, you will see that for Pod 1, all pins (0 through 15) are assigned to SDATA. An asterisk * denotes that this pin is assigned to the label. 1. Along the SDATA row, press on the corresponding Pod 1 segment; pop-up edit dialog appears in blue with a row of asterisks. You can set all of the pins to *. In the pop-up window, repeatedly selecting CLEAR will toggle all the pins between assigned and unassigned. You can use the scroll wheel on the front of the machine to move the cursor to a specific pin. 2. For all of your other labels, make the correct pin assignments (according to Table 1); have a TA verify this.

7 Table 1 : Logic Analyser POD connections to Processor Buses Channel Number [Pin #] POD 3 POD 2 POD 1 Clock Inputs Pin Name Pin Name Pin Name Pin Name MISC ADDR DATA GND GND GND GND 0 SA16 SA0 SD0 1 SA17 SA1 SD1 2 SA18 SA2 SD2 3 SA19 SA3 SD3 4 IRQ4 SA4 SD4 5 IRQ5 SA5 SD5 6 IRQ3 SA6 SD6 7 IRQ7 SA7 SD7 8 MEMR SA8 SD8 9 MEMW SA9 SD9 10 BALE SA10 SD10 11 REFRESH SA11 SD11 12 AEN SA12 SD12 13 OSC SA13 SD13 14 SYSCLK SA14 SD SA15 SD15 J IOR K IOW L - M - N - P - Note : Clock Inputs are at the end of the scrollable list of PODS

8 Figure 4 Format Layout (example only) Note the following about Figure 4: - If the control is coloured blue, you can likely touch it on the screen and change its properties - In the Pod labels ( Pod A3, Pod A2 etc.) the number is the important part. The actual alphabetic character may be different from that shown since the character code relates to the version of the logic analyzer itself - The signal group labels (which can refer to a single signal on a single pod or a cluster of signals across several pods) are shown in the leftmost column - The array of blue touchable buttons with the dots (. ) and asterisks ( * ) is used to assign one or more pins of the selected POD to a particular label At this point you have defined the electrical connections. Signals of interest on the microprocessor bus are connected to actual inputs on the logic analyzer. Setting up Triggers Since the logic analyzer doesn t have infinite memory, you have to very precisely define when exactly you want to take a snapshot of the signals that you are interested in. This process involves setting up the logical conditions that trigger the first snapshot. Snapshots will then be taken at a speed that you define until memory is full. The trick is to define the speed of the snapshots so that snapshots occur fast enough to see what you want over a fixed period of time too fast and you may not see how the signals are related, too slow and you may not see the fast signals that you are interested in. To debug embedded systems, it is necessary to monitor the real

9 time behavior of the data signals passing through the bus. The logic analyzer captures the data both prior to and following the triggered trace point. The most commonly used trigger signals are the bus data WRITE and READ signals since conversations between the microprocessor and the peripheral device always involve these signals. For this demonstration, we are going to generate and capture some memory mapped I/O cycles (the 80x86 is capable of both memory-mapped I/O and port-mapped I/O); i.e. reads and writes of the video memory used to produce the text display that you are seeing on the monitor attached to the PC/104 computer. To generate the reads and writes to video memory, we are going to run a program (see Appendix A: Assembling and linking the part 1 executable) LAB1A.EXE that will write Hello World, Welcome to ELEC4601!!! to the screen of the PC/104 computer. You will set up the logic analyzer trigger to start acquiring data when Hell (you re in fourth year right?) appears in order on the data bus. Setting up the trigger can be performed in the following steps: 1. Press the Format icon and move to the Trigger menu. Figure 5 Trigger Layout (EXAMPLE ONLY) 2. Set the state(s) you are looking for in each signal. Look at Figure 5 above and note the Terms; we are interested in: a, b, c, and d. The Label and Terms form a matrix of conditions that the trigger uses to take a snap shot; for example: a = SDATA AND SADDR AND IRQ3_7 AND IRQ9_C. If you want it to ignore the label for a specific condition, press on the value and select CLEAR. It will change the value to all X s.

10 What we have so far to do is set up the terms as shown in the following table: Triggering at Hello : Terms SDATA SADDR Note: a XX48 B8XXX triggering on H b XX65 B8XXX e c XX6C B8XXX l d XX6C B8XXX l 3. Insert trigger levels. There are a number of macros you can use, or you can make your own. For simplicity, we can use two built-in trigger macros. We set a trigger to find "a" for 8ns, and then trigger (capture a waveform) on b. You can add more trigger levels by pressing Modify Trigger, then choose Add sequence level, from the list choose Basic Macro 2. Find pattern present/absent for > duration. Make sure to use the present condition, not absent. In the end you should have 4 sequence levels as follows: Timing Sequence Levels: 1 Find a present for > 8ns 2 Find b present for > 8ns 3 Find c present for > 8ns 4 TRIGGER on d present for > 8ns 4. Click the RUN icon, and then execute the LAB1A.EXE program from the DOS prompt on the PC/104 computer. The waveform window should appear similar to the screen shown in the figure below: Figure 6 Waveform Display

11 5. You can save the screen shown on the logic analyzer using either of the following, however the floppy disk is the preferred method as X window crashes some times: the X Windows support available on the logic analyzer (see Appendix B: Setting up the X- Windows connection), and then using the Windows Snipping Tool program to capture the image. Writing your verified waveform to a floppy disk (Do this by selecting PRINT Print Disk. Set the Output Disk to Flexible disk. MAKE SURE TO CHANGE THE FILE NAME EACH TIME, OR YOU WILL OVERWRITE YOUR PREVIOUS IMAGE) 6. You need to save the configuration that you have entered for the next lab, look at the procedure detailed in Appendix C: Saving/Retrieving Configuration. Question How long does one complete memory-mapped I/O cycle to video memory take (ask the TA if you re not sure of the definition of a data cycle)? What is the frequency of the reference SYSCLK? Explain clearly the reason for the values shown on the captured display for the signals that you are looking at, specifically MEMR, MEMW, SDATA and SADDR. BONUS a. Run your trigger on the logic analyzer. b. Type in CLS in DOS, and run your executable. c. Click on Acq. Control and set it to Manual. Set the Sample time to 256ns. d. Find the time between each of the characters displayed e. Set Acq. Control back to 8ns. Hit enter repeatedly till you reach the last line of the screen, and trigger and run your executable again. f. Find the time between the characters H, E, L, L, and O. g. So what s up (it is related to the graphical display and how it synchronizes output to an old fashioned CRT monitor. A search for topics related to IBM-PC displays, CGA and snow will help ) Part 2: Investigating Port-mapped I/O The other technique used to talk with peripheral devices on the 80x86 buses is referred to as port-mapped I/O. This involves talking to a device using only IN and OUT opcode instructions (there are actually a few more such as INS and OUTS, but they operate in basically the same way). Memory-mapped I/O can use any instruction that involves memory operations (there are lots), port-mapped I/O is restricted to a smaller and less powerful instruction set. Memory mapped I/O uses the full 20-bit address space of the processor and produces MEMR and MEMW strobe signals. Port mapped I/O uses a smaller 16-bit address space and produces IOR and IOW strobe signals.

12 For this demonstration, we are going to use the DOS Debug command to create a simple program to flash some LEDs that are attached to the output pins of what is referred to as the printer or parallel port (at input/output port at address 0x0378). Procedure 1. From the PC/104 computer run the DEBUG utility, from the DEBUG prompt type: o to set the state of the LEDs to 0x55 o 378 AA to set the state of the LEDs to 0xAA i 378 to read back the state of the LEDs 2. For each of the examples above, set up the logic analyzer to trigger on these events (note: you will have to alter the trigger levels / terms from what they were in part 1) and capture the waveform screen so that the following are shown in time: the data bus, address bus, and the IOR, IOW, SYSCLK signals 3. Use the logic analyzer to measure the time that it takes to produce one complete I/O cycle; hint, use the markers. Question Capture the timing diagrams for your report. If you do o X and o X378 AA, where X is any hex digit between 0 and F, you should see exactly the same thing each time. What does this tell you about the addressing of the parallel port on this PC? You can also do this in code, using the simple DEBUG assembler and instruction trace features. Start entering assembly code at address 100 by typing in the following: a 100 mov dx,378 in al,dx After the last line, hit enter until you are back at the debug prompt (a dash, - ), then enter t=100 to start tracing the program at address 100, then enter a single t every time after that to trace the next line. 4. Set the logic analyzer to trigger on an IO Read (an active low signal) to address X Put the logic analyzer in run mode, trace the little program above, and note exactly when the logic analyzer triggers.

13 6. Compare this to the results of the i 378 instruction above. Now enter the following: a 100 mov dx,378 mov al,55 out dx,al 7. Set the logic analyzer to trigger on an IO Write (an active low signal) to address X Trace the little program above and note exactly when the logic analyzer triggers. 9. Compare this to the results of the o test above Question Discuss your observations on how the parallel port on the PC is addressed. Report your observations when the logic analyser triggers and compare results from steps six and nine. Part 3 Investigating Video Memory The CGA text mode video memory starts at B800:0000 (20-bit address of 0xB80000). This memory holds all the text characters that you see on monitor attached to the PC/104 computer. Address B800:0000 references the character (one byte) in the upper left corner of the screen. Each line on the display is 80 characters wide. There are 25 lines in the display. Each character is coded with one word one byte of the word is the actual ASCII character code and the other byte of the code is the attribute byte indicating the foreground and background colours of the character. This gives you a memory block which is 80*2*25 or 4,000 bytes in size. Procedure 1. Using DEBUG and some simple assembly code, you now have a relatively easy way to access any character on the screen: a 100 mov ax,b800 mov es,ax mov di,0 mov ax,4235 es: mov [di+640],ax 2. Now start tracing this little program from the beginning: -t=100

14 3. Press t multiple times to step through the program until you get to the last instruction. To run the program again you will have to reset the instruction pointer (IP) back to 100. Question Describe the little change that you see on the screen. Explain it (this requires some thinking). Explain and comment the above lines of code. BONUS With this basic code you can now change any character on the screen and its attributes. Figure out how to change the colour of every character on the screen so that it is WHITE on BLUE instead of LIGHTGREY on BLACK, regardless of what the character itself is. Write-up and Deliverables Where code has been requested, provide a well commented listing and a description of what you see when the code executes Please submit pictures of all waveforms and describe what you see on each and why they appear as they do. Answer any questions asked throughout the lab documentation.

15 Appendix A: Assembling and linking the part 1 executable Introduction From prior courses, you should already have acquired knowledge of how to use debug and how to assemble assembly language source. It would be very useful if you reviewed assembly level programming on the 80x86 as well as your common DOS commands. Below is a sample program that you can practice and run at home, as well as in the lab session. Procedure 1. Download tools.zip from the CULearn website. 2. Extract all the files from tools.zip (from website) into a directory (i.e. H:\BUILD). The files are a subset of the freely available Microsoft MASM assembler that as a minimum you need to assemble and build code. 3. Create a text file and save it as LAB1A.ASM 4. Copy the code below and paste it into a file LAB1A.ASM 5. On the PC/104 computer assemble the program by typing at the DOS prompt: ml LAB1A.asm 6. It produces LAB1A.EXE. 7. To test run it at the DOS prompt; you should see a friendly message at the top of the screen. ;*********** lab1a.asm ************* ; Displays the string (including the spaces) ; at various locations about the screen ; Note: ; - Code uses MASM 6.11 syntax ; - To assemble: ml lab1a.asm ;***********************************.MODEL small.stack 100h.386.data msg DB "Hello World, Welcome to ELEC4601!!!", 0 nsize DW ($ - msg).code _main PROC XOR SI, SI XOR DI, DI MOV MOV DS, DX MOV CX, nsize MOV SI, OFFSET msg MOV DX, 0B800h MOV ES, DX scanloop: MOV AL, byte ptr [SI] MOV byte ptr ES: [DI], AL INC DI INC SI INC DI LOOP scanloop terminate: MOV AX, 4C00h INT 21h _main ENDP END _main

16 Appendix B: Setting up the X-Windows connection Introduction There will be portions of the laboratory demonstration that you will be required to record a timing diagram or configuration screen. The logic analyzer is able to transmit its screen remotely onto a PC screen using X- Windows. How X-Window works is beyond the scope of this demonstration; if you require knowing more, Google it. Establishing a connection Figure 7 Exceed Icon from the Windows desk top Click on the Exceed icon (see above) on the Windows desktop to start the X-Windows Server or open from the Windows menu: Start>>Programs>>Open Text Exceed 14>> Exceed The following window appears: Figure 8 Display manager chooser (don t worry about all the other information in the dialog, we only need Passive mode) It does not matter which host name you use, we are not going to use that information. Click the Passive button from the Display Manager Chooser (see figure 2 above). If it hasn t been done already, turn the Logic Analyzer system is on and boot and wait for it to boot.

17 Currently, in the lab we have two models of Logic Analyzers; the procedures to connect are similar, but the initial configuration screens are different. For the model HP 16500B Logic Analyzer On first boot, the initial configuration screen will appear, touch the Communications button to access the X- Windows interface. Figure 9 HP16500B Main Configuration screen In the communications configuration screen, touch the X Window button to access the X Windows Connect/Disconnect button. Figure 10 HP16500B Communications Configuration Screen

18 Press the Connect button in the X Window Configuration screen, on the PC, a window will appear displaying the same graphic that you see on the Logic Analyzer. Figure 11 HP16500B X-Windows Configuration Screen (Note it is connected to the host PC) For the model HP 16500C Logic Analyzer Press the Connect button on the screen. The display will now be mirrored on the PC where you have started the X-Server. Figure 12 HP 16500C Logic analyzer display (now connected to the Windows PC)

19 When you are done, DO NOT KILL the window (click on the X in the title) mirroring the logic analyzer display; otherwise, you will have to reboot the logic analyzer. Press Disconnect to gracefully close down the server. Appendix C: Saving/Retrieving Configuration Introduction There is no guarantee that your configuration will survive or exist from one lab session to the next. You are going to have to save your configuration onto the 3.5 floppy and transfer it onto the H: network drive via the station lab PC. Procedure Saving your configuration 1. Insert the 3.5 disk supplied by the laboratory technologist into the disk drive of the HP logic analyzer. 2. From the Configuration screen displayed when the logic analyzer first boots up, press the Configuration button; a drop down menu appears. 3. Press the Flexible Disk menu item; a Flexible Disk activity screen appears. Figure 13 Configuration option menu

20 Figure 14 Flexible disk access page 4. Click on the Load button below the System button. A menu list drops down showing more actions. Figure 15 Flexible disk option menu 5. Select Store from the menu list that appears; you re here to store your configuration. Figure 16 Disk action dialog detail 6. Click on the button adjacent to the to file: label ; a text entry interface appears.

21 7. Enter a meaningful name to keep track of your configuration. You can do the same for the file description if you want, this is optional. Figure 17 Disk action file name 8. Click Execute and then Continue to store your configuration. Figure 18 Finished storing the config 9. Remove the 3.5 floppy from the Logic Analyzer and insert it into the Workstation PC. 10. Open Windows Explorer and Click on the Computer icon in the Left hand list; observe the Devices with Removable Storage area, 11. Double Click on the Floppy Disk Drive (A:) item; a new explorer window appears with the items. 12. Create a new directory on your network (H:) drive and copy the files with the name you supplied to the directory for safe storage.

22 Figure 19 Explorer Window Retrieving your configuration 1. The assumption here is that you have already saved your configuration that you have developed previously and need to retrieve it to continue your work. 2. Insert the 3.5 floppy into the Workstation PC computer. 3. Open a Windows explorer window on the workstation and go to the directory on the H: drive that you had previously save the configuration. 4. Copy the configuration files to the 3.5 floppy 5. Start up the Logic Analyzer, once it has finally booted, 6. Insert the 3.5 floppy into the floppy drive of the Logic Analyzer 7. As above, from the startup Configuration screen, select Configuration from the drop down list menu, 8. Select Flexible Disk, the Flexible Disk activity screen appears. 9. Select the Load 10. Press on the All button, a menu appears:

23 Figure 20 Configuration options 11. Select the 100/500MHz LA X E option (note, that the E may be different from machine to machine) 12. Press Execute to retrieve the configuration from disk, the disk LED is on when busy. 13. On completion, the disk LED will be off.

ELEC 4601: Laboratory 1 Introduction to Microprocessors

ELEC 4601: Laboratory 1 Introduction to Microprocessors Department of Electronics ELEC 4601: Laboratory 1 Introduction to Microprocessors Record of Changes REV By Description Issue Date 4.1 MR Reformatting Aug 25, 2013 4.2 TP Changed trigger terms to table,

More information

Lab 2: 80x86 Interrupts

Lab 2: 80x86 Interrupts ELEC-4601: Microprocessor Systems The Point Lab 2: 80x86 Interrupts Writing software to properly respond to a hardware interrupt is fussy. There is a hardware path from the incoming interrupt signal all

More information

Training Kit for HP 1660/70 Series Logic Analyzers

Training Kit for HP 1660/70 Series Logic Analyzers Training Guide Publication Number E2433-97034 First Edition, November 1997 For Safety information, Warranties, and Regulatory information, see the pages behind the Index. Copyright Hewlett-Packard Company

More information

Help Volume Hewlett Packard Company. All rights reserved. Toolsets: IA Format Utility

Help Volume Hewlett Packard Company. All rights reserved. Toolsets: IA Format Utility Help Volume 1997-2002 Hewlett Packard Company. All rights reserved. Toolsets: IA Format Utility Using the IA Format Utility The IA Format Utility tool lets you convert a.r (dot R) file into an inverse

More information

INTRODUCTION. NOTE Some symbols used in this manual CL = Click Left CR = Click Right DCL = Double Click Left = Enter. Page 1

INTRODUCTION. NOTE Some symbols used in this manual CL = Click Left CR = Click Right DCL = Double Click Left = Enter. Page 1 INTRODUCTION OBJECTIVE The purpose of this manual is to provide the student with practical experience in the writing of assembly language programs, and give them background and instructions on how to use

More information

ELEC VIDEO BIOS ROUTINES

ELEC VIDEO BIOS ROUTINES It is less confusing to the user if we remove unnecessary messages from the display before giving information or instructions. At the command prompt, we do this with the DOS command CLS. However, this

More information

Help Volume Agilent Technologies. All rights reserved. Agilent E2485A Memory Expansion Interface

Help Volume Agilent Technologies. All rights reserved. Agilent E2485A Memory Expansion Interface Help Volume 1994-2002 Agilent Technologies. All rights reserved. Agilent E2485A Memory Expansion Interface Agilent E2485A Memory Expansion Interface The E2485A Memory Expansion Interface lets you use the

More information

Intel Architecture Segment:Offset Memory Addressing

Intel Architecture Segment:Offset Memory Addressing Name: Date: Lab Section: Lab partner s name: Lab PC Number: Objectives: Understanding video memory and character mapping of CGA characters in ROM BIOS, using the DOS debug command. Writing simple assembly-language

More information

COE 205: Computer Organization & Assembly Language Introductory Experiment-B By Louai Al-Awami

COE 205: Computer Organization & Assembly Language Introductory Experiment-B By Louai Al-Awami COE 205: Computer Organization & Assembly Language Introductory Experiment-B By Louai Al-Awami Introduction A computer system consists mainly of three components: a Central Processing Unit (CPU), a memory

More information

Experiment #5. Using BIOS Services and DOS functions Part 1: Text-based Graphics

Experiment #5. Using BIOS Services and DOS functions Part 1: Text-based Graphics Experiment #5 Using BIOS Services and DOS functions Part 1: Text-based Graphics 5.0 Objectives: The objective of this experiment is to introduce BIOS and DOS interrupt service routines to be utilized in

More information

Lab 10 CST8214 Ian! D. Allen Fall 2007

Lab 10 CST8214 Ian! D. Allen Fall 2007 Name: Date: Lab Section: Lab partner s name: Lab PC Number: Objectives: Understanding video memory and character mapping of CGA characters in ROM BIOS, using the DOS debug command. Writing simple assembly

More information

VARDHAMAN COLLEGE OF ENGINEERING (AUTONOMOUS) Shamshabad, Hyderabad

VARDHAMAN COLLEGE OF ENGINEERING (AUTONOMOUS) Shamshabad, Hyderabad Introduction to MS-DOS Debugger DEBUG In this laboratory, we will use DEBUG program and learn how to: 1. Examine and modify the contents of the 8086 s internal registers, and dedicated parts of the memory

More information

EXPERIMENT 1. FAMILIARITY WITH DEBUG, x86 REGISTERS and MACHINE INSTRUCTIONS

EXPERIMENT 1. FAMILIARITY WITH DEBUG, x86 REGISTERS and MACHINE INSTRUCTIONS EXPERIMENT 1 FAMILIARITY WITH DEBUG, x86 REGISTERS and MACHINE INSTRUCTIONS Pre-lab: This lab introduces you to a software tool known as DEBUG. Before the lab session, read the first two sections of chapter

More information

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science EECS 150 Fall 2000 Original Lab By: J.Wawrzynek and N. Weaver Edited by B. Choi, R.

More information

Chapter ELEVEN 8255 I/O PROGRAMMING

Chapter ELEVEN 8255 I/O PROGRAMMING Chapter ELEVEN 8255 I/O PROGRAMMING OBJECTIVES this chapter enables the student to: Code Assembly language instructions to read and write data to and from I/O ports. Diagram the design of peripheral I/O

More information

University of Florida EEL 3701 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering Revision 0 12-Jun-16

University of Florida EEL 3701 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering Revision 0 12-Jun-16 Page 1/14 Quartus Tutorial with Basic Graphical Gate Entry and Simulation Example Problem Given the logic equation Y = A*/B + /C, implement this equation using a two input AND gate, a two input OR gate

More information

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science. EECS 150 Spring 2000

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science. EECS 150 Spring 2000 University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science EECS 150 Spring 2000 Lab 1 Introduction to Xilinx Design Software 1 Objectives In this

More information

SIPS - Group. Technical Description May ISA96 Bus Specification V 1.0

SIPS - Group. Technical Description May ISA96 Bus Specification V 1.0 SIPS - Group Technical Description May 1995 ISA96 Bus Specification V 1.0 o:\text\normen\isa96bu1.doc SIPS - Group Specification ISA96-Bus page 1 Contents 1. Notation...3 2. ISA96 Overview...4 2. 1 General...4

More information

Microcomputer Architecture..Second Year (Sem.2).Lecture(2) مدرس المادة : م. سندس العزاوي... قسم / الحاسبات

Microcomputer Architecture..Second Year (Sem.2).Lecture(2) مدرس المادة : م. سندس العزاوي... قسم / الحاسبات 1) Input/output In computing, input/output or I/O, is the communication between an information processing system (such as a computer) and the outside world, possibly a human or another information processing

More information

Help Volume Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16550A Logic Analyzer

Help Volume Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16550A Logic Analyzer Help Volume 1992-2002 Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16550A Logic Analyzer Agilent Technologies 16550A 100 MHz State/500 MHz Timing Logic Analyzer The Agilent

More information

Assembly Language. Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology. Overview of Assembly Language

Assembly Language. Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology. Overview of Assembly Language 4345 Assembly Language Assembly Language Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology Assembly Language 3-1 Overview of Assembly Language Advantages: Faster as compared

More information

INT 21H and INT 10H Programming and Macros

INT 21H and INT 10H Programming and Macros Dec Hex Bin 4 4 00000100 ORG ; FOUR INT 21H and INT 10H Programming and Macros OBJECTIVES this chapter enables the student to: Use INT 10H function calls to: Clear the screen. Set the cursor position.

More information

EE261 Computer Project 1: Using Mentor Graphics for Digital Simulation

EE261 Computer Project 1: Using Mentor Graphics for Digital Simulation EE261 Computer Project 1: Using Mentor Graphics for Digital Simulation Introduction In this project, you will begin to explore the digital simulation tools of the Mentor Graphics package available on the

More information

IDE2CF User Manual IDE2CF

IDE2CF User Manual IDE2CF The is a cost effective and easy to use adapter for connecting Compact Flash Cards (CF-Cards) to the standard IDE port of a single board computer (SBC) from MPL or other manufacturers. For mechanical fixing

More information

EXPERIMENT TWELVE: USING DISK FILES

EXPERIMENT TWELVE: USING DISK FILES EXPERIMENT TWELVE: USING DISK FILES INTRODUCTION Because just about any program ever written requires the use of a disk file to store or retrieve data, this experiment shows how to create, read, write,

More information

IDE2PCC User Manual IDE2PCC

IDE2PCC User Manual IDE2PCC The is a cost effective and easy to use adapter for connecting PCMCIA PC Cards ATA with true IDE interface (PC Cards) to the standard IDE port of a single board computer (SBC) from MPL or other manufacturers.

More information

Experiment 3 3 Basic Input Output

Experiment 3 3 Basic Input Output Experiment 3 3 Basic Input Output Introduction The aim of this experiment is to introduce the use of input/output through the DOS interrupt. Objectives: INT Instruction Keyboard access using DOS function

More information

Video processing The INT instruction enables program to interrupt its own processing. Use INT instruction to handle inputs and outputs

Video processing The INT instruction enables program to interrupt its own processing. Use INT instruction to handle inputs and outputs Video processing The INT instruction enables program to interrupt its own processing. Use INT instruction to handle inputs and outputs INT 10H: screen handling INT 21H: for displaying screen output and

More information

SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF ECE EC6504 MICROPROCESSOR AND MICROCONTROLLER (REGULATION 2013)

SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF ECE EC6504 MICROPROCESSOR AND MICROCONTROLLER (REGULATION 2013) SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF ECE EC6504 MICROPROCESSOR AND MICROCONTROLLER (REGULATION 2013) UNIT I THE 8086 MICROPROCESSOR PART A (2 MARKS) 1. What are the functional

More information

SIPS - Group. Technical Description May AT96 Bus Specification V 1.1

SIPS - Group. Technical Description May AT96 Bus Specification V 1.1 SIPS - Group Technical Description May 1995 AT96 Bus Specification V 1.1 o:\text\normen\at96bus1.doc Contents 1. Notation...3 2. AT96 Overview...4 2. 1 General...4 2. 2 Recommendations...4 3. Signal Description...5

More information

Help Volume Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16557D 140 MHz State/500 MHz Timing Logic Analyzer

Help Volume Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16557D 140 MHz State/500 MHz Timing Logic Analyzer Help Volume 1992-2002 Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16557D 140 MHz State/500 MHz Timing Logic Analyzer Agilent Technologies 16557D 140MHz State/500MHz Timing

More information

Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio ECE2049 Embedded Computing in Engineering Design Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio In this lab, you will be introduced to the Code Composer Studio

More information

Laboratory IV LCD Framebuffer

Laboratory IV LCD Framebuffer Introduction Laboratory IV In this laboratory you will explore different ways of creating video images. There are four projects. In the first one you will create an image on the fly using PAL macros to

More information

ORG ; TWO. Assembly Language Programming

ORG ; TWO. Assembly Language Programming Dec 2 Hex 2 Bin 00000010 ORG ; TWO Assembly Language Programming OBJECTIVES this chapter enables the student to: Explain the difference between Assembly language instructions and pseudo-instructions. Identify

More information

Depending on the computer you find yourself in front of, here s what you ll need to do to open SPSS.

Depending on the computer you find yourself in front of, here s what you ll need to do to open SPSS. 1 SPSS 11.5 for Windows Introductory Assignment Material covered: Opening an existing SPSS data file, creating new data files, generating frequency distributions and descriptive statistics, obtaining printouts

More information

Logic Analyzers by Link Instruments, Inc Logic Analyzers

Logic Analyzers by Link Instruments, Inc Logic Analyzers Logic Analyzers Our latest series of logic analyzers offer all of the features and performance you have come to expect from much more expensive units: Very high speed clock rates, super deep data buffers,

More information

Name EGR 2131 Lab #6 Number Representation and Arithmetic Circuits

Name EGR 2131 Lab #6 Number Representation and Arithmetic Circuits Name EGR 2131 Lab #6 Number Representation and Arithmetic Circuits Equipment and Components Quartus software and Altera DE2-115 board PART 1: Number Representation in Microsoft Calculator. First, let s

More information

reply db y prompt db Enter your favourite colour:, 0 colour db 80 dup(?) i db 20 k db? num dw 4000 large dd 50000

reply db y prompt db Enter your favourite colour:, 0 colour db 80 dup(?) i db 20 k db? num dw 4000 large dd 50000 Declaring Variables in Assembly Language As in Java, variables must be declared before they can be used Unlike Java, we do not specify a variable type in the declaration in assembly language Instead we

More information

EC-333 Microprocessor and Interfacing Techniques

EC-333 Microprocessor and Interfacing Techniques EC-333 Microprocessor and Interfacing Techniques Lecture 4 Addressing Modes Dr Hashim Ali Spring - 2018 Department of Computer Science and Engineering HITEC University Taxila Slides taken from Computer

More information

Creating Interactive PDF Forms

Creating Interactive PDF Forms Creating Interactive PDF Forms Using Adobe Acrobat X Pro for the Mac University Information Technology Services Training, Outreach, Learning Technologies and Video Production Copyright 2012 KSU Department

More information

Chapter 3: Addressing Modes

Chapter 3: Addressing Modes Chapter 3: Addressing Modes Chapter 3 Addressing Modes Note: Adapted from (Author Slides) Instructor: Prof. Dr. Khalid A. Darabkh 2 Introduction Efficient software development for the microprocessor requires

More information

Windows 2000 Professional

Windows 2000 Professional The American University in Cairo Academic Computing Services Windows 2000 Professional prepared by Soumaia Ahmed Al Ayyat 4 August 2003 Table of Contents Starting Up the Computer Windows Environment Start

More information

Operating Systems. Objective

Operating Systems. Objective Operating Systems Project #1: Introduction & Booting Project #1: Introduction & Booting Objective Background Tools Getting Started Booting bochs The Bootloader Assembling the Bootloader Disk Images A Hello

More information

ELEC 242 Using Library Procedures

ELEC 242 Using Library Procedures ELEC 242 Using Library Procedures There are a number of existing procedures that are already written for you that you will use in your programs. In order to use the library procedures that come with the

More information

Windows XP. A Quick Tour of Windows XP Features

Windows XP. A Quick Tour of Windows XP Features Windows XP A Quick Tour of Windows XP Features Windows XP Windows XP is an operating system, which comes in several versions: Home, Media, Professional. The Windows XP computer uses a graphics-based operating

More information

Experiment N o 1. 1 Introduction to Assembly Language Programming

Experiment N o 1. 1 Introduction to Assembly Language Programming Experiment N o 1 1 Introduction to Assembly Language Programming Introduction: This experiment introduces the student to assembly language programming. In order to illustrate the basic concepts of assembly

More information

PM-1037C V.1.0 CompactFlash Module

PM-1037C V.1.0 CompactFlash Module PM-1037C V.1.0 CompactFlash Module Copyright Notice Copyright 2000. All Rights Reserved. Manual first edition JUL..01, 2000. The information in this document is subject to change without prior notice in

More information

This chapter tells how to configure the system by setting the BIOS parameters. 3.1 Entering the AMI BIOS Setup

This chapter tells how to configure the system by setting the BIOS parameters. 3.1 Entering the AMI BIOS Setup Chapter 3 AMI BIOS This chapter tells how to configure the system by setting the BIOS parameters. 3.1 Entering the AMI BIOS Setup To enter the AMI BIOS Setup, press appears as shown below.. The AMI BIOS

More information

HP 16522A 200-M Vectors/s Pattern Generator

HP 16522A 200-M Vectors/s Pattern Generator User s Guide Publication number 16522-97006 February 1999 For Safety information, Warranties, and Regulatory information, see the pages behind the Index Copyright Hewlett-Packard Company 1987, 1995, 1996,

More information

CC411: Introduction To Microprocessors

CC411: Introduction To Microprocessors CC411: Introduction To Microprocessors OBJECTIVES this chapter enables the student to: Describe the Intel family of microprocessors from 8085 to Pentium. In terms of bus size, physical memory & special

More information

Microprocessor. By Mrs. R.P.Chaudhari Mrs.P.S.Patil

Microprocessor. By Mrs. R.P.Chaudhari Mrs.P.S.Patil Microprocessor By Mrs. R.P.Chaudhari Mrs.P.S.Patil Chapter 1 Basics of Microprocessor CO-Draw Architecture Of 8085 Salient Features of 8085 It is a 8 bit microprocessor. It is manufactured with N-MOS technology.

More information

Part III Appendices 165

Part III Appendices 165 Part III Appendices 165 Appendix A Technical Instructions Learning Outcomes This material will help you learn how to use the software you need to do your work in this course. You won t be tested on it.

More information

EE 314 Spring 2003 Microprocessor Systems

EE 314 Spring 2003 Microprocessor Systems EE 314 Spring 2003 Microprocessor Systems Laboratory Project #3 Arithmetic and Subroutines Overview and Introduction Review the information in your textbook (pp. 115-118) on ASCII and BCD arithmetic. This

More information

THE UNIVERSITY OF TRINIDAD & TOBAGO

THE UNIVERSITY OF TRINIDAD & TOBAGO THE UNIVERSITY OF TRINIDAD & TOBAGO FINAL ASSESSMENT/EXAMINATIONS DECEMBER 2012 Course Code and Title: Microprocessor Architecture & Interfacing Programme: Computer Engineering Technician Date and Time:

More information

Chapter 2 The SAS Environment

Chapter 2 The SAS Environment Chapter 2 The SAS Environment Abstract In this chapter, we begin to become familiar with the basic SAS working environment. We introduce the basic 3-screen layout, how to navigate the SAS Explorer window,

More information

About this Manual. Support for Your Product

About this Manual. Support for Your Product About this Manual We ve added this manual to the Agilent website in an effort to help you support your product. This manual is the best copy we could find; it may be incomplete or contain dated information.

More information

I/O Design. Input / Output Instructions. Engineering 4862 Microprocessors. Lecture 23. Cheng Li

I/O Design. Input / Output Instructions. Engineering 4862 Microprocessors. Lecture 23. Cheng Li Engineering 4862 Microprocessors Lecture 23 Cheng Li EN-4012 licheng@engr.mun.ca I/O Design When designing an I/O port, ensure that the port is only active when selected by the microprocessor Use latches

More information

Introduction to Computer Engineering (E114)

Introduction to Computer Engineering (E114) Introduction to Computer Engineering (E114) Lab 1: Full Adder Introduction In this lab you will design a simple digital circuit called a full adder. You will then use logic gates to draw a schematic for

More information

ECGR 4101/5101, Fall 2016: Lab 1 First Embedded Systems Project Learning Objectives:

ECGR 4101/5101, Fall 2016: Lab 1 First Embedded Systems Project Learning Objectives: ECGR 4101/5101, Fall 2016: Lab 1 First Embedded Systems Project Learning Objectives: This lab will introduce basic embedded systems programming concepts by familiarizing the user with an embedded programming

More information

H8 C-SPY. User Guide WINDOWS WORKBENCH VERSION

H8 C-SPY. User Guide WINDOWS WORKBENCH VERSION H8 C-SPY User Guide WINDOWS WORKBENCH VERSION COPYRIGHT NOTICE Copyright 1998 IAR Systems. All rights reserved. No part of this document may be reproduced without the prior written consent of IAR Systems.

More information

Assembly Language Each statement in an assembly language program consists of four parts or fields.

Assembly Language Each statement in an assembly language program consists of four parts or fields. Chapter 3: Addressing Modes Assembly Language Each statement in an assembly language program consists of four parts or fields. The leftmost field is called the label. - used to identify the name of a memory

More information

Project Debugging with MDK-ARM

Project Debugging with MDK-ARM Project Debugging with MDK-ARM Notes: This document assumes MDK-ARM Version 5.xx (µvision5 ) is installed with the required ST-Link USB driver, device family pack (STM32F4xx for STM32F4-Discovery board;

More information

Computer Architecture and System Software Lecture 07: Assembly Language Programming

Computer Architecture and System Software Lecture 07: Assembly Language Programming Computer Architecture and System Software Lecture 07: Assembly Language Programming Instructor: Rob Bergen Applied Computer Science University of Winnipeg Announcements New assembly examples uploaded to

More information

Chapter 13 Direct Memory Access and DMA-Controlled I/O

Chapter 13 Direct Memory Access and DMA-Controlled I/O Chapter 13 Direct Memory Access and DMA-Controlled I/O The DMA I/O technique provides direct access to the memory while the microprocessor is temporarily disabled This allows data to be transferred between

More information

Changing the Embedded World TM. Module 3: Getting Started Debugging

Changing the Embedded World TM. Module 3: Getting Started Debugging Changing the Embedded World TM Module 3: Getting Started Debugging Module Objectives: Section 1: Introduce Debugging Techniques Section 2: PSoC In-Circuit Emulator (ICE) Section 3: Hands on Debugging a

More information

Experiment N o 1. Introduction to Assembly Language Programming

Experiment N o 1. Introduction to Assembly Language Programming Experiment N o 1 Introduction to Assembly Language Programming Introduction: The aim of this experiment is to introduce the student to assembly language programming, and the use of the tools that he will

More information

Week 7. Input/Output Interface Circuits and LSI Peripheral Devices

Week 7. Input/Output Interface Circuits and LSI Peripheral Devices Week 7 Input/Output Interface Circuits and LSI Peripheral Devices Core and Special Purpose I/O Interfaces Special purpose I/O interfaces display parallel printer interface serial communication interface

More information

WebPakCS Software Version 1.0

WebPakCS Software Version 1.0 WebPakCS Software Version 1.0 Instruction Manual D2-3447 The information in this manual is subject to change without notice. Throughout this manual, the following notes are used to alert you to safety

More information

ISA Host Controller 15a Hardware Reference Release 1.2 (October 16, 2017)

ISA Host Controller 15a Hardware Reference Release 1.2 (October 16, 2017) ISA Host Controller 15a Hardware Reference 1 ISA Host Controller 15a Hardware Reference Release 1.2 (October 16, 2017) Purpose: Host Controller to support the ISA bus according to the PC/104 specification.

More information

GUARD1 PLUS Manual Version 2.8

GUARD1 PLUS Manual Version 2.8 GUARD1 PLUS Manual Version 2.8 2002 TimeKeeping Systems, Inc. GUARD1 PLUS and THE PIPE are registered trademarks of TimeKeeping Systems, Inc. Table of Contents GUARD1 PLUS... 1 Introduction How to get

More information

Section 1 AVR Studio User Guide

Section 1 AVR Studio User Guide Section 1 AVR Studio User Guide 1.1 Introduction Welcome to AVR Studio from Atmel Corporation. AVR Studio is a Development Tool for the AVR family of microcontrollers. This manual describes the how to

More information

Experiment 8 8 Subroutine Handling Instructions and Macros

Experiment 8 8 Subroutine Handling Instructions and Macros Introduction Experiment 8 8 Subroutine Handling Instructions and Macros In this experiment you will be introduced to subroutines and how to call them. You will verify the exchange of data between a main

More information

Microprocessors & Assembly Language Lab 1 (Introduction to 8086 Programming)

Microprocessors & Assembly Language Lab 1 (Introduction to 8086 Programming) Microprocessors & Assembly Language Lab 1 (Introduction to 8086 Programming) Learning any imperative programming language involves mastering a number of common concepts: Variables: declaration/definition

More information

PCM-3110/3111 PC/104 PCMCIA module

PCM-3110/3111 PC/104 PCMCIA module PCM-3110/3111 PC/104 PCMCIA module The PCM-3110 is a PCMCIA driver in the PC/104 form factor. The PCM-3111 is a second PCMCIA socket when used in conjunction with the PCM-3110. The PCM-3110 is always designated

More information

Automatic Operation: This is the simplest and quickest way to capture a signal, knowing little about what you are measuring.

Automatic Operation: This is the simplest and quickest way to capture a signal, knowing little about what you are measuring. Operation of Fluke 199C Oscilloscope: Automatic Operation: This is the simplest and quickest way to capture a signal, knowing little about what you are measuring. A. Turn scope on circular button in lower

More information

Assembling, Linking and Executing 1) Assembling: .obj obj .obj.lst .crf Assembler Types: a) One pass assembler:

Assembling, Linking and Executing 1) Assembling: .obj obj .obj.lst .crf Assembler Types: a) One pass assembler: Assembling, Linking and Executing 1) Assembling: - Assembling converts source program into object program if syntactically correct and generates an intermediate.obj file or module. - It calculates the

More information

DATA ACQUISITION USING THE BIOPAC DATA SYSTEM

DATA ACQUISITION USING THE BIOPAC DATA SYSTEM DATA ACQUISITION USING THE BIOPAC DATA SYSTEM Acquiring Your Data: NOTE: Section A1 to A3 will be done for you before enter the lab. Therefore, the system should be set up and ready to acquire data. It

More information

EXPERIMENT NUMBER 5 Creating a Single Chip Memory Space for the 8051

EXPERIMENT NUMBER 5 Creating a Single Chip Memory Space for the 8051 5-1 EXPERIMENT NUMBER 5 Creating a Single Chip Memory Space for the 8051 INTRODUCTION: The 8031 microcontroller on the XS40 board is an 8051-type microcontroller, but unlike the 8051 it contains no on-chip

More information

Interface DAC to a PC. Control Word of MC1480 DAC (or DAC 808) 8255 Design Example. Engineering 4862 Microprocessors

Interface DAC to a PC. Control Word of MC1480 DAC (or DAC 808) 8255 Design Example. Engineering 4862 Microprocessors Interface DAC to a PC Engineering 4862 Microprocessors Lecture 22 Cheng Li EN-4012 licheng@engr.mun.ca DAC (Digital-to-Analog Converter) Device used to convert digital pulses to analog signals Two methods

More information

ENGR 40M Project 3c: Switch debouncing

ENGR 40M Project 3c: Switch debouncing ENGR 40M Project 3c: Switch debouncing For due dates, see the overview handout 1 Introduction This week, you will build on the previous two labs and program the Arduino to respond to an input from the

More information

Capstone Appendix. A guide to your lab computer software

Capstone Appendix. A guide to your lab computer software Capstone Appendix A guide to your lab computer software Important Notes Many of the Images will look slightly different from what you will see in lab. This is because each lab setup is different and so

More information

PreLab for CS356 Lab NIL (Lam) (To be submitted when you come for the lab)

PreLab for CS356 Lab NIL (Lam) (To be submitted when you come for the lab) PreLab for CS356 Lab NIL (Lam) (To be submitted when you come for the lab) Name: UT EID: 1. Differentiate between Routers, Switches, and Hubs. 2. Explain subnet masks. 3. For this lab, where is subnet

More information

Constants and Expressions. Lecture 7: Assembly Language Programs. Constants and Expressions (cont.) Statements. Names. Assembly Directives

Constants and Expressions. Lecture 7: Assembly Language Programs. Constants and Expressions (cont.) Statements. Names. Assembly Directives Lecture 7: Assembly Language Programs Basic elements of assembly language Assembler directives Data allocation directives Data movement instructions Assembling, linking, and debugging Using TASM Constants

More information

CHAPTER 1 COPYRIGHTED MATERIAL. Getting to Know AutoCAD. Opening a new drawing. Getting familiar with the AutoCAD and AutoCAD LT Graphics windows

CHAPTER 1 COPYRIGHTED MATERIAL. Getting to Know AutoCAD. Opening a new drawing. Getting familiar with the AutoCAD and AutoCAD LT Graphics windows CHAPTER 1 Getting to Know AutoCAD Opening a new drawing Getting familiar with the AutoCAD and AutoCAD LT Graphics windows Modifying the display Displaying and arranging toolbars COPYRIGHTED MATERIAL 2

More information

UNIVERSITY OF HONG KONG DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING. Principles of Computer Operation

UNIVERSITY OF HONG KONG DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING. Principles of Computer Operation UNIVERSITY OF HONG KONG DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING Experiment PCO: Principles of Computer Operation Location: Part I Lab., CYC 102. Objective: The objective is to learn the basic

More information

HiKE GigaCam. Operation Manual Version th May, Starting the software. Please double click "GigaCam.exe" on screen.

HiKE GigaCam. Operation Manual Version th May, Starting the software. Please double click GigaCam.exe on screen. HiKE GigaCam Operation Manual Version 1.01 12th May, 2008 1.Starting the software Please double click "GigaCam.exe" on screen. 2. Discovery the Camera Please click the "Search for connected device. --->

More information

Computer Basics. Hardware. This class is designed to cover the following basics:

Computer Basics. Hardware. This class is designed to cover the following basics: Computer Basics This class is designed to cover the following basics: computer hardware software computer s operating system different kinds of storage devices you can use to save files using a mouse what

More information

The x86 Microprocessors. Introduction. The 80x86 Microprocessors. 1.1 Assembly Language

The x86 Microprocessors. Introduction. The 80x86 Microprocessors. 1.1 Assembly Language The x86 Microprocessors Introduction 1.1 Assembly Language Numbering and Coding Systems Human beings use the decimal system (base 10) Decimal digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Computer systems use the

More information

ECE 202 LAB 1 INTRODUCTION TO LABVIEW

ECE 202 LAB 1 INTRODUCTION TO LABVIEW Version 1.2 Page 1 of 16 BEFORE YOU BEGIN EXPECTED KNOWLEDGE ECE 202 LAB 1 INTRODUCTION TO LABVIEW You should be familiar with the basics of programming, as introduced by courses such as CS 161. PREREQUISITE

More information

Premiere Pro Desktop Layout (NeaseTV 2015 Layout)

Premiere Pro Desktop Layout (NeaseTV 2015 Layout) Premiere Pro 2015 1. Contextually Sensitive Windows - Must be on the correct window in order to do some tasks 2. Contextually Sensitive Menus 3. 1 zillion ways to do something. No 2 people will do everything

More information

EEL 3801 Introduction to Computer Engineering Summer Home Work Schedule

EEL 3801 Introduction to Computer Engineering Summer Home Work Schedule EEL 3801 Introduction to Computer Engineering Summer 2005 Home Work Schedule Schedule of Assignments: Week HW# Due Points Title 1 07/05/05 3% Memory dump in assembly 2 07/19/05 3% Solve a Maze 3 08/02/05

More information

The statement above assumes that the PCMAC.INC file is in the current directory. The full path of the file can also be given:

The statement above assumes that the PCMAC.INC file is in the current directory. The full path of the file can also be given: MACROS for I/O As you have probably noticed, writing DOS calls can become tedious. Much of the code is repetitive, and each call has its own function code and register usage. You are probably used to dealing

More information

UNIVERSITY OF HONG KONG DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING

UNIVERSITY OF HONG KONG DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING UNIVERSITY OF HONG KONG DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING Experiment PCO: Principles of Computer Operation Location: Part I Lab., CYC 102. Objective: The objective is to learn the basic

More information

Graphical LCD Display Datasheet EB

Graphical LCD Display Datasheet EB Graphical LCD Display Datasheet EB043-00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 6 4. Testing this product... 7 5. Circuit description... 8 Appendix 1 Circuit

More information

LABORATORY 1: EXPLORING THE SOFTWARE ARCHITECTURE OF THE MICROPROCESSOR

LABORATORY 1: EXPLORING THE SOFTWARE ARCHITECTURE OF THE MICROPROCESSOR LABORATORY 1: EXPLORING THE SOFTWARE ARCHITECTURE OF THE 80 86 MICROPROCESSOR NAME: STUDENT ID#: Objectives Learn how to: Bring up the DEBUG program. Examine and modify the contents of the 80 86 s code

More information

Computer Interfacing Using LabView

Computer Interfacing Using LabView Computer Interfacing Using LabView Physics 258 Last revised September 25, 2005 by Ed Eyler Purpose: Note: To write a simple LabView program that digitizes data using an ADC on a data acquisition card,

More information

MIT Nerd Kit. Configurable Application Modules. Switches

MIT Nerd Kit. Configurable Application Modules. Switches MIT 6.004 Nerd Kit MIT 6.004 Nerd Kit comes with an array of 16 computational blocks. You can configure these blocks to do anything from computing just ANDs and ORs to being a Beta microprocessor. In addition

More information

In the first class, you'll learn how to create a simple single-view app, following a 3-step process:

In the first class, you'll learn how to create a simple single-view app, following a 3-step process: Class 1 In the first class, you'll learn how to create a simple single-view app, following a 3-step process: 1. Design the app's user interface (UI) in Xcode's storyboard. 2. Open the assistant editor,

More information

Lab 2: Introduction to Assembly Language Programming

Lab 2: Introduction to Assembly Language Programming COE 205 Lab Manual Lab 2: Introduction to Assembly Language Programming - page 16 Lab 2: Introduction to Assembly Language Programming Contents 2.1. Intel IA-32 Processor Architecture 2.2. Basic Program

More information

EE 390 Lab Manual, EE Department, KFUPM. Experiment #7. Introduction to Flight86 Microprocessor Trainer and Application Board

EE 390 Lab Manual, EE Department, KFUPM. Experiment #7. Introduction to Flight86 Microprocessor Trainer and Application Board Experiment #7 Introduction to Flight86 Microprocessor Trainer and Application Board 7.0 Objectives: The objective of this experiment is to introduce the Flight86 Microprocessor training kit and application

More information