mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00
Merge branch 'master' of https://github.com/iimarckus/pokered
This commit is contained in:
commit
d294801560
|
@ -314,6 +314,11 @@ def get_labels_between(start_line_id, end_line_id, bank_id):
|
||||||
|
|
||||||
if ": ; 0x" in line:
|
if ": ; 0x" in line:
|
||||||
temp = line.split(": ; 0x")[1]
|
temp = line.split(": ; 0x")[1]
|
||||||
|
|
||||||
|
# just read until the comma appears
|
||||||
|
if "," in line:
|
||||||
|
temp = temp.split(",")[0]
|
||||||
|
|
||||||
if not " " in temp:
|
if not " " in temp:
|
||||||
address = int("0x" + temp, 16)
|
address = int("0x" + temp, 16)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue