cis 253
assembly language & computer organization
jbwyatt.com
Student is responsible for notes, readings and classroom discussions. Notes may be changed, emphasized, re-ordered or skipped over.
Assignments:
0: WorkSheet
|
1
|
2
|
3
|
4
|
5
|
6
|
7
I.
1.
Course Intro
who, what, where, why?
2.
HW Intro
hw intro and overview
3.
Emu 8086
HW: registers, memory, CPU
demo: Emu8086
READ: ch 1-3 (Code) /
emu number bases
4.
Emu 8086 References
Emu: using emu8086 to write, debug and execute code
Emu: documentation
Emu: tutorials
5.
Representation: Base 10, 2, 16, 8
representation: numbers and characters
reference: encoding
6.
Representation: Unsigned Binary Numbers
representation: numbers and characters
reference: encoding
7.
Representation: Signed Binary Numbers
representation: numbers and characters
reference: encoding
8.
Representation: IEE 754 Floating Point
representation: numbers and characters
reference: encoding
9.
Registers, RAM & Data
registers, ram & data definitions
emu variables: db and dw
A.
Assembly Language Intro
about assembly language
|
list files
B.
MOV, ADD and SUB
assembly intro: MOV & ADD
Emu: ADD, SUB
C.
Summary & Review
TEST 1
:
CAP
II.
1.
EMU Library
input and output and screen management
2.
Logical Operators, XCHG
XCHG, AND, OR, XOR, NOT, NEG
Emu: AND, OR, XOR
3.
Labels & Loops
assembly: LOOP & Labels
4.
More Labels & Loops
assembly: More LOOP & Labels
5.
Flags and Math Instructions
Emu: Flags
setting flags, CMP and jumps
6.
Flags, CMP, TEST, Conditonal Jumps
setting flags, CMP and jumps
Emu: flow control
7.
Memory Adresses, Pointers
memory addresses: LEA, OFFSET
8.
Procedures
procedures
|
user-defined procedures
9.
Procedures in Emu
Emu: procedures
A.
Devices & Ports
devices & ports
interrupts: OS & BIOS
microcontroller simulator
B.
I/O Ports &Interrupts
Emu: I/O Ports & Interrupts
C.
Summary & Review
Test 2
:
Create a CAP
III.
1.
C++ and Assembly
c++ to assembly
2.
Stacks: Push and Pop
stacks, push, pop
Emu: stack documentation
3.
Creating and Navigating a Maze
the maze
4.
Debugging Code
debugging code
5.
More Math: DIV, SHR, MUL, SHL
DIV, MUL, SHR, SHL
Emu: DIV, MUL
6.
Architecture 1 & 2: Basics & Digital Logic
architecture
7.
Architecture 2: Digital Logic
architecture
8.
Breadboard SW: Logic Gates
9.
Architecture 3: Building a CPU
architecture
A.
Performance
B.
Speed
C.
Summary & Review
Test 3 - final
:
Create a CAP
Documenting Code
|
Honesty
|
Grades
|
Syllabus (pdf)
|
!Q
WEBSITES:
1.
art of assembly
2.
starman
3.
nasm
SOFTWARE:
1.
emu8086 (download: get license code from wyatt)
[free]
2.
firefox
3.
fireftp: to hand in assignments
REFERENCES:
1.
emu8086 documentation
2.
emu 8086 tutorials
3.
8086 instructions
|
opcode list
|
table
TEXTS:
1.
emu8086 Emulator
(download & links)
[free]
2.
Code by Charles Petzold, 2000.
(amz)
(bookstore)
 
3. [optional]
8086 Assembly Language by R Detmer, 2007.
(amz)
(src code)