NRTDRV MAN EN SYNTAX NUMERALS

From MSX MUSIC WIKI
Revision as of 05:12, 15 July 2018 by Kumokosi (talk | contribs) (Created page with "==Numeral expressions== Hexadecimal starts with "$", binary starts with "%" and decimal starts without any symbols. Separate sign "_" is available in binary. [example] %1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.