aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mov_addressing_dest.s
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mov_addressing_dest.s')
-rw-r--r--tests/mov_addressing_dest.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/mov_addressing_dest.s b/tests/mov_addressing_dest.s
new file mode 100644
index 0000000..8698a92
--- /dev/null
+++ b/tests/mov_addressing_dest.s
@@ -0,0 +1,11 @@
+main:
+ mov #64, r4
+ mov r4, r5
+ mov #42, r4
+ mov r4, @r5
+ mov r4, 4(r5)
+ mov #50, mem
+ mov &mem, &0x50
+ ret
+
+mem: .byte 5