Jump to content

Compound data type: Difference between revisions

m
→‎{{header|6502 Assembly}}: fixed typo and general formatting
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 .rs equ point_ram+MAX_POINT_OBJECTS</lang>
 
=={{header|ActionScript}}==
1,489

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.