unifying register comstants

were in several files with different names
many files touched, but just renames
This commit is contained in:
Torsten Ruger
2015-06-27 21:16:46 +03:00
parent 97b4c469f8
commit ef42abe611
10 changed files with 30 additions and 39 deletions

View File

@ -15,7 +15,7 @@ module Arm
def putstring int_code , codes
codes << ArmMachine.mov( :r1 , 20 ) # String length, obvious TODO
codes << ArmMachine.ldr( :r0 , Virtual::Slot::MESSAGE_REGISTER, Virtual::SELF_INDEX)
codes << ArmMachine.ldr( :r0 , Register::RegisterReference.message_reg, Virtual::SELF_INDEX)
syscall(int_code , codes )
end