aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2024-07-27 17:51:32 +0200
committerHimbeer <himbeer@disroot.org>2024-07-27 17:51:32 +0200
commiteac0af3be5cf93b99d527afaae63d94bcd1a9b18 (patch)
tree2ae352ed6f2d6e8538d800229d4686805c669d19 /examples
parentd492fff0fe62fae8655436d569f8ff3a41817ae7 (diff)
hello_world: Update uprint syscall number
Diffstat (limited to 'examples')
-rw-r--r--examples/hello_world/src/main.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hello_world/src/main.zig b/examples/hello_world/src/main.zig
index 69e9813..b23b3dc 100644
--- a/examples/hello_world/src/main.zig
+++ b/examples/hello_world/src/main.zig
@@ -9,7 +9,7 @@ export fn _start() void {
pub fn main() void {
const s = "Hello from U-mode init";
asm volatile (
- \\ li a7, 100000
+ \\ li a7, 100001
\\ ecall
:
: [s] "{a0}" (s.ptr),