Commit graph

222 commits

Author SHA1 Message Date
Joseph Kogut
454a80d122 Fixed crash when running euler1_nodiv, presumably caused by unacceptable characters in a comment. 2011-01-17 03:19:54 -07:00
Joseph Kogut
cb14016d49 Clarified euler1.vm 2011-01-16 18:20:07 -07:00
Joseph Kogut
01425f5630 Clarified euler1_nodiv, and added a URL for the source of the algorithm. 2011-01-16 18:13:00 -07:00
Joseph Kogut
40a36cfa98 Further modified program "euler1_nodiv.vm" to give credit, and demonstrate features. 2011-01-16 18:05:58 -07:00
Joseph Kogut
70f9de0481 Modified example program to demonstrate commenting 2011-01-16 18:00:11 -07:00
Joseph Kogut
a14b8ef436 Fixed crash when blank lines were inserted in an otherwise valid program. 2011-01-16 17:50:12 -07:00
Joseph Kogut
607c7ee4a6 Fixed memory issue with stack 2011-01-16 15:40:10 -07:00
Joseph Kogut
73b7518a2d Revised SYNTAX guide 2011-01-16 15:29:18 -07:00
Joseph Kogut
492555b053 Added README 2011-01-16 15:17:46 -07:00
Joseph Kogut
12ca4ed636 Added .gitignore 2011-01-16 14:57:22 -07:00
Joseph Kogut
e881a795c9 * Removed instruction table, and replaced it with a switch. 2011-01-16 09:34:27 -07:00
Joseph Kogut
81bd498f73 Added more files target "clean" will remove 2011-01-16 07:21:29 -07:00
Joseph Kogut
bb5f5e9418 * Added syntax description file. 2011-01-14 06:02:40 -07:00
Joseph Kogut
4989f93f1c * If a label named "start" is specified, the program will now begin there 2011-01-14 05:35:26 -07:00
Joseph Kogut
e74bed3bf0 * Added shift left (shl) and shift right (shr) instructions 2011-01-14 05:20:27 -07:00
Joseph Kogut
3d78a8e5c8 * Added ability to specify values in decimal, hexadecimal, or binary
* Now able to parse values without the '#' prefix

* Refactored redundant code

* Modified included programs to function with new syntax
2011-01-14 05:05:34 -07:00
Joseph Kogut
e2148aa965 * Added faster version of Project Euler Problem 1 solution. 2011-01-11 01:55:41 -07:00
Joseph Kogut
74b6664a77 * Added mod instruction, which means the virtual machine can calculate division and modulous separately, improving performance. 2011-01-11 01:22:18 -07:00
Joseph Kogut
44384cb81e * Added tinyvm.c, which was not committed in the last revision.
* Improved makefile
2011-01-11 00:52:49 -07:00
Joseph Kogut
a6a3bac288 * Removed argument and label objects and source files
* Removed arg_to_addr. Instead, addresses are interpreted with the rest of the program.

* Fixed lots of dumbassery with memory.
2011-01-11 00:20:07 -07:00
Joseph Kogut
9c25ab8487 * Added rebuild target to Makefile 2011-01-10 21:38:54 -07:00
Joseph Kogut
75a425f488 Moved from Subversion to Git, and added makefile 2011-01-07 12:52:24 -07:00