Monday, April 25, 2016

Description and Example of Program word variable

Word Variables:

The assembler directive for defining a word variable has the following form:

           name D W                            initial_value

the pseudo-op     D W    MEANS "Define word. "for example 

          W R D    D W         - 2

as with byte variables , a question mark in place of an initial value means an uninitialized word . the decimal range of initial values that can be specified is - 32768  to 32767  for a signed interpretation ,or  0 to   65535  for an unsigned interpretation.