6. How can I reference a WORD in a BYTE ARRAY?

Let's say that you have a WORD located at bytes 3 and 4 of a BYTE array, and Byte 3 is the LowByte. You can use the EXT (external) modifier to assign it to a WORD variable.


MyByteArray VAR BYTE[10]

MyWord VAR WORD EXT
@MyWord = _MyByteArray + 3