mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
X && 0 and X & 0 are constant 0; X || 1 is constant 1 (#1399)
Fixes #977
This commit is contained in:
6
test/asm/const-zero.out
Normal file
6
test/asm/const-zero.out
Normal file
@@ -0,0 +1,6 @@
|
||||
What do you get if you multiply six by seven?
|
||||
Life, the Universe, and Everything!
|
||||
Where are we?
|
||||
Here we are!
|
||||
$0
|
||||
$0
|
||||
Reference in New Issue
Block a user