Assembler Directives: ds.b

ds.b reserves a block of uninitialized data bytes.

Example:

AD_Array: ds.b 50

;Reserves 50 bytes starting at location AD_Array.

Notes:

A programmer might also wish to create variables whose initial values are not defined or unknown. The value could be initially undefined because the corresponding variable will hold the value of a measurement that will be obtained from a sensor when the program runs. It could be unknown because the value of the variable is to be calculated by the program. The ds.b directive reserves uninitialized blocks of memory that may be filled in at run time. Memory locations for any variables whose values are undefined or unknown until run time should be assigned using this directive.