Quote:> If there's any assemblers out there, I am trying to make a starfield(not
3D
>or anything), just stars moving left to right, with a couple of different
>planes, but the thing I can't seem to get is how to put the values into an
>array? I'm new to assembler, but basically understand everything else,
arrays
>are the only thing that get me, should I use an array of strucs or just
words?
well, if the goal is size, then use words, or bytes, or whatever
Make an C (++) program to calculate values and write binary data
to file, then include this file to your asm code
my_data label byte ; or word / dword
include data.dat
------
data.dat file contains a couple of lines such as
db 012h, 0a3h, .....
db 024h, 03dh, .....
-----
then to address those bytes use
mov al, [my_data+di] ; note to put appropr. segment into ds
where DI is counter
and so on..
CU
--