-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Seeing as how SHex is meant to disassemble code that has been highlighted, it'd make sense for one to be able to do the same for data as well. The idea being that, if you highlight a section of bytes, you can tell SHex to display it as a byte table in the disassembly window. From there, one could adjust the table, like:
- Changing how many bytes are in each row.
- Changing whether the table uses db/dw/dl/dd
- Adjusting how many spaces/tabs are used before the db/dw/dl/dd
Those would be good enough things at the minimum, but if you wanted to go further, some ideas for how else the tables could be modified:
- Designate that the table contains pointers, and therefore change all the entries to use labels (perhaps also specifying what the upper 1-2 bytes are if the table uses db/dw).
- Specifying exactly how the bytes should be laid out per row, allowing for tables like:
db $80 : dl $7FD000 : dw $1000 db $80 : dl $7FE000 : dw $0800
- Outputting the table as ASCII text data. Perhaps one could also give SHex an asar table file to be able to output non-ASCII text data, with unrecognized bytes being output as the hexadecimal byte.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels