MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

drewcifer
One bad Mutha-(shut yo' mouth!)
Reged: 07/01/04
Posts: 428
Loc: Sweden
Send PM
Re: MAME x86 disassembler behaviour
01/14/12 03:18 AM


Good question, and thanks for looking at the x86 stuff in MAME!

MAME's debugger is pretty basic, and while it would be super-cool to have numeric value printing options, really all it does right now is call a function in a core's disassembler that sprintfs to a string. And each core's disassembler does it differently. So, to my knowledge, your best bet for now is to just edit the disassembly core to print out what you want it to print out.

It's possible people on MAMEdev share your opinion of how the number should be printed, and a patch that does what you describe may be gladly incorporated into mainstream.

Andrew


> the opcodes
> f6 xx (test byte, val)
> and
> 80 &38=38 (cmp byte, val)
>
> show -val when val is 0x80..0xff
>
> While it is technically correct, I find it harder to read.
> Is there an option to display using unsigned values, or it requires changing the
> code?







Entire thread
Subject Posted by Posted on
* MAME x86 disassembler behaviour peter ferrie 01/14/12 01:38 AM
. * Re: MAME x86 disassembler behaviour drewcifer  01/14/12 03:18 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
1 registered and 520 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1362