Mercurial > lcfOS
view python/ppci/target/thumb/armtoken.py @ 397:5d03c10fe19d
Small changes
author | Windel Bouwman |
---|---|
date | Thu, 29 May 2014 10:47:28 +0200 |
parents | 86b02c98a717 |
children |
line wrap: on
line source
from ..token import Token, u16, bit_range class ThumbToken(Token): def __init__(self): super().__init__(16) rd = bit_range(0, 3) def encode(self): return u16(self.bit_value)