comparison python/ppci/target/arm/token.py @ 352:899ae3aea803

First kernel run for vexpressA9
author Windel Bouwman
date Sun, 09 Mar 2014 11:55:55 +0100
parents b4882ff0ed06
children
comparison
equal deleted inserted replaced
351:62803b073d11 352:899ae3aea803
8 8
9 cond = bit_range(28, 32) 9 cond = bit_range(28, 32)
10 S = bit_range(20, 21) 10 S = bit_range(20, 21)
11 Rd = bit_range(12, 16) 11 Rd = bit_range(12, 16)
12 Rn = bit_range(16, 20) 12 Rn = bit_range(16, 20)
13 Rm = bit_range(0, 4)
13 14
14 def encode(self): 15 def encode(self):
15 return u32(self.bit_value) 16 return u32(self.bit_value)