Bl0ckeduser
5ac76ad96b
Update register documentation
2011-09-06 20:04:38 -04:00
Joseph Kogut
75edb60116
* Fixed a style issue
...
* Inlined tvm_step()
2011-09-04 18:45:56 -07:00
Joseph
d6103eba8d
Merge pull request #13 from patricksjackson/master
...
Removing redundancy
2011-09-04 17:25:17 -07:00
Patrick Jackson
68d066bd53
Removed the redundancy introduced by tdb_step.
2011-09-04 17:06:08 -04:00
Joseph Kogut
fbdfe93d9e
Updated .gitignore
2011-09-04 06:04:00 -07:00
Joseph Kogut
777d67d46a
Added uncommitted code in tdb/
2011-09-02 02:07:14 -07:00
Joseph Kogut
9de158cf42
Merge branch 'master' of github.com:GenTiradentes/tinyvm
2011-09-02 02:05:55 -07:00
Joseph Kogut
7a128d41ec
Added break and step to tdb
2011-09-02 02:05:17 -07:00
Joseph
db0f7149d2
Merge pull request #12 from bl0ckeduser/master
...
Tweak linker argument syntax
2011-08-29 20:10:34 -07:00
Bl0ckeduser
cb76fd50ce
Use alternate linker argument syntax
2011-08-29 18:43:07 -04:00
Joseph Kogut
9e112f8eaa
Added tokenization of commands to TDB
2011-08-27 13:50:24 -07:00
Joseph Kogut
ffe33f4dd8
Added TDB, a debugger for TVM
2011-08-27 13:21:03 -07:00
Joseph Kogut
baf6df7c00
Added eight more general purpose registers (r08 - r15)
2011-08-27 13:00:01 -07:00
Joseph Kogut
dd547269e9
Merge branch 'master' of github.com:GenTiradentes/tinyvm
2011-08-27 01:41:56 -07:00
Joseph Kogut
1aec8776ae
Removed CXXFLAGS from makefile, no C++ compiler is used
2011-08-27 01:41:06 -07:00
Joseph Kogut
68011826e9
Added install and uninstall build targets
2011-08-26 15:40:02 -07:00
Joseph Kogut
15019d041f
* Moved TVM code to an independent library
...
* Moved interpreter code to tvmi.c
2011-08-26 15:30:24 -07:00
Joseph Kogut
222b1d3b1e
Added comments denoting which instruction each switch statement executed
2011-08-26 14:52:29 -07:00
Joseph Kogut
61b674b267
Fixed build target "rebuild"
2011-08-26 14:36:24 -07:00
Joseph
24a36749a9
Merge pull request #11 from trbecker/master
...
Improves build rules
2011-08-26 20:42:35 -07:00
Thiago Rafael Becker
cbe668d81c
Better build rules.
2011-08-26 19:55:45 -03:00
Joseph Kogut
8562f3f9a2
* Added binary directory
...
* Added directory for tinyvm debugger
* Modified Makefile to store binaries in their own directory
* Modified Makefile to create a symlink between the binary, and the programs directory
2011-08-22 03:22:59 -07:00
Joseph
88587f00dd
Merge pull request #9 from bl0ckeduser/master
...
Small assembly optimizations
2011-08-20 18:43:30 -07:00
Bl0ckeduser
a90f98cee3
Fix euler2.vm optimization
2011-08-20 12:45:13 -04:00
Bl0ckeduser
b466c146a1
Small optimization for fib.vm
2011-08-20 12:42:18 -04:00
Bl0ckeduser
7dfca61336
Small optimization for euler2.vm
2011-08-20 12:35:23 -04:00
Joseph Kogut
52cf391e9d
* Added directory programs/asm/ for counterparts to the VM programs written in assembly
...
* Added programs/asm/euler1_nodiv.asm
2011-08-20 02:49:48 -07:00
Joseph Kogut
6c0d3cbf80
Moved all Euler solutions to programs/euler/ directory
2011-08-20 02:11:33 -07:00
Joseph Kogut
34340e2bb2
Added programs/euler2.vm
2011-08-20 02:10:03 -07:00
Joseph Kogut
99562eefa9
* Modified fib.vm to use registers, instead of absolute addresses (It should be rewritten to use relative addresses that don't interfere with stack memory)
...
* Added directory programs/c/ for counterparts to the VM programs written in C
* Added fib.c
2011-08-20 01:55:09 -07:00
Joseph
bd20058945
Merge pull request #8 from bl0ckeduser/master
...
Fibonacci example program
2011-08-19 09:29:50 -07:00
Bl0ckeduser
de55db2ade
Add nifty Fibonnaci numbers program
2011-08-17 13:17:09 -04:00
Joseph
b11fdb2f11
Merge pull request #7 from bl0ckeduser/master
...
Fix typos, make Makefile BSD-friendly, prevent multiple label defs
2011-08-16 10:16:53 -07:00
Bl0ckeduser
87371e25c8
Prevent multiple label definitions
2011-08-16 12:03:07 -04:00
Bl0ckeduser
3e84fcdd6a
* Rename BSD make incompatible Makefile to GNUmakefile
...
* Remove dubious comma in README
2011-08-16 11:33:24 -04:00
Bl0ckeduser
977962d601
Remove doubtful commas, fix typos
2011-08-16 11:27:04 -04:00
Joseph Kogut
589c07c4e0
* Removed 5 lines of code from main.c
...
* Fixed pedantic build
* Removed some commented out code
2011-08-14 15:20:32 -07:00
Joseph Kogut
9694e344cf
Fixed missing break statement in a switch
2011-08-13 12:42:18 -07:00
Joseph Kogut
bc5295471f
Updated SYNTAX guide to reflect recent changes
2011-08-13 12:41:06 -07:00
Joseph Kogut
7dd5a0c45e
Fixed unititialized value in struct "tvm_program_s"
2011-08-13 03:17:50 -07:00
Joseph Kogut
d1f9840393
* Added jump to subroutine functionality
...
* Added NOP instruction
* Added program demonstrating the usage of the "call" and "ret" instructions
* Added program demonstrating the usafe of the "nop" instruction
2011-08-13 03:13:49 -07:00
Joseph Kogut
bb321cc163
Rewrote programs/euler1.vm to use forward jumps
2011-08-13 02:53:06 -07:00
Joseph Kogut
96c98986ce
Cleaned up tvm_program.c
2011-08-12 03:11:20 -07:00
Joseph Kogut
f2c6edf393
Fixed forward jump bug
2011-08-12 03:00:13 -07:00
Joseph Kogut
c15c04d74f
Fixed attribution of algorithm used in programs/euler1_nodiv.vm
2011-08-09 17:03:36 -07:00
Joseph Kogut
fb3bef72e3
Updated documentation to reflect addition of print instruction
2011-08-06 16:11:26 -07:00
Joseph Kogut
59f356993b
* Nothing left can be taken away.
...
* Added print instruction (PRN)
2011-08-06 16:06:51 -07:00
Joseph Kogut
cc99ecf054
Fixed crash when attempting to run tvm without a program specified
2011-08-06 14:20:47 -07:00
Joseph Kogut
2937e438fe
Added comments
2011-08-04 09:44:07 -07:00
Joseph Kogut
d3bd4b4594
Cleaned up some unnecessary code
2011-08-04 09:39:35 -07:00