Fixed, brief extension word scale factor was lost when 68020+ disassembly was recently fixed..
|
Quote:
:) |
Hi Toni, i'm using some memory indirect addressing mode and noticed something strange in disassembler (code is properly executed).
Seems that base register is sometime suppressed (and i'm not suppressing it) or different modes are disassembled in the same way. So i've manually constructed the problematic encodings: Code:
dc.b $20,$30,$09,%00010000 Code:
005082AE 2030 0910 MOVE.L (A0,D0.L) == $00000000 [00000000],D0 EDIT: not that all the encodings I entered are wrong, I put only the interested various combinations of bits BS, IS, I/IS using Indirect with Null displacement, in the full format word |
I'd say they are technically correct. I don't think those bit combinations are supposed to be used because instruction becomes plain move :)
|
Quote:
But take this snippet: Code:
lea $4.w,a0 Code:
00642376 41f8 0004 LEA.L $0004,A0 You've execbase in A6 only in the later move, because base is suppressed. |
I think the important question is: how does other disassemblers disassemble them?
|
Quote:
Code:
dc.b $2c,$70,$09,%00010101 ;movea.l ([a0],d0.l),a6 |
Ok, monam disassemble it right.
--- Just for the record, found a bug in devpac for some 020+ 'unusual/unused' addressing mode: Code:
movea.l ([],d0.l),a6 But who care, i'm more interested in WinUAE perfection ;) |
Perhaps it works better now but I also didn't test if something else got broken..
|
Quote:
If I find something wrong I'll let you know. :great |
Hi Toni, found a broken disassembly for CMP2 (recognized as CHK2).
|
It is usually very good idea to also include an example..
|
Quote:
Code:
cmp2.w (a0),a1 Code:
>d |
Better but not good enough, for comparison purposes both instructions should be included :)
Fixed. This was yet another 68020+ instruction that has "non-standard" encoding. CHK2 and CMP2 has exact same opcode word so they are technically same instruction. Second word has single bit that tells the difference. |
Quote:
:great |
Yes, it's 11th bit of 2nd word.
Code:
FEDCBA9876543210 FEDCBA9876543210 |
1 Attachment(s)
Hi Toni, just to not open a new thread..
Latest alpha version (15 set. 2019, 19:43:35). First time ever getting stuck copying file to hard disk (as a host directory) from an IPF floppy file (standard DOS\0, but I've not checked if there some protection in it). Amiga side my usual WB configuration used millions of times w/o copy problems. Maybe you can recognize the access addresses in the WinUAE Board/ROM for this infinite loop: Code:
00EB1EAE 4a2b 0002 TST.B (A3,$0002) == $00ebf002 I don't know if useful because an unofficial version .. EDIT2: I tried to replicate the same conditions, but I can't reproduce the crash :( Cheers. |
Because of not much info: don't use indirect mode?
Dumps are always useless when non-official version. |
Quote:
Same exact config as http://eab.abime.net/showpost.php?p=...2&postcount=46 IPF is SPS 2153, a standard DOS\0 disk (checked and is not protected in any way). But I suppose IPF is not the problem, infinite loop is in WinUAE ROM... I normally use the ROM indirect mode, but if problematic I can revert to direct mode. I'm here if I can give you other information/help. |
Can you really duplicate it? Not happening when copying to RAM disk? And so on..
|
All times are GMT +2. The time now is 10:42. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.