py udis.py -c 8051 usb_jtag.bin Binary file is from https://github.com/diodep/ch55x_jtag/releases/tag/v1.2 ``` 0000 .org $0000 0000 02 00 49 ljmp $4900 ... 170D 41 42 ajmp $42 ... ``` My guess is that LJMP target address bytes have to be un-swapped. AJMP 11bit addressing is a bit more complicated..
py udis.py -c 8051 usb_jtag.bin
Binary file is from https://github.com/diodep/ch55x_jtag/releases/tag/v1.2
My guess is that LJMP target address bytes have to be un-swapped.
AJMP 11bit addressing is a bit more complicated..