aboutsummaryrefslogtreecommitdiffstats
path: root/ex.valid
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2021-07-06 12:38:21 +0000
committers-ol <s+removethis@s-ol.nu>2021-07-06 12:39:34 +0000
commitc299060bc82e4e198891f4abeb293619cda75090 (patch)
treebd609bc2fb7108e18070db9e79c6f3c2a94dde55 /ex.valid
parentfix hello_world comments (diff)
downloadsubv-c299060bc82e4e198891f4abeb293619cda75090.tar.gz
subv-c299060bc82e4e198891f4abeb293619cda75090.zip
reorganize, add ask_name example
Diffstat (limited to 'ex.valid')
-rw-r--r--ex.valid16
1 files changed, 0 insertions, 16 deletions
diff --git a/ex.valid b/ex.valid
deleted file mode 100644
index 1652954..0000000
--- a/ex.valid
+++ /dev/null
@@ -1,16 +0,0 @@
-== code 0x80000000
-# repeatedly print "Hi\n"
-main:
-# load 0x10010000 (UART0) into t0
-37/u 5/rd 10010/imm20
-# store 0x48 (H) in UART0+0
-13/i 6/rd 0/funct3 0/rs 48/imm12
-23/s 5/rs1 0/imm12 2/funct3 6/rs2
-# store 0x69 (i) in UART0+0
-13/i 6/rd 0/funct3 0/rs 69/imm12
-23/s 5/rs1 0/imm12 2/funct3 6/rs2
-# store 0x0a (\n) in UART0+0
-13/i 6/rd 0/funct3 0/rs a/imm12
-23/s 5/rs1 0/imm12 2/funct3 6/rs2
-# jump back up to the top
-6f/j 0/rd main/off21