[Tutor] I'd like to sort (symbol, address) set by address
Geonjae Lee
gjlee@seri.co.uk
Mon, 15 Jul 2002 14:36:23 +0100
Hi all.
I'm new to python.
These days, I'm trying to use python for my work.
My symbol file contents are like below.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
C$$zinit$$Base 11da1c0
C$$zinit$$Limit 11db840
watchdog_data$$Base 1101584
watchdog_data$$Limit 11015d0
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
What I'd like to do is to sort my symbol files by address(second item).
I think first I have to convert second item value to integer.=20
so Is there any methond that change input(hex) to integer ?=20
And second, how can I sort by second item ?=20
I'd appreciate any help. Thanks.