RosettaCodeData/Task/Variable-size-Set/68000-Assembly/variable-size-set-1.68000

8 lines
281 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
MyByte:
DC.B 0
EVEN ;you need this to prevent alignment problems if you define an odd number of bytes.
MyWord:
DC.W 0 ;this takes up 2 bytes even though only one 0 was written
MyLong:
DC.L 0 ;this takes up 4 bytes even though only one 0 was written