From 5a38f6e14897f358599e8daf90db1fd701acc1cc Mon Sep 17 00:00:00 2001 From: Rangi Date: Thu, 6 May 2021 23:17:08 -0400 Subject: [PATCH] rgbasm supports "Q16.16" fixed-point literals "Qm.n" signifies an m-bit two's complement integer with n fractional bits. --- src/asm/rgbasm.5 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/asm/rgbasm.5 b/src/asm/rgbasm.5 index 55bc9359..b7c114b2 100644 --- a/src/asm/rgbasm.5 +++ b/src/asm/rgbasm.5 @@ -91,13 +91,13 @@ section. The instructions in the macro-language generally require constant expressions. .Ss Numeric Formats There are a number of numeric formats. -.Bl -column -offset indent "Fixed point (16.16)" "Prefix" +.Bl -column -offset indent "Fixed point (Q16.16)" "Prefix" .It Sy Format type Ta Sy Prefix Ta Sy Accepted characters .It Hexadecimal Ta $ Ta 0123456789ABCDEF .It Decimal Ta none Ta 0123456789 .It Octal Ta & Ta 01234567 .It Binary Ta % Ta 01 -.It Fixed point (16.16) Ta none Ta 01234.56789 +.It Fixed point (Q16.16) Ta none Ta 01234.56789 .It Character constant Ta none Ta \(dqABYZ\(dq .It Gameboy graphics Ta \` Ta 0123 .El