Add more RGBLINK tests (#1386)

This commit is contained in:
Sylvie
2024-03-29 14:30:32 -04:00
committed by GitHub
parent 17afe611fd
commit 408a783fd8
9 changed files with 52 additions and 5 deletions

29
test/link/operators.asm Normal file
View File

@@ -0,0 +1,29 @@
SECTION "test", ROM0
ds 4
dw @ + 1
dw @ - 1
dw @ * 2
dw @ / 2
dw @ % 2
dw -@
dw @ ** 2
dw @ | %10101010
dw @ & %10101010
dw @ ^ %10101010
dw ~@
db @ && @
db @ || @
db !@
db @ == 7
db @ != 7
db @ > 7
db @ < 7
db @ >= 7
db @ <= 7
dw @ << 1
dw @ >> 1
dw @ >>> 1