mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-11-23 08:27:24 +03:00
[arm] Add support for imm5 operand type.
This commit is contained in:
parent
cf9b6c5a30
commit
af590fc7db
@ -46,6 +46,9 @@ instance ExtractValue ARM.ARM A32Operand.Pred (BVType 4) where
|
||||
instance ExtractValue ARM.ARM A32Operand.SBit (BVType 1) where
|
||||
extractValue = return . MC.BVValue NR.knownNat . toInteger . A32Operand.sBitToBits
|
||||
|
||||
instance ExtractValue ARM.ARM A32Operand.Imm5 (BVType 5) where
|
||||
extractValue = return . MC.BVValue NR.knownNat . toInteger . A32Operand.imm5ToBits
|
||||
|
||||
instance ExtractValue ARM.ARM A32Operand.BranchTarget (BVType 32) where
|
||||
extractValue = return . MC.BVValue NR.knownNat . toInteger . A32Operand.branchTargetToBits
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user