annotate python/tests/ppcitest.py @ 131:04e45faafd1d

Added register view
author Windel Bouwman
date Sat, 19 Jan 2013 18:41:49 +0100
parents fe145e42259d
children
rev   line source
94
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
1
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
2 from core import BitReader
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
3
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
4 with open('main.s.bc', 'rb') as f:
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
5 br = BitReader(f)
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
6 br.parseModule()
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
7 print(br)
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
8