sbasm3 icon indicating copy to clipboard operation
sbasm3 copied to clipboard

SC/MP cross: DLD/ILD/JMPs don't have E-displacement

Open sigurasg opened this issue 7 months ago • 0 comments

It appears that a displacement of 0x80 for DLD/ILD/JMPs does not imply E-displacement, as is the case for LD et al. Instead these instructions simply have an extra byte of reach with the displacement, as -128 is a valid displacement. In my opinion

   DLD E(P1)

should raise an error during assembly, as this is not a valid instruction.

See this thread on Vintage Radio.

sigurasg avatar Sep 10 '25 11:09 sigurasg