Dirk Hoffmann

Results 78 comments of Dirk Hoffmann

Automatic verification of Line-F instructions has turned out to be a dead end, so I've decided to crawl through this area manually. I've started with the FPU range and here...

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.

This one is also interesting: ``` F200 5c1a: Moira: [4] fneg.? D0, FP0 Musashi: [4] fmovecr #$1a, fp0 vda68k: [4] fmovecr.x #0x1a,fp0 ``` It's a `FNEG` instruction with an invalid...

> Might be something for your next project ;) Never ever. 😉 > From the EAB thread it looks like Bartman's suggestion of objdump or disassembler.library (might work with are...

@mithrendal has kindly wrapped @BartmanAbyss's TypeScript parser with a command line interface. After fixing minor issues with argument parsing, it works as expected: ``` hoff@MacBook-Pro Bartman % node dasm.js 0xF200...

> Actually extracting the code (like Bartman did) and just keeping it in C wasn't too difficult Wow, that's awesome news! 👍 I'll integrate it asap.

I've integrated the new disassembler in the TestRunner app and added a new style called `DASM_GNU` (which is producing garbage results at the moment). The next step will be to...

Interesting tidbit: In contrast to the other disassemblers, `binutils` mixes hexadecimal and decimal numbers. ``` Instruction: [6] ori.b #$8d, $2687.w (Musashi) [6] ori.b #$8d, $2687.w (Moira) [6] ori.b #-115,$2687 (Binutils)...

I played around a little with compiler explorer. It seems like everything is printed in decimal. > That might be because of the print_address_func that I hastily implemented The TypeScript...

I think I've found a bug in the Binutils disassembler (running in 68010 mode): ``` Instruction: [6] cmpi.b #-$73, ($2687,PC); (1+); ($368b) (Musashi) [6] cmpi.b #-$73, ($2687,PC); (1+); ($368b) (Moira)...