Commit Graph

  • c7d948cdcd Added some helpful comments to the creature command main Sasha Koshka 2022-09-08 18:46:59 -0400
  • dcd8c56c0d Added basic implementation that executes text files Sasha Koshka 2022-09-08 16:02:36 -0400
  • a52e5d3426 Ran gofmt Sasha Koshka 2022-09-08 14:43:19 -0400
  • b0068336cd Programs are now loaded with a function and not a member var Sasha Koshka 2022-09-08 14:41:50 -0400
  • 3be08736b4 Downgraded to go 1.18 so it works on my laptop Sasha Koshka 2022-09-08 14:36:28 -0400
  • cfae69c0c2 Updated readme accordingly Sasha Koshka 2022-08-29 20:20:46 -0400
  • d7d5be6949 Reversed order of comparison and arithmetic operations Sasha Koshka 2022-08-29 20:15:46 -0400
  • e342d9b254 Fixed poking segfault v1.0.1 Sasha Koshka 2022-08-29 12:01:08 -0400
  • 635aced0d4 Machine is now a generic type v1.0.0 Sasha Koshka 2022-08-29 10:48:45 -0400
  • 810ecdb3ac Added two examples showing the machine in action Sasha Koshka 2022-08-29 01:10:04 -0400
  • b0b055d6ce Improved wording of readme Sasha Koshka 2022-08-29 00:56:27 -0400
  • e45d153b80 Test and poke operation fixed Sasha Koshka 2022-08-29 00:43:13 -0400
  • dba858307d Added documentation of all the opcodes in README Sasha Koshka 2022-08-28 23:24:43 -0400
  • 975de37927 Added and passed jump instruction test Sasha Koshka 2022-08-28 22:45:46 -0400
  • c77925a7e0 Added a halt instruction test Sasha Koshka 2022-08-28 21:33:26 -0400
  • a78c1dfcf1 Created and passed peek/poke test Sasha Koshka 2022-08-28 21:11:06 -0400
  • 302a4e5806 Renamed load and store to peek and poke Sasha Koshka 2022-08-28 20:20:04 -0400
  • 0f1285bbb9 Added and passed comparison test Sasha Koshka 2022-08-28 20:13:55 -0400
  • 884f00d048 The division test was wrong Sasha Koshka 2022-08-28 19:59:00 -0400
  • 287d23fe36 Added all opcodes as constants Sasha Koshka 2022-08-28 18:34:23 -0400
  • 045bd2ef6d Generalized tests Sasha Koshka 2022-08-28 18:29:10 -0400
  • 21aaaede8e Fixed issue with pushing to stack Sasha Koshka 2022-08-28 18:26:44 -0400
  • 850de8a2bf Fix out of bounds errors in Machine.Pop Sasha Koshka 2022-08-28 18:22:11 -0400
  • b4bd86ad1d Added a division by zero error Sasha Koshka 2022-08-28 18:20:09 -0400
  • dabd2df07c Added simple test case for arithmetic Sasha Koshka 2022-08-28 18:16:43 -0400
  • a2b64fcc19 Machine.Execute returns an error on unknown instruction Sasha Koshka 2022-08-28 17:56:41 -0400
  • 7b93b550e5 Actually halt machine when a function returns true Sasha Koshka 2022-08-28 17:53:36 -0400
  • 07a783b6ba Ran gofmt Sasha Koshka 2022-08-28 17:52:39 -0400
  • eb3f581b00 Added a function to load in a block of memory Sasha Koshka 2022-08-28 17:50:53 -0400
  • 3b8f87212f Added method to unregister function Sasha Koshka 2022-08-28 17:36:45 -0400
  • d48181b832 Add a Reset method to the machine Sasha Koshka 2022-08-28 17:35:30 -0400
  • ebf58c9427 Implemented call instruction and function registering Sasha Koshka 2022-08-28 17:31:06 -0400
  • 4067027588 Implemented mod, halt, and jump instructions Sasha Koshka 2022-08-28 17:11:43 -0400
  • 589657e31b Implemented comparison instructions Sasha Koshka 2022-08-28 17:03:15 -0400
  • a1ea9f30da Changed order of divide and subtract Sasha Koshka 2022-08-28 16:59:11 -0400
  • efc263fe72 Implemented memory and arithmetic instructions Sasha Koshka 2022-08-28 16:56:28 -0400
  • a098a30da0 Added peek and poke methods to read/write to block Sasha Koshka 2022-08-28 14:19:46 -0400
  • 601636a0ad Implement instructions 0x0 and 0x1 Sasha Koshka 2022-08-28 13:30:54 -0400
  • f27ac7b560 Initial commit Sasha Koshka 2022-08-28 13:25:00 -0400