mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-22 19:22:05 +00:00
Add unsigned right shift operator
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
macro test
|
||||
; Test the rpn system, as well as the linker...
|
||||
DEF expr EQUS STRRPL(STRRPL("\1 + zero)", "<<", "<< ("), ">>", ">> (")
|
||||
DEF expr EQUS STRRPL(STRRPL("\1 + zero)", "<< ", "<< ("), ">> ", ">> (")
|
||||
dl expr
|
||||
PURGE expr
|
||||
|
||||
@@ -24,5 +24,8 @@ section "test", ROM0[0]
|
||||
test -4 >> 2
|
||||
test -1 >> -9001
|
||||
|
||||
test $DEADBEEF >> 1
|
||||
test $DEADBEEF >>> 1
|
||||
|
||||
SECTION "Zero", ROM0[0]
|
||||
zero:
|
||||
|
||||
Reference in New Issue
Block a user