What is the best way for my to store a table containing 40 (16 bit values) using the DATA command as i only want to store them once at program time.
i understand the explaination in the manaul for storing 8 bit values as below
' Store 10, 20 and 30 starting at location 5
DATA @5,10,20,30
But i can't get my head round this bit for 16 bit values
' Assign a label to a word at the next location
dlabel DATA word $1234 ' Stores $34, $12
assuming i am going to store the following
Value1=1000 ' at address 0 & 1
Value 2=2000 'at address 2 & 3
Value3 =3000 'at address 4 & 5
How can i do this ?
Toni
Bookmarks