change assembler to write binary code objects

also all debug in hex
This commit is contained in:
Torsten Ruger
2018-03-29 12:16:27 +03:00
parent ce58de2671
commit 7cf253ad9c
3 changed files with 40 additions and 86 deletions

View File

@ -10,7 +10,8 @@ module Arm
# in Arm the register layout is different and so we have to place the syscall code into register 7
# Riscs 0-6 hold the call values as for a normal c call
class CallInstruction < Instruction
attr_reader :first
def initialize(first, attributes)
super(nil, nil)
@attributes = attributes