rubyx/test/risc
Torsten Ruger 8322fca7b3 give labels an integer that will end up being the position at runtime
Since integers are first class objects, we need to use an integer object
as the return address. The actual address can not be stored in an
instance variable since it is not an object.
The address is unique to the label and never changes after positioning
(using the int is next up)
2018-05-29 20:26:00 +03:00
..
builtin fix all test 2018-05-25 20:40:39 +03:00
interpreter use fake memory 2018-05-28 15:09:59 +03:00
mains more test fixing 2018-05-24 21:20:56 +03:00
methods implement assignment normalisation 2018-04-27 21:56:41 +03:00
position give labels an integer that will end up being the position at runtime 2018-05-29 20:26:00 +03:00
helper.rb make the interpreter platform 2018-05-17 09:31:36 +03:00
test_builder.rb give labels an integer that will end up being the position at runtime 2018-05-29 20:26:00 +03:00
test_collector.rb don't collect labels anymore 2018-03-27 19:06:16 +03:00
test_compat.rb rename register to risc 2017-01-19 09:02:29 +02:00
test_fake_memory.rb start on fake memory 2018-05-28 14:46:26 +03:00
test_instructions.rb give labels an integer that will end up being the position at runtime 2018-05-29 20:26:00 +03:00
test_interpreter_platform.rb give labels an integer that will end up being the position at runtime 2018-05-29 20:26:00 +03:00
test_interpreter.rb fix an issue where instruction was in wrong code 2018-05-25 19:16:13 +03:00
test_machine.rb use fake memory 2018-05-28 15:09:59 +03:00
test_padding.rb jump was written off the end of binary code, fixed 2018-05-28 11:45:04 +03:00
test_platform.rb make the interpreter platform 2018-05-17 09:31:36 +03:00
test_position.rb getter by position 2018-05-17 20:13:33 +03:00
test_risc_value.rb another million index fixes 2018-05-14 15:17:04 +03:00
test_text_writer.rb groundwork for interpreter platform 2018-05-16 21:00:14 +03:00
test_translator.rb make the interpreter platform 2018-05-17 09:31:36 +03:00