NRTDRV MAN EN SYNTAX NUMERALS

From MSX MUSIC WIKI
Jump to: navigation, search

Numeral expressions

Hexadecimal starts with "$", binary starts with "%" and decimal starts without any symbols.

Separate sign "_" is available in binary.

[example]
%101_10_100 = %10110100 = $B4 = 180

Addition and subtraction are available with "+" and "-". This is differ from note value and is purely mathematical calculated.

[example]
A [8+8+4-1 r1]
;same as [19 r1]

Repeated time should be given in decimal (hexadecimal or binary are not accepted).

[example]
 A [$0c efg]
"$0c" is recognized as macro named"$0c", not as decimal numeric 12.