annotate doc/utils.rst @ 322:44f336460c2a

Half of use of burg spec for arm
author Windel Bouwman
date Mon, 27 Jan 2014 19:58:07 +0100
parents 8d07a4254f04
children 6df89163e114
rev   line source
310
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
1
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
2 Utilities
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
3 =========
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
4
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
5 Hexfile manipulation
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
6 --------------------
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
7
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
8
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
9 .. autoclass:: utils.HexFile
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
10
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
11
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
12 >>> from utils import HexFile
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
13 >>> h = HexFile()
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
14 >>> h.dump()
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
15 Hexfile containing 0 bytes
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
16 >>> h.addRegion(0, bytes([1,2,3]))
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
17 >>> h
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
18 Hexfile containing 3 bytes
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
19
e95e5572cd6d Added utils doc page
Windel Bouwman
parents:
diff changeset
20
319
8d07a4254f04 Work on burg
Windel Bouwman
parents: 310
diff changeset
21 Yacc
8d07a4254f04 Work on burg
Windel Bouwman
parents: 310
diff changeset
22 ----
8d07a4254f04 Work on burg
Windel Bouwman
parents: 310
diff changeset
23
8d07a4254f04 Work on burg
Windel Bouwman
parents: 310
diff changeset
24 .. automodule:: yacc
8d07a4254f04 Work on burg
Windel Bouwman
parents: 310
diff changeset
25
8d07a4254f04 Work on burg
Windel Bouwman
parents: 310
diff changeset
26
8d07a4254f04 Work on burg
Windel Bouwman
parents: 310
diff changeset
27 Burg
8d07a4254f04 Work on burg
Windel Bouwman
parents: 310
diff changeset
28 ----
8d07a4254f04 Work on burg
Windel Bouwman
parents: 310
diff changeset
29
8d07a4254f04 Work on burg
Windel Bouwman
parents: 310
diff changeset
30 .. automodule:: pyburg
8d07a4254f04 Work on burg
Windel Bouwman
parents: 310
diff changeset
31