This shows you the differences between two versions of the page.
alf:res:alfycomputer_32 [2017/05/08 01:12] alexandru.radovici |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Alfy Computer 32 ====== | ||
- | Alfy ASM is simulated using [[http://www.cs.colby.edu/djskrien/CPUSim/|CPUSim]] version 4. To use the simulator: | ||
- | - Download CPUSim version 4 | ||
- | - Download the [[AlfyComputer_32.cpu]] | ||
- | - Load it into the simulator | ||
- | |||
- | To run a simulation, you may run it in interactive or non-interactive mode. | ||
- | |||
- | Read the [[http://www.cs.colby.edu/djskrien/CPUSim/Version4InstallationInstructions.txt|installation instructions]]. | ||
- | |||
- | ==== Interactive Mode ==== | ||
- | To run CPUSim, open a shell and write | ||
- | |||
- | <code bash> | ||
- | java -classpath ".;richtextfx-fat-0.6.10.jar" cpusim.Main -m AlfyComputer_32.cpu -t file.asm | ||
- | </code> | ||
- | |||
- | This will open the UI, load the AlfyComputer_32.cpu and the file.asm. | ||
- | |||
- | ==== Non-Interactive Mode ==== | ||
- | To run CPUSim, open a shell and write | ||
- | |||
- | <code bash> | ||
- | java -classpath ".;richtextfx-fat-0.6.10.jar" cpusim.Main -c -m AlfyComputer_32.cpu -t file.asm | ||
- | </code> | ||
- | |||
- | This will load the AlfyComputer_32.cpu and run the file.asm. | ||
- | |||