My omnium-gatherom of scripts and source code.
1This directory contains examples of Y86-64 assembly code programs
2(extension `.ys') used in Chapter 4 of CS:APP3e.
3
4Given an assembly code file "file.ys", you can assemble it with the
5command "make file.yo". The resulting file is in the "object code"
6format described in the book.
7
8You can assemble and simulate all the test programs in this directory.
9First, you need to make the different simulators in the pipe (psim)
10and seq (ssim and ssim+) directories. Then use the following
11commands:
12
13PIPE: make testpsim
14SEQ: make testssim
15SEQ+: make testssim+
16
17Each of these commands will cause a number of programs to be assembled
18and simulated. Lots of things will scroll by, but you should see the message
19"ISA Check Succeeds" for each of the programs tested.
20