aboutsummaryrefslogtreecommitdiff
path: root/libyasm/tests/equ-expand.asm
diff options
context:
space:
mode:
Diffstat (limited to 'libyasm/tests/equ-expand.asm')
-rw-r--r--libyasm/tests/equ-expand.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/libyasm/tests/equ-expand.asm b/libyasm/tests/equ-expand.asm
new file mode 100644
index 0000000..eaa9421
--- /dev/null
+++ b/libyasm/tests/equ-expand.asm
@@ -0,0 +1,9 @@
+nop
+end1:
+
+line_out equ end1+258 ;length = 1 + 263
+real_end equ end1+258+264
+
+ cmp bx,(real_end-line_out)/4
+ cmp bx,((end1+258+264)-(end1+258))/4
+ cmp bx,(end1+258+264-end1-258)/4