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_source.s | |
parent | 7737afa6c225d947e02893c1698cc76a4b4ca4b1 (diff) |
Diffstat (limited to 'tests/mov_addressing_source.s')
-rw-r--r-- | tests/mov_addressing_source.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/mov_addressing_source.s b/tests/mov_addressing_source.s new file mode 100644 index 0000000..21f0cb3 --- /dev/null +++ b/tests/mov_addressing_source.s @@ -0,0 +1,14 @@ +main: + mov #42, &0x40 + mov #44, &0x42 + mov #46, &0x44 + mov #0x40, r4 + mov r4, r5 + mov 4(r5), r6 + mov @r5+, r7 + mov @r5, r8 + mov var, r9 + mov &0x44, r10 + ret + +var: .byte 13 |