>Number three on my "wish list" of 680XX opcodes is:
> tst.l a0
>As we all know, this instruction is documented as illegal in all Motorola
>documentation. 68000 processors take an illegal exception. The 68020
>and 68030, however will properly execute tst.l a0 (!).
but so pathetically bad that it is misread by almost all readers (initially
Note the following which appears above the supposed table of valid effective
addresses for TST and pay attention to what I've underlined:
Effective Address field - Specifies the destination operand. If the
operation size is word or long, all addressing modes are allowed. If the
operation size is byte, only data addressing modes are allowed as
[Table appears here with dashes indicating no An and #<data> modes]
In fact, I wouldn't be a bit surprized if the table is STILL wrong and that a
tst.b will work with immediate data.
A lot of people besides myself have *ed about this misguiding documentation
but those in charge of it don't seem to care.
-- Dave Trissel Motorola Austin