From 519fdd7d64c2d8366a3b3b076a1ec558f63e703e Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 20 Apr 2016 09:48:51 +0100 Subject: Removed modulus and added '%' as a binary format marker. --- src/test/1 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/test/1') 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 -- cgit v1.2.3