Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
6
Task/Variables/68000-Assembly/variables.68000
Normal file
6
Task/Variables/68000-Assembly/variables.68000
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
MyVar:
|
||||
DC.L 0 ;reserves 4 bytes of storage. The label MyVar represents the address of the four 0 bytes shown here.
|
||||
|
||||
MyOtherVar:
|
||||
DC.L $C0 ;reserves 8 bytes of storage. The first four bytes are initialized to 00 00 00 C0 and the second four to $00 $00 $01 $F4.
|
||||
DC.L 500 ;MyOtherVar points to the first four bytes, you'll need pointer arithmetic to get to the second four.
|
||||
Loading…
Add table
Add a link
Reference in a new issue