Yahoo Groups archive

68300

Index last updated: 2026-04-29 00:01 UTC

Message

RE: [68300] Re: Theoretical questions

2003-03-07 by Iain A B Lindsay

Perhaps there is confusion between word/longword adressing (which has very
little to do with the address bus, apart from alignment restrictions) and
the absolute short and absolute long addressing modes.  The following
example, illustrating some of the variations possible when copying a 32-bit
datum and a 16-bit datum, from address $00000017 to address $0000002A, may
help:

    opcode       operands

32-bit copy

     21F8    0017 002A                  move.l	23.w, 42.w
     21F9    0000 0017 002A             move.l	23.l, 42.w
     23F9    0000 0017 0000 002A        move.l	23.l, 42.l
     23F8    0017 0000 002A             move.l	23.w, 42.l

16-bit copy

     31F8    0017 002A                  move.w	23.w, 42.w
     31F9    0000 0017 002A             move.w	23.l, 42.w
     33F9    0000 0017 0000 002A        move.w	23.l, 42.l
     33F8    0017 0000 002A             move.w	23.w, 42.l

-Iain..

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.