give arm own instruction base class back

This commit is contained in:
Torsten Ruger
2018-03-26 20:04:39 +03:00
parent 4a26bec0f1
commit c5b3c3f106
8 changed files with 45 additions and 21 deletions

View File

@ -9,9 +9,7 @@ module Arm
# swi (SoftWareInterrupt) or system call is how we call the kernel.
# 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 < Risc::Branch
include Constants
include Attributed
class CallInstruction < Instruction
def initialize(first, attributes)
super(nil, nil)