summaryrefslogtreecommitdiff
path: root/test/br2003451.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/br2003451.asm')
-rw-r--r--test/br2003451.asm15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/br2003451.asm b/test/br2003451.asm
new file mode 100644
index 0000000..fb309a9
--- /dev/null
+++ b/test/br2003451.asm
@@ -0,0 +1,15 @@
+ cpu 8086
+ org 0
+
+ ; MOV r/m16,imm16
+ ; (imm16 given as number)
+ mov word [bx], 10h
+
+ ; MOV r/m16,imm16
+ ; (imm16 given as label)
+ mov word [bx], label
+
+ align 10h
+
+ ; This label is at address 10h
+label: