some common instruction extration

This commit is contained in:
Torsten Ruger
2016-12-15 12:38:22 +02:00
parent fdefb8e7a5
commit b93f207638
5 changed files with 19 additions and 9 deletions

View File

@@ -23,6 +23,14 @@ module Arm
val << by
end
def condition_code
shift(cond_bit_code , 28 )
end
def instruction_code
shift(instuction_class , 26)
end
def byte_length
4
end