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.
You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296
See here for more information viewtopic.php?f=20&t=7296
BOOKMARK THIS PAGE !
https://www.exxosforum.co.uk:8085/IP_CHECK/
You can unban yourself if needed. It also sends me reports to investigate the ban.
https://www.exxosforum.co.uk:8085/IP_CHECK/
You can unban yourself if needed. It also sends me reports to investigate the ban.
DO NOT USE MOBILE / CGNAT DEVICES WHERE THE IP CHANGES CONSTANTLY!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!
MC 68020 instructions
-
chronicthehedgehog
- Site sponsor

- Posts: 381
- Joined: 08 May 2022 18:11
- Location: The Midlands
Re: MC 68020 instructions
Did Motorola syntax change for the new addressing modes - with everything in brackets?
e.g. (d,An,Rm.Size*Scale)
Perhaps it will parse that correctly
e.g. (d,An,Rm.Size*Scale)
Perhaps it will parse that correctly
-
mrbombermillzy
- Moderator

- Posts: 2284
- Joined: 03 Jun 2018 19:37
Re: MC 68020 instructions
I may be mistaken, but I believe thats because it is out of range.pixelpusher wrote: 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).
You seem to be using the 'address register indirect with offset and index' addressing mode, in which case, the Motorola syntactic makeup is:
d(An,Xi)
...and d only having an 8 bit signed offset range (so -127 to +127) would put the value of $800 out of range.
-
pixelpusher
- Posts: 144
- Joined: 27 Dec 2019 21:01
Re: MC 68020 instructions
That one works (and to the other answer, d > 128 is exactly what the newer ops allow)chronicthehedgehog wrote: 23 Aug 2025 23:41 Did Motorola syntax change for the new addressing modes - with everything in brackets?
e.g. (d,An,Rm.Size*Scale)
Perhaps it will parse that correctly
Thank you!
-
chronicthehedgehog
- Site sponsor

- Posts: 381
- Joined: 08 May 2022 18:11
- Location: The Midlands
Re: MC 68020 instructions
:dualthumbup:pixelpusher wrote: 24 Aug 2025 00:17That one works (and to the other answer, d > 128 is exactly what the newer ops allow)chronicthehedgehog wrote: 23 Aug 2025 23:41 Did Motorola syntax change for the new addressing modes - with everything in brackets?
e.g. (d,An,Rm.Size*Scale)
Perhaps it will parse that correctly
Thank you!
Who is online
Users browsing this forum: CCBot and 2 guests