1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-21 09:16:34 +00:00

Add the bool type. Few boolean-related bugfixes.

This commit is contained in:
Karol Stasiak
2019-07-26 19:02:32 +02:00
parent c8ca48a6b0
commit 3aac33b54f
15 changed files with 313 additions and 21 deletions
+2
View File
@@ -14,6 +14,8 @@ where `11111` is a sequential number and `xx` is the type:
* `bc` array bounds checking (`-fbounds-checking`)
* `bo` boolean type conversions
* `c8` constant `#8` for `BIT` when immediate addressing is not available
* `co` greater-than comparison
+2
View File
@@ -79,6 +79,8 @@ Its actual value is defined using the feature `NULLPTR`, by default it's 0.
TODO
* `bool` a 1-byte boolean value
## Special types
* `void` a unit type containing no information, can be only used as a return type for a function.