comparison python/ppci/target/thumb/armtoken.py @ 342:86b02c98a717 devel

Moved target directory
author Windel Bouwman
date Sat, 01 Mar 2014 15:40:31 +0100
parents python/target/armtoken.py@4d204f6f7d4e
children
comparison
equal deleted inserted replaced
341:4d204f6f7d4e 342:86b02c98a717
1
2 from ..token import Token, u16, bit_range
3
4 class ThumbToken(Token):
5 def __init__(self):
6 super().__init__(16)
7
8 rd = bit_range(0, 3)
9
10 def encode(self):
11 return u16(self.bit_value)
12