1 out of 1 members found this post helpful.
Did you find this post helpful?

|
Re: Setting whole content of array variable in a simple way?
Preview
Default Re: Setting whole content of array variable in a simple way?
from the
' MPASM™ Assembler,
MPLINK™ Object Linker,
MPLIB™ Object Librarian
User’s Guide'
you might be able to use the FILL command....... something like this...calling gosub FILLING
Code:
FILLING:
ASM
org: _time 'location by the name of your-array
fill 32, 24 'puts dec 32 in next 24 locations
ENDASM
Return
this is one of the directives of MPASM, hopefully the '_array' with the underscore IS the location in ram of your array
Bookmarks