CU website

ECEN 2120

Information

Assignments

Lecture Schedule

Supporting Material

Syllabus

Staff

 

Homework Assignments

General policies apply to all of the homework assignments. You are responsible for understanding those policies, and submitting your work in accordance with them. You are also responsible for checking the grade summary when updated grades are posted to ensure that your scores are correctly recorded.


Quick link to an assignment:
Week Of
Start Assignment
August 31
#1
September 7
#2
September 14
#3
September 21
#4
October 5: First Exam
Week Of
Start Assignment
October 5
#5
October 12
#6
October 19
#7
October 26
#8
November 11: Second Exam
Week Of
Start Assignment
November 8
#9
November 16
#10
November 23
Fall Break
November 30
#11
December 16: Final Exam

Assignment #1

Assembler and Debugger:
  • Using the Microtec programming environment to manage code development
  • Configuring the compiler to produce assembly code files
  • Discovering how common constructs are implemented
  • Seeing how different addressing modes are used
  • Using the debugger to inspect values
To be begun during week 2.

Assignment #2

Communication with C:
  • Using data provided by C
  • Understanding arithmetic overflow
  • Returning results to C
To be begun during week 3.

Assignment #3

Addressing mode decoder:
  • More complex communication with C
  • Use of logical instructions
  • Instruction encoding and addressing modes
To be begun during week 4.

Assignment #4

Recursion:
  • Separation of interface and implementation
  • Stack storage for local variables
  • Using the MB5 monitor to follow execution
To be begun during week 5.

Assignment #5

Modules and Linking:
  • Decomposing a problem
  • Selecting appropriate languages
  • Linking across file boundaries
  • Creating a Makefile
To be begun during week 7.

Assignment #6

Serial I/O:
  • Manipulation of individual bits
  • Communication with a device interface
  • Synchronization with external events
To be begun during week 8.

Assignment #7

Interrupt-Driven Serial I/O:
  • Setting an interrupt vector
  • Enabling interrupts
  • Interrupt handling
  • Using a circular buffer
To be begun during week 9.

Assignment #8

Analog Output:
  • Discrete representation of continuous signals
  • Limitations imposed by CPU speed
  • Sample storage strategies
  • Synthesis of complex signals
  • Program a counter/timer to interrupt the CPU at specific time intervals
  • Use the counter/timer interrupt handler to feed samples to the D/A converter
  • Get practice at enabling and disabling interrupts and installing an interrupt handler
To be begun during week 10.

Assignment #9

Analog Input:
  • Using a counter/timer to obtain periodic samples of a signal
  • Using an Analog-to-Digital (A/D) Converter to sample an analog signal
  • Playing back an analog signal via the Digital-to-Analog (D/A) Converter
To be begun during week 12.

Assignment #10

Logical Input:
  • Use logical inputs to sense the motion of a shaft, via an encoder
  • Use look-up tables to replace complex real-time computations
  • Use the shaft encoder to adjust the volume of a waveform produced by the D/A converter
To be begun during week 13.

Assignment #11

Simple Calculator:
  • Use the Liquid Crystal Display (LCD)
  • Use the key pad
To be begun during week 15.
Instructor