projects
/
ulas
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
347ac1e
)
Added doc as to why a8 will not emit overflow warnings
author
Lukas Krickl
<lukas@krickl.dev>
Sat, 16 Dec 2023 11:23:05 +0000
(12:23 +0100)
committer
Lukas Krickl
<lukas@krickl.dev>
Sat, 16 Dec 2023 11:23:05 +0000
(12:23 +0100)
include/ulas.h
patch
|
blob
|
history
diff --git
a/include/ulas.h
b/include/ulas.h
index d286d0ad61f4dd55fe2481fbe12d6f4f5a293d12..aa4dfc471d4a9234fcba12b385ebfe12db49e798 100644
(file)
--- a/
include/ulas.h
+++ b/
include/ulas.h
@@
-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
};