sbasm3
sbasm3 copied to clipboard
SC/MP cross: DLD/ILD/JMPs don't have E-displacement
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.