Writing values

Number value can be written in several ways. First of all, you can write normal number. You can give any number as any number type, not only integer as [Xi] or [Xu] and real as [Xf]. For example:

MOV4i 128    AX
MOV4i 1.28e2 AY
MOV8f 128    CR
MOV8f 1.28e2 DR

If given number cannot be written precisely as particular type, it can be rounded or truncated. Range checking isn't warranted.

You can also give a string as a number. That string must be one character length. Number will be ASCII code of this character. Examples:

MOV1u "A"  A1
MOV4i '\n' BX

You can give label name (also with full namespace path), but only as [4i] type. Number will be address of this label.

MOV4i MyLabel AX
MOV4i Debug.Beep AY