Computer Architecture and Operating Systems


Page Index
For Lecture 1 | For Lecture 2 | For Lecture 3 | For Lecture 4 | For Lecture 5 | For Lecture 6 | For Lecture 7 | For Lecture 8 | For Lecture 9 | For Lecture 10 | For Lectures 11 and 12 | For Lecture 13
Computer Architecture | Sample Assembly CodeOperating Systems

For Lecture 1

For Lecture 2

For Lecture 3

For Lecture 4

Circuits - Basic Gates
            - Adders
            - De Morgan and 3-bit Parity

For Lecture 5

Circuits - Flipflops
            - Counters

For Lecture 6

For Lecture 7

Lecture 8

For Lecture 9

For Lecture 10

For lecture 11

For lecture 13

Computer Architecture

Stallings' textbook, "Computer Organization and Architecture (8th or 10th edition)", has a companion website.
Consult it for some information not included in the printed textbook.

Code Samples from Lecture 3 (floats)

Code samples are available from the shared folder   /coursework/243/pickup/code-samples/lecture3_code

The code can also be downloaded here:

Java C Python
Loop Example float1.c
Incrementing Example float2.c

The code includes comments about compiling and running the code from the command line in the lab.

Assembly language:- 6502

Resource material for 6502 assembly may be available later in the course.

 Sample Assembly Code

Here is some sample 6502 assembly code for you to read (includes long instructions), and for you to try out in the assembler/emulator.

Using labels as global variables
Using labels for memory mapped I/O and writing to the screen
Using branch and jump instructions for loops and ifs
16-bit addition and indirect addressing
Procedure calls

Operating Systems

Silberschatz et al's textbook, "Operating System Concepts", has a companion website.
Consult it for examples of code in the book and many other useful resources.

"The Dream Machine"

We strongly recommend that you watch the first episode of the BBC documentary "The Dream Machine" (made in the early 1990s), which looks at the early history that lead to the computers we know today. The documentary was rereleased in the US as "The Machine That Changed The World".

You can view the episode in the department's labs -- the episodes are in the shared directory:

  • /home/cshome/coursework/docs/THE_DREAM_MACHINE/

At the Settlers' Museum, Brian has suggested that you might like to have a look through the Computer History website, so here are links to the website, and to one of the events in Computer history that you might find interesting. Browse the site and see what else you can find.

Once you've watched the episode, you might like this view of the future developments of computers -- made in 1967!

Also interesting:
The 10,000 domino computer.