View Single Post
Old 20 May 2021, 20:00   #148
saimo
Registered User
 
saimo's Avatar
 
Join Date: Aug 2010
Location: Italy
Posts: 787
Quote:
Originally Posted by meynaf View Post
It is not wrong notions. It is 30+ years of coding.
That some "official" online doc says something does not change what is correct and what is not (btw. Freescale isn't Motorola as we knew it).
That online doc is the PDF version of the Motorola's M68000 Family Programmer's Reference Manual. For the record, I have the physical book right here, and I can guarantee that the text matches 100%. FreeScale and NXP simply acquired the assets and rights, but didn't redefine the syntax.

Quote:
No. Most, if not all, disassemblers, will output it without a size and all assemblers accept it without a size -- while you may eventually find some which reject moveq.l (and bset.b, etc).
What assemblers and disassemblers do mean less than 0: Motorola defined the syntax, and Motorola said that moveq has a long size.

Quote:
If assemblers rejected all 'wrong' syntax with this definition, not a single source in the world would assemble
That doesn't change the fact that a wrong syntax is just that: wrong.
saimo is offline  
 
Page generated in 0.04402 seconds with 11 queries