Instructor: Jie Hu (jie.hu@njit.edu) Office: 331 ECEC
Office Hours: T 2:30PM – 3:30PM, F 1:00PM – 2:00PM Phone: (973)596-5273
Course Homepage: http://web.njit.edu/~jhu/ece252
TA: Khondaker M. Salehin (kms29@njit.edu) Office: FMH 304
Office Hours: W 10:00AM-11:30AM, R 10:00AM-11:30AM Phone: (973)596-3540
Prerequisites: ECE 251 and CIS 101 or CIS 113.
Textbook: The 68000 Microprocessor, Hardware and Software Principles and Applications, by James Antonakos, 5th Edition, Prentice Hall, 2004. Referred to below as (BK).
Class Meeting Time: T 4:00PM – 5:25PM F 2:30PM – 3:55PM Class Meeting Place: KUPF 107
Course Description: An introduction to
microprocessor system organization and assembly language programming. The course
covers the architecture, instruction set and assembly language of a specific
microprocessor. Other topics included are memory organization, input/output
interfacing, interrupt processing as well as exception processing. The problems
associated with the design of a single board computer are also covered.
Weekly Outline (subject to change):
|
Week |
Subject |
Reading |
|
1 |
Chapter 1 – Introduction to Microprocessor based systems. Chapter 2 – Introduction to the 68000 architecture. |
BK pp.2-17 BK pp. 19-27 |
|
2 |
Chapter 2 & Chapter 3 –Familiarization with the ASCII table and Motorola HEX files. Explain how to compose a one page solution. Instruction set, Assembler directives, labels, opcodes & operands. Addressing modes, how arithmetic & logic instructions affect flags differently. |
BK pp. 27-31 BK pp. 40-58 |
|
3 |
Chapter 3 –Continue with addressing modes, sign extension, looping & other matters pertaining to assembly language programming, condition codes. 68000 instruction set: data transfer, arithmetic, logical Introduction to stack operation and subroutine calls & returns. |
BK pp.58-78
|
|
4 |
68000 instruction set: program control Emphasize figure 3.18 & difference between signed and unsigned comparison branches. |
BK pp.78-97 BK pp.101-113 |
|
5 |
Data structure and operations. 68000 instruction set: shift & rotate, bit manipulation, BCD. |
BK pp. 138-161
|
|
6 |
Chapter 6 - Packed BCD arithmetic. Chapter 3 – system control instructions |
BK pp.199-212, |
|
7 |
Chapter 4 - Start exception processing, the supervisor and user modes. Exception handling & hardware. Study our SBC's MONITOR program exception structure. Review 1 for Midterm Exam |
BK pp.103-132
|
|
8 |
Review 2 for Midterm Exam Midterm Exam |
|
|
9 |
Exception Handler Proper subroutine parameter handling. Reentrancy and the use of stack frames. The power of LINK and UNLK instructions. Numerical base conversions. Conversion from ASCII to BCD and to Packed BCD and back again |
BK pp. 115-132 BK pp. 172-179 BK pp. 209-212 |
|
10 |
Programming 68000. |
BK pp. 181-196, 213-219 |
|
11 |
Memory system design. Continue with non-unique (partial) address bus decoding. Timing diagrams. The need for, and usage of, the DTACK*, LDS* and UDS* pin signals. WAIT state generation. |
BK pp. 262-294 |
|
12 |
I/O system design. Parallel and serial data transfer. |
BK pp. 300-322 |
|
13 |
I/O system design. serial data transfer. |
BK pp. 300-322 |
|
14 |
Hardware interfacing in the context of the SBC schematic. Final Review 1 |
BK pp. 386-419 |
|
15 |
Final Review 2 |
|
|
|
Final Exam |
|
Grading Policy: Grades will be determined by homework assignments (20%), quizzes (10%), one midterm exams (30%), and one final exam (40%).
Academic Integrity
The NJIT Honor Code will be upheld and any violations will be brought to the
immediate attention of the Dean of Students.