mirror of
https://github.com/irmen/prog8.git
synced 2025-11-02 13:16:07 +00:00
change math.crc32 to the same algorithm as pkzip/zlib uses (ISO-HDLC). Add math.crc32_end_result(). Fix a parse error in profiler.py script.
This commit is contained in:
@@ -7,6 +7,9 @@ a memory access statistics dump file (produced by the X16 emulator's -memorystat
|
||||
and prints out what assembly lines and variables were read from and written to the most.
|
||||
These may indicate hot paths or even bottlenecks in your program,
|
||||
and what variables in system ram might be better placed in Zeropage.
|
||||
|
||||
Also see https://prog8.readthedocs.io/en/latest/technical.html#run-time-memory-profiling-with-the-x16-emulator
|
||||
for an example of how to use this tool together with the X16 emulator.
|
||||
"""
|
||||
|
||||
|
||||
@@ -26,7 +29,7 @@ class AsmList:
|
||||
if not line or line == '\n' or line[0] == ';':
|
||||
continue
|
||||
if line[0] == '=':
|
||||
value, symbol, _ = line.split(maxsplit=2)
|
||||
value, symbol = line.split(maxsplit=2)[:2]
|
||||
value = value[1:]
|
||||
if value:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user