RosettaCodeData/Task/Literals-String/68000-Assembly/literals-string-3.68000

4 lines
240 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
MOVE.L #'SEGA',D0 ;load the string "SEGA" into D0
MOVE.L '0000',D0 ;load the 32-bit value at address 0x00303030 (the most significant byte is always treated as zero,
;because the 68000 only has a 24-bit address space.