SIM - A Very Simple Computer
SIM Documentation
SIM C Programs
- sim1.c - In-line data movement and arithmetic
The file extensions .sim1, .sim2, .sim3, and .sim4 are used to identify SIM machine
language programs designed to run on the corresponding SIM computer. The programs are:
SIM1 Programs
- addv1.sim1 - Computes 20+30
- addv2.sim1 - Computer 20+30 with assembly language and high level language comments
- addv3.sim1 - Initializes variables a and b and computes c = a + b
- addv4.sim1 - Same as addv3.sim1 with program relocated to different addresses.