CS310
Introduction to Computer Systems, Fall 2017
(Please go to your Blackboard account to access the
related course materials after 2017)
- Syllabus
- Course
Policies
- Code in
classroom (click here)
- Assignments. Requirements
- Type BOTH of questions and answers
(that should be highlighted) to the document in a fine format (handwriting
is NOT accepted); for the programming assignments, comments
for ALL operational statements and format for the code
with
functional modules. BOTH of the programs and the I/O
screen-shot examples are copied to ONE
document (including all sub-questions and projects).
The document should be named as CS310assignment#_FirstNameLastName.doc. Email the document as
an attachment to the instructor (usvwccs@gmail.com). The email subject is the same as the file name.
- Topics covered
-
8/29 Syllabus and class policy. Bit, byte and word
-
8/31 Binary and hex. Binary addition; binary to decimal
-
9/5 Decimal to binary; signed binary and subtraction;
two's complement
-
9/7 More on binary/hex
-
9/12 Architectures. Convert relative address to linear
address. Real mode
-
9/14 More on architectures. Linear addresses and its
size of the space
-
9/19 Flags
-
9/21 More on flags
-
9/26 Test 1A
-
9/28 On test. Stacks
-
10/3 Take-home assignment
-
10/5 More on MUL/DIV; use WriteInt (p.124) and Crlf
(p.113)
-
10/10 ASM coding - structure and comments
-
10/12 - (Fall break)
-
10/17 Variables (memory). I/O
-
10/19 Loops (p.105) and JMP (104). More on variables and data types
-
10/24 Addressing
-
10/26 Test 1B
-
10/31 On Test 1B; data in memory (ch3); direct-offset
addressing (ch4)
-
11/02 Data operators (OFFSET, PTR, TYPE, LENGTHOF,
SIZEOF). Indirect addressing (IA)
-
11/07 More on IA. Compare (p.156), conditional jump
(p.161 Table 6-5)
-
11/09 More on CJ
-
11/14 More on CJ. Procedures
-
11/16 Review
-
11/21 Test 2
-
11/23 -
-
11/28 On Test 2. More on procedures
-
11/30 More on proc
-
12/05 - (Port Day)
-
12/07 Structures and Micros. Review
-
12/12 Final exam: 3-5:30pm. Coverages: binary, hex, decimal conversions;
relative address to linear address; size of memory with linear addresses; 8-bit, 16-bit, and 32-bit registers; data types including byte,
word, and dword; instructions including data movement (mov, movzx, movsx,
exchange, push, pop), arithmetic operations (add, sub, mul, div, inc, dec, neg),
comparisons and jumps (cmp, je, jne, jg, jl, jle, jge, loop, jmp),
direct-offset and indirect addressing; data operators (OFFSET, PTR, TYPE, LENGTHOF,
SIZEOF); commonly used procedures including crlf, writeDec, dumpregs,
writeString; user-defined procedures
-
- Textbook's
Web
- Download and install the zip file (Click here)
for Windows 8 or earlier. For Windows 10, copy the shared folder Masm615
from the computer //MAT-V2-D5RC08Y1/ (MUST on campus, click the network
drive and find/click it) and paste it to C:\ drive of your computer (you should
be on the Administer role).
- How to install and configure TextPad
and MASM
6.15. (Note: If you use Java, install Java before TextPad. Click
here
for more info)
-
- Lecture notes -
- Code in
the past years
© Since 2000,
Dr. John Wang, Virginia Wesleyan University, 5817 Wesleyan Drive, Virginia
Beach, VA 23455
Updated on Wednesday, October 16, 2019
by
zwang@vwu.edu
http://zeus.vwc.edu/~zwang/ThreeTen
|