EE3221 Digital Systems II
Department of Electrical and Computer Engineering
University of New Brunswick  
 
September 2002 - R.Tervo - Course Information
 
 
Notes Large Notes Small Labs (Do 1-6 Only) Lab Source
Notes #1 Logic Systems Review 
Notes #2 Datapaths Microprocessors 
Notes #3 Microprocessor Operation 
Notes #4 Instruction Set 
Notes #5 Structured Programming 
Notes #6 Assembly Language  
Notes #7 Modular Programming 
Notes #8 Interrupts 
Notes #9 Interfacing Memory and IO
Notes #1 Logic Systems Review 
Notes #2 Datapaths Microprocessors 
Notes #3 Microprocessor Operation 
Notes #4 Instruction Set 
Notes #5 Structured Programming 
Notes #6 Assembly Language  
Notes #7 Modular Programming 
Notes #8 Interrupts 
Notes #9 Interfacing Memory and IO
Lab #1 Datapaths 
Lab #2 Microprocessor Operation 
Lab #3 Encoded Keypad Interface 
Lab #4 Serial Display Interface 
Lab #5 Stepper Motor Interface 
Lab #6 Interrupts 
Lab #7 Servo Motor Interface 
Lab #8 Magnetic Card Reader 
Lab #9  Ultrasonic Ranger 
Lab #10 Digital Position Encoder 
Lab #11 Infrared Remote Decoder
LD211.asm 
LD221.asm 
LD222.asm 
LD231.asm 
LD261.asm 
LD262.asm 
LD263.asm 
LD264.asm
Tutorials Assignments & Exercises Old Exams DECE Microprocessor
Tutorial #1 
Tutorial #2  
Tutorial #3 
Tutorial #4 
Tutorial #5 
Tutorial #6 
Tutorial #7 
Tutorial #8
Assignment #1     Solutions 
Assignment #2     Solutions 
Assignment #3     Solutions 
Assignment #4     Solutions 
Assignment #5     Solutions 
Assignment #6     Solutions 
Assignment #7     Solutions 
Assignment #8     Solutions 
Assignment #9     Solutions A
                           Solutions B
Assignment #10
Exam 1999 
Exam 2000 
Test 2001     Solutions
Documentation 
Development Tools 
Configuration for Xilinx XC4020 
Verilog Descriptions
ASM Examples ASM Examples ASM Examples ASM Examples
ex51.asm Do - Forever 
ex52.asm Do - While 
ex53.asm If - Then 
ex54.asm If - Then - Else 
ex55.asm Line Formats 
ex56.asm Hand Assembly Example 
ex57.asm Timing - Toggle LED 
ex58.asm Hand Assembly Example
ex61.asm Read - Write Ports 
ex62.asm Write to an Array Variable I 
ex63.asm Write to an Array Variable II 
ex64.asm Count Ones 
ex65.asm Unsigned Multiply - I 
ex66.asm Unsigned Multiply - II 
ex67.asm Count Occurence of Pattern 
ex68.asm Combinatorial Logic 
ex69.asm Widget Counter 
ex6a.asm Writing a String to a Port
ex71.asm Pass via Register 
ex72.asm Pass via Global Variable 
ex73.asm Pass via Pointer 
ex74.asm Pass via Stack 
ex75.asm Binary to Hex 
ex76.asm Computing Powers 
ex77.asm Copy String 
ex78.asm Binary to BCD
ex81.asm Software Interrupts 
ex82.asm Hardware Interrupts 
ex83.asm Trap Interrupt 
ex84.asm Periodic Timer Interrupts