aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/ask_name.subv2
-rw-r--r--examples/hello_world.subv2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/ask_name.subv b/examples/ask_name.subv
index f54213f..f411bfc 100644
--- a/examples/ask_name.subv
+++ b/examples/ask_name.subv
@@ -114,7 +114,7 @@ print:break:
read:
# read a C-string into a0
# load 0x10000000 (UART0) into t0
- 37/lui 5/rd/t0 0x10000/imm20
+ 37/lui 5/rd/t0 10000/imm20
# load 0x0a (\n) into t1
13/opi 6/rd/t1 0/subop/add 0/rs/x0 0a/imm12
diff --git a/examples/hello_world.subv b/examples/hello_world.subv
index 84ad0b2..d25aa83 100644
--- a/examples/hello_world.subv
+++ b/examples/hello_world.subv
@@ -17,7 +17,7 @@ loop:
print:
# load 0x10000000 (UART0) into t0
- 37/lui 5/rd/t0 0x10000/imm20
+ 37/lui 5/rd/t0 10000/imm20
print:loop:
# load unsigned byte at a0
03/load 6/rd/t1 4/width/bu a/rs/a0 0/imm12