Unless I'm completely missing something, fasmg doesn't appear to have a simple way to display a number. The tick (`) symbol can be prepended to some variables to turn them into strings. This only works though with variables like indexes. This gave me a crazy and very cursed idea:
Code:
Here is an example:
Code:
This would output the following:
Code:
Code:
macro display_decimal number
repeat 1 index: number
display `index
end repeat
end macro
Here is an example:
Code:
test := $FFFFFF
display_decimal test
This would output the following:
Code:
16777215