Last risc fixes that are not binary, move binary tests
move test that translate or create binary to own directory, for semantic distance (they are the only ones still failing)
This commit is contained in:
@ -11,10 +11,10 @@ module Risc
|
||||
|
||||
def test_if
|
||||
#show_main_ticks # get output of what is in main
|
||||
check_main_chain [LoadConstant, LoadConstant, OperatorInstruction, IsZero, LoadConstant, #5
|
||||
check_main_chain [LoadConstant, LoadConstant, OperatorInstruction, IsZero, LoadConstant, #5
|
||||
OperatorInstruction, IsZero, LoadConstant, RegToSlot, Branch, #10
|
||||
SlotToReg, SlotToReg, RegToSlot, SlotToReg, SlotToReg, #15
|
||||
SlotToReg, FunctionReturn, Transfer, SlotToReg, SlotToReg, #20
|
||||
FunctionReturn, Transfer, SlotToReg, SlotToReg, Transfer, #20
|
||||
Syscall, NilClass,] #25
|
||||
assert_equal 1 , get_return
|
||||
end
|
||||
|
Reference in New Issue
Block a user