CSIS 3510 Computer Organization and Architecture
Spring 2008, Section 01

Class notes
Introduction (Ch01)
Data representation in computer systems (part 1) (Ch02)
Data representation in computer systems (part 2) (Ch02)
Boolean algebra and digital logic (Ch03)
MARIE installation
MARIE: an introduction to a simple computer (Ch04)


Assebmly programming homework 1 (hwAssembly1) (04/01/08) (Turn in on 04/15/08)
If the html file is not clear, please read the following.

Do exercises on p.239 (Ch04)
15(b), 17, 18, 19 and run them on Marie.

Name your programs as hw15, hw17, hw18, and hw19.

Submit your hw exercises by an email and a hardcopy.  (1) Your email should include
four attached files: hw15.mas, hw17.mas, hw18.mas, and hw19.mas (If in your directory
you cannot see the files with the extension .mas, then select those files without
extensions but looks like database files other than the mex, lst, and map files).
On your email, please clearly indicate your full name, course number and section number.
(2) Your hardcopy should also include four source code files: hw15.mas, hw17.mas,
hw18.mas, and hw19.mas. Turn in your hardcopy at the beginning of the class on the due
date.  Turn in later won’t be accepted.

Note: (1) Pay attention to the difference between a while loop and a do-while loop.
That is, you cannot implement a while loop by using a do-while loop and vise versa.
(2) Try to avoid using skipcond 400 (using skipcond 000 or skipcond 800) for a
condition checking (sometimes, skipcond 400 may cause a wrong answer).


Assembly programming homework 2 (Optional) (04/03/08) (Turn in on 04/24/08)
Do exercises on p.240 (Ch04)

(1) (refer to question 20): Write a MARIE subroutine to subtract two numbers and
write a main program to test the subroutine twice. Use the Input and Output instruction
to allow the user input data and display the results.

(2) Using MARIE to edit and run the following program:
Write three subroutines, one for subtracting two numbers, one for multiplying
two numbers (using repeated addition as described in question 19 on p.240),
the other for dividing two numbers (using repeated subtraction).
Test these three subroutines by calculating the expression Result = ((A x B) / (B - C)).
Use Input statements to receive the user inputs and Output statements to display
the result for the user.

Name the programs as h201 and h202.
Submit your h201 and h202 by an email and a hardcopy.  The email has two attached files:
h201.mas and h202.mas. On your email, please clearly indicate your full name, course number
and section number.

The hardcopy has two source codes: h201.mas and h202.mas (Please staple them together).
Turn in later won't be accepted.

Note: (1) Pay attention to the difference between a while loop and a do-while loop.
That is, you cannot implement a while loop by using a do-while loop and vise versa.
(2) Try to avoid using skipcond 400 (using skipcond 000 or using skipcond 800) for
a condition checking (sometimes, skipcond 400 may cause a wrong answer).

Review for the exam2

Review for the Final (Downloadable)


Syllabus
CSIS 3510/01 Spring 2008 Syllabus