aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-01-16 14:12:11 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-01-16 14:12:11 +0100
commit9261588dcaa10aac0a9b8b7a81ff70a621cf1551 (patch)
tree2f58d0889a3bc84c6fd6829ef1fce56f880d8791 /tests
parente7d815c73701377ad3f370e5e5e2b3296627a7ae (diff)
downloadtools.nes-9261588dcaa10aac0a9b8b7a81ff70a621cf1551.tar.gz
tools.nes-9261588dcaa10aac0a9b8b7a81ff70a621cf1551.zip
Add boolean operators
Allow for expressions that evaluate to a boolean expression. This in turn mean that the value is just set to 0 or 1 depending on the given condition. As with other assemblers, only a value of 0 evaluates to 0, and others go to 1. So, something like "1 && 2" evaluates to 1 even if it doesn't make much sense at first glance (as an assembler we just assume that the programmer knows what it's doing). Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions