diff python/ppci/target/arm/token.py @ 345:b4882ff0ed06

Added more arm isa tests
author Windel Bouwman
date Sun, 02 Mar 2014 17:12:08 +0100
parents 86b02c98a717
children 899ae3aea803
line wrap: on
line diff
--- a/python/ppci/target/arm/token.py	Sat Mar 01 16:32:27 2014 +0100
+++ b/python/ppci/target/arm/token.py	Sun Mar 02 17:12:08 2014 +0100
@@ -7,6 +7,9 @@
         super().__init__(32)
 
     cond = bit_range(28, 32)
+    S = bit_range(20, 21)
+    Rd = bit_range(12, 16)
+    Rn = bit_range(16, 20)
 
     def encode(self):
         return u32(self.bit_value)