Docsity

ECE 4175 Lab Assignment 1 - Spring 2006, Lab Reports of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 4175 Savannah, Spring 2006
Lab Assignment #1
Due Thursday, January 26th, by 4:30pm.
0) Examine the program lab1.asm which can be downloaded from the web
Insert comments to indicate that you understand what is happening. Include
your name and project title (ECE 4175 Spring 2006 lab 1) in an initial block comment.
1) Determine appropriate values for
L_COUNT_INIT,
M_COUNT_INIT, and
H_COUNT_INIT.
Calculate the number of time each instruction is executed based on those values.
You may find an excel spreadsheet to be a useful tool.
2) Enter the following program into MPLab, and assemble (build) it.
3) Use the ICD 2 to load the program into the target board (Qwikboard)
4) Demonstrate a functional program by the due date.
5) Why does the third (leftmost) LED not flash?
6) Provide a cover page and program listing (.lst file produced by the assembler)

Partial preview of the text

Download ECE 4175 Lab Assignment 1 - Spring 2006 and more Lab Reports Electrical and Electronics Engineering in PDF only on Docsity!

ECE 4175 Savannah, Spring 2006 Lab Assignment # Due Thursday, January 26th^ , by 4:30pm.

  1. Examine the program lab1.asm which can be downloaded from the web Insert comments to indicate that you understand what is happening. Include your name and project title (ECE 4175 Spring 2006 lab 1) in an initial block comment.

  2. Determine appropriate values for L_COUNT_INIT, M_COUNT_INIT, and H_COUNT_INIT. Calculate the number of time each instruction is executed based on those values. You may find an excel spreadsheet to be a useful tool.

  3. Enter the following program into MPLab, and assemble (build) it.

  4. Use the ICD 2 to load the program into the target board (Qwikboard)

  5. Demonstrate a functional program by the due date.

  6. Why does the third (leftmost) LED not flash?

  7. Provide a cover page and program listing (.lst file produced by the assembler)