Welcome, Guest. Please login or register.

Author Topic: Two quick assembly language questions  (Read 75 times)

Description:

0 Members and 3 Guests are viewing this topic.

Offline taliadonTopic starter

  • Newbie
  • *
  • Join Date: Nov 2023
  • Posts: 4
  • Country: gb
    • Show all replies
Two quick assembly language questions
« on: November 15, 2025, 11:34:21 AM »
Hey guys, two quick questions regarding 68000 programming:

1) Can anyone explain why move.w d0,-(a0) {8 Cycles} is faster than move.w -(a0),d0 {10 cycles}? This seems a weirdly asymmetrical to me.

2) Does anyone know why my version of Devpac doesn't like move.b a0,d0? Does this particular version of the move instruction have the same size limitations as movea{.w/.l} d0,a0? This is not stipulated within the documentation I have.

All comments are greatly appreciated.