diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2021-10-23 21:08:34 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2021-10-23 21:08:34 -0400 |
commit | fa1c2a97da1dc6e728bb1bc7ed0031712849ae6a (patch) | |
tree | 4d25f85685405e428260741caffa63c2e4f57ab2 /tests/mov_addressing_dest.s | |
parent | 7737afa6c225d947e02893c1698cc76a4b4ca4b1 (diff) |
Diffstat (limited to 'tests/mov_addressing_dest.s')
-rw-r--r-- | tests/mov_addressing_dest.s | 11 |
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 |