Computer Science Building, Princeton University


Introduction to CS



1.  A Simple Machine

2.  Java Programming

3.  OOP

4.  Data Structures

5.  A Computing Machine

    • Data Representations

    • TOY Machine

    • TOY Instruction Set

    • TOY Programming

    • TOY Simulator

6.  Building a Computer

7.  Theory of Computation

8.  Systems

9.  Scientific Computation

10.  Perspective


 Lecture Notes

Assignments

FAQ









5. A COMPUTING MACHINE


This chapter under major construction.


Architecture refers both to the art of designing computers and to the process of building them. Our coverage of this topic is centered around an imaginary machine that is similar to real computers. We specify the machine in full detail, consider machine-language programs for familiar tasks, and present a Java simulator for the machine. In Chapter 6 We continue with a treatment of circuits and logical design, culminating in a description of how such a machine might be built from the ground up. Our intent is to demystify this apparently formidable challenge while also providing a context for understanding how Java programming and other familiar high-level tasks relate to actual machines.


Notes. Here are some old Notes on TOY - they are gradually getting incorporated into these on-line notes. Here is the TOY reference card. Here is a link to the Visual X-TOY Simulator