Mercurial > lcfOS
view python/tests/ppcitest.py @ 158:9683a4cd848f
Added some functions for code generation
author | Windel Bouwman |
---|---|
date | Fri, 08 Mar 2013 16:52:44 +0100 |
parents | fe145e42259d |
children |
line wrap: on
line source
from core import BitReader with open('main.s.bc', 'rb') as f: br = BitReader(f) br.parseModule() print(br)