mras0
mras0
For one-off stuff I find Asm-pro to be very good, but that won't integrate with any kind of automatic testing. Might be an idea to ask on EAB (mentioning the...
Asm-pro also doesn't recognize $f200, $1185 (decodes it as LINE_F). Attempting to execute it on my 060 triggers an unhandled line f exception (the "expected" unhandled FPU instructions like "fsincos"...
> Originally, I thought the disassembler will be the easy part 😅. That's because I came from the 6502 for which writing a disassembler is a no-brainer. Still child's play...
> So I need to change my plans. The disassembler needs to support the full range of (M6888x) FPU instructions. My exec handlers can be kept simpler though. They can...
Actually extracting the code (like Bartman did) and just keeping it in C wasn't too difficult: [disasm.zip](https://github.com/dirkwhoffmann/Moira/files/9439385/disasm.zip) Only very very lightly tested, but seems to work. Note I added a...
Noticed I accidentally left in a "debug printf" in the floatformat_to_double function ([here](https://github.com/dirkwhoffmann/Moira/blob/0c1db83a90ca3d30d3d71649090ea4dd58ff0810/Binutils/m68k-dis.c#L115)) BTW if you don't want to bother with the memstream stuff, it's easy to change the fprintf_func...
That might be because of the `print_address_func` that I hastily implemented. The real binutils probably uses decimal for addresses as well (checking on Bebbo's version of [compiler explorer](http://franke.ms/cex/z/bns58b) that seems...
`cmpi.b` looks like a bug allright. `cmp2.b` I'm guessing the second word is illegal (contains data in 0x0fff [07777])
Had a chance to check on my a1200 and `dc.w $00d0, $0001` is recognized by asmpro as `cmp2.b (a0),d0` and it also behaves as such (also emulated by 060.library if...
I posted some suggestions in the other thread, but I think [mmu.library](http://aminet.net/package/util/libs/MMULib) would be a good starting point. It's still under active development (in fact it received a minor update...