View Single Post
Old 22 August 2022, 20:06   #14
npomarede
Registered User
 
Join Date: Nov 2017
Location: Paris
Posts: 5
Quote:
Originally Posted by Toni Wilen View Post
Address != addressing mode.

I don't think there is "correct" option. I don't remember seeing Motorola documenting how short absolute should get disassembled when address is negative.

quick checks:

mon and asmone: -$xxxx.w
hrtmon: (-$xxxx).w
ar3: $ffffxxxx.S

I'll make it configurable (some other disassembler options are already configurable)
Hi
another possibility, often used in ST asm sources is to add ".w" to the address, keeping the address as it is in the opcode word :
move.w $8260.w,d0


ie : this doesn't change the address to a negative one, which as pointed by meynaf is hard to read in an ST context.


Nicolas
npomarede is offline  
 
Page generated in 0.06750 seconds with 11 queries