MC 68020 instructions
Posted: 23 Aug 2025 23:36
Hi,
I tried - using PASM - to assemble an 68020 instruction
move.l $800(a0,d5.w*4),d6
However it looks like PASM can't handle this (and complains about an offset being out of range). Does anyone have an alternative 68020+ assembler running and knows what the hex code (six bytes) for this instruction is, or has an instruction encoding scheme for this?
I tried chatgpt (a disaster with dozens of wrong and always changing answers) and vasm (which doesn't seem to handle this either - at least not on regular TOS, even with 68030 underneath). NXPs documentation doesn't seem to list it directly either.
I tried - using PASM - to assemble an 68020 instruction
move.l $800(a0,d5.w*4),d6
However it looks like PASM can't handle this (and complains about an offset being out of range). Does anyone have an alternative 68020+ assembler running and knows what the hex code (six bytes) for this instruction is, or has an instruction encoding scheme for this?
I tried chatgpt (a disaster with dozens of wrong and always changing answers) and vasm (which doesn't seem to handle this either - at least not on regular TOS, even with 68030 underneath). NXPs documentation doesn't seem to list it directly either.