Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2385

development tools • Re: py8dis - a programmable static tracing 6502 disassembler in Python

$
0
0
I don't have access to a PC right now to test this, but I suspect you can define your own hook function which is a lightly tweaked copy of the existing stringhi_hook:

Code:

def my_stringhi_hook(target, addr):    return stringhi(addr + 3) + 1
stringhi() also takes an optional include_terminator_fn which *might* let you do something like:

Code:

def my_stringhi_hook(target, addr):    return stringhi(addr + 3, include_terminator_fn=lambda b: True)
Are you sure the &8d isn't an actual STA opcode? I am wondering if some other bug in py8dis is confusing matters here.

Statistics: Posted by SteveF — Mon Feb 05, 2024 2:25 am



Viewing all articles
Browse latest Browse all 2385

Trending Articles