so close i can smell it, checkpoint
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
require_relative "instruction"
|
||||
|
||||
module Asm
|
||||
module Arm
|
||||
# There are only three call instructions in arm branch (b), call (bl) and syscall (swi)
|
||||
|
||||
# A branch could be called a jump as it has no notion of returning
|
||||
@@ -13,7 +13,7 @@ module Asm
|
||||
# in Arm the register layout is different and so we have to place the syscall code into register 7
|
||||
# Registers 0-6 hold the call values as for a normal c call
|
||||
|
||||
class CallInstruction < Instruction
|
||||
class CallInstruction < Vm::CallInstruction
|
||||
|
||||
def assemble(io)
|
||||
case opcode
|
||||
|
Reference in New Issue
Block a user