aboutsummaryrefslogtreecommitdiffstats
path: root/ex.pack
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2021-07-06 10:26:46 +0000
committers-ol <s+removethis@s-ol.nu>2021-07-06 11:08:54 +0000
commit631f09462050c8173dacb22a83e6ef3dacc3c8a1 (patch)
tree4cbd147e158991e229ce1fc2001525078a020b83 /ex.pack
parentgood helloworld example (diff)
downloadsubv-631f09462050c8173dacb22a83e6ef3dacc3c8a1.tar.gz
subv-631f09462050c8173dacb22a83e6ef3dacc3c8a1.zip
update README/ex example
Diffstat (limited to 'ex.pack')
-rw-r--r--ex.pack11
1 files changed, 2 insertions, 9 deletions
diff --git a/ex.pack b/ex.pack
index 5a6cdf4..e0cb8b9 100644
--- a/ex.pack
+++ b/ex.pack
@@ -12,12 +12,5 @@ b7 02 01 10
# store 0x0a (\n) in UART0+0
13 03 a0 00
23 a0 62 00
-# jump back up to the top (three versions):
-# a) jal 21bit relative (with 0th bit forced to 0)
-# 6f/jal 0/rd/x0 main/off21
-# b) auipc+jalr 32bit relative (note label offset)
-97 f3 ff ff
-67 80 43 fe
-# c) lui+jalr 32bit absolute
-# 37/lui 7/rd/t2 main/imm32
-# 67/jalr 0/subop 0/rd/x0 7/rs/t2 main/imm32
+# jump back up to the top
+6f f0 5f fe