diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-31 02:36:30 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-31 02:36:30 -0400 |
commit | cd929e7209f3fd67e1fab257ea76994bbb3fc64f (patch) | |
tree | 719811e8af6b5d5195d816078259c2b79c23ee8d /etc | |
parent | 67da6c6104b350e9f70292a43115d990a487fb65 (diff) |
etc: oemu: Add examples for LSR and LSL
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/oemu/test-00.s | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/oemu/test-00.s b/etc/oemu/test-00.s index 4b5db7c..f6015c1 100644 --- a/etc/oemu/test-00.s +++ b/etc/oemu/test-00.s @@ -15,4 +15,6 @@ some_label: ! X nop ! ~ 0x00000024 or x1, #3 ! ~ 0x00000028 xor x2, #3 ! ~ 0x0000002C - hlt ! ~ 0x00000030 + lsr x2, #1 ! ~ 0x00000030 + lsl x2, #1 ! ~ 0x00000034 + hlt ! ~ 0x00000038 |