RosettaCodeData/Task/Literals-String/68000-Assembly/literals-string-3.68000
2023-07-01 13:44:08 -04:00

3 lines
240 B
Text

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.