aboutsummaryrefslogtreecommitdiff
path: root/libyasm/tests/equ-expand.asm
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2013-03-28 15:33:02 +0000
committerTorne (Richard Coles) <torne@google.com>2013-03-28 15:33:02 +0000
commitc580f3c787d8ad2dcccceb4438b7572d9713a296 (patch)
treed8f5d6b20552cfe016f9af38440fd9caacf4a188 /libyasm/tests/equ-expand.asm
parent1fe0cccaa99357259c9ab42ce88626b95856b77c (diff)
parent53137eb420065ea05c21ae0728a67ead80f17e1f (diff)
downloadpatched-yasm-kitkat-mr2.1-release.tar.gz
This commit was generated by merge_to_master.py. Change-Id: I1975b1fce5e96446e4fa27feda7009fe340d4cff
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