aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-04-20 09:48:51 +0100
committerIan C <ianc@noddybox.co.uk>2016-04-20 09:48:51 +0100
commit519fdd7d64c2d8366a3b3b076a1ec558f63e703e (patch)
tree71f3b3f6a435a8825868f1e5138041fd8d4d1eb0 /src/test
parenta5984e6f82e9368e719e832764ebb4813ff5e797 (diff)
Removed modulus and added '%' as a binary format marker.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/110
1 files changed, 9 insertions, 1 deletions
diff --git a/src/test/1 b/src/test/1
index 5531840..724172f 100644
--- a/src/test/1
+++ b/src/test/1
@@ -32,7 +32,7 @@ expr1_7 equ 1 + 2 * 3
expr2_9 equ {1 + 2} * 3
bin1: equ 11110101b
-bin2: equ 11110010b
+bin2: equ %11110010
hex1: equ $1234
hex2 equ 1234h
hex3: equ 0x1234
@@ -68,6 +68,14 @@ two fred ONE * 2
true1 equ one == 1
false1 equ one != 1
+true2 equ 1 == 1 && 2 == 2
+true3 equ 1 == 2 || 2 == 2
+false2 equ 1 == 2 && 2 == 2
+false3 equ 1 == 2 || 2 == 3
+
+and1 equ 0x8123 & 256
+or1 equ 0x8123 | 256
+
endaddr:end
this is ignored