English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   support.WinUAE (https://eab.abime.net/forumdisplay.php?f=5)
-   -   dbg/disasm: max opcode length (https://eab.abime.net/showthread.php?t=113664)

a/b 18 February 2023 04:53

dbg/disasm: max opcode length
 
od-win32/debug_win32.cpp, line 583 (GetPrevAddr() function):
Code:

        dasmaddr = addr - 20;
This should be 22 since the longest opcode is 22 bytes. For example, if you have something like:
Code:

        move.l        ([$87654321.l,a0],$12345678.l),([$87654321.l,a0],$12345678.l)
and scroll one line up in debugger (UI version, so F5 and then alt+up) it won't properly detect the whole opcode, and it will end up somewhere in the middle of it since it only goes back 20 bytes.


All times are GMT +2. The time now is 23:42.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04624 seconds with 11 queries