Added doc as to why a8 will not emit overflow warnings
authorLukas Krickl <lukas@krickl.dev>
Sat, 16 Dec 2023 11:23:05 +0000 (12:23 +0100)
committerLukas Krickl <lukas@krickl.dev>
Sat, 16 Dec 2023 11:23:05 +0000 (12:23 +0100)
include/ulas.h

index d286d0ad61f4dd55fe2481fbe12d6f4f5a293d12..aa4dfc471d4a9234fcba12b385ebfe12db49e798 100644 (file)
@@ -433,6 +433,8 @@ enum ulas_asmregs {
 enum ulas_asmspetok {
   ULAS_E8 = -1,
   ULAS_E16 = -2,
+  // A8 is like E8, but it will not emit an overflow warning
+  // because it is commont to pass a 16-bit label as a value
   ULAS_A8 = -3,
   ULAS_DATZERO = 0xFF00
 };