Compound data type: Difference between revisions
m
→{{header|6502 Assembly}}: fixed typo and general formatting
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) m (→{{header|6502 Assembly}}: fixed typo and general formatting) |
||
Line 48:
NESASM3 syntax:
<lang 6502asm>MAX_POINT_OBJECTS = 64 ; define a constant
.rsset $0400 ; reserve memory storage starting at address $0400
point_x .rs MAX_POINT_OBJECTS ; reserve 64 bytes for x-coordinates
Line 54 ⟶ 55:
VASM syntax:
<lang 6502asm>MAX_POINT_OBJECTS equ 64
point_ram equ $0400
point_x equ point_ram
point_y
=={{header|ActionScript}}==
|