summaryrefslogtreecommitdiff
path: root/etc/oemu
diff options
context:
space:
mode:
Diffstat (limited to 'etc/oemu')
-rw-r--r--etc/oemu/test-00.s29
1 files changed, 16 insertions, 13 deletions
diff --git a/etc/oemu/test-00.s b/etc/oemu/test-00.s
index b34c099..ccd7da1 100644
--- a/etc/oemu/test-00.s
+++ b/etc/oemu/test-00.s
@@ -1,13 +1,16 @@
-mov x0, #1 ! ~ 0x00000000
-mov x1, #2 ! ~ 0x00000004
-mov x2, #3 ! ~ 0x00000008
- ! X
-mov x2, #20 ! ~ 0x0000000C
-br x2 ! ~ 0x00000010 -----+
-!!!!!!!!!!!!!! X |
-!!!!!!!!!!!!!! X |
- ! X |
-dec x0 ! ~ 0x00000014 <----+
-inc x1 ! ~ 0x00000018
-add x2, #3 ! ~ 0x0000001C
-hlt ! ~ 0x00000020
+mov x0, #1 ! ~ 0x00000000
+mov x1, #2 ! ~ 0x00000004
+mov x2, #3 ! ~ 0x00000008
+ ! X
+some_label: ! X
+ mov x2, #20 ! ~ 0x0000000C
+ br x2 ! ~ 0x00000010 -----+
+ !!!!!!!!!!!!!! X |
+ !!!!!!!!!!!!!! X |
+ ! X |
+ dec x0 ! ~ 0x00000014 <----+
+ inc x1 ! ~ 0x00000018
+ add x2, #3 ! ~ 0x0000001C
+ mrow x4, #0 ! ~ 0x00000020
+ nop ! ~ 0x00000024
+ hlt ! ~ 0x00000028