NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Array and Structure Elements

Prefix an array name with the address-of operator (&) and add the desired offset. The offset can be an expression, number, register name, or variable.

The following examples show how to do this for byte, word, and doubleword arrays.

MASM expression Debugger expression
String[12] BY &String+12*(&String+12)
aWords[bx+di] WO &aWords+bx+di*(unsigned*)(&aWords+bx+di)
aDWords[bx+4] DW &aDWords+bx+4*(unsigned long*)(&aDWords+bx+4)

See Also

Assembly-Language Expressions