WORD

Top  Previous  Next

 

This type consists of two bytes. The more significant byte is always the one with the lower address number. This is quite unusual for programmer of the PC area because there it is exactly the other way round. The number area of the WORD contains the positive numbers from 0 - 65535 resp. $0000 - $FFFF.

 

 

 

The numbering of the bits in the more significant byte from 8 - 16 is a little bit of academic nature, because you can also use only the numbers 0-7 for the access to these bits all the time. The name of a word always relates to the more significant byte. AW 6 means byte 6 and byte 7.

 

Examples for the use of WORD-types:

 

      T                   MW 18

      L                   2#0000 0101 1111 0011

      OPN DB[#DBau]       // #Dbau is declared as Temp-WORD

 

See also:

Data Types