rubyx/lib/risc/instructions
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
..
branch.rb dragging the extra through resets 2018-05-25 19:04:48 +03:00
byte_to_reg.rb rename register to risc 2017-01-19 09:02:29 +02:00
function_call.rb fix function call and simple call logic 2018-05-19 12:21:20 +03:00
function_return.rb some more safety tests 2018-04-05 12:22:40 +03:00
getter.rb remove unused methods 2018-05-14 20:50:52 +03:00
label.rb give labels an integer that will end up being the position at runtime 2018-05-29 20:26:00 +03:00
load_constant.rb loading label must translate the labels too 2018-05-24 19:20:06 +03:00
load_data.rb some more safety tests 2018-04-05 12:22:40 +03:00
operator_instruction.rb generalise the operator handling 2018-04-19 22:13:52 +03:00
reg_to_byte.rb rename register to risc 2017-01-19 09:02:29 +02:00
reg_to_slot.rb remove unused methods 2018-05-14 20:50:52 +03:00
setter.rb another million index fixes 2018-05-14 15:17:04 +03:00
slot_to_reg.rb unite the two resolve_to_index functions 2018-04-05 20:10:00 +03:00
syscall.rb add source to the to_s 2018-03-22 18:38:19 +02:00
transfer.rb add source to the to_s 2018-03-22 18:38:19 +02:00