aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/root.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/root.zig b/src/root.zig
index e480685..42ef2d0 100644
--- a/src/root.zig
+++ b/src/root.zig
@@ -34,8 +34,8 @@ fn ecall(number: usize, args: anytype) Result {
var result: Result = undefined;
asm volatile (
\\ ecall
- \\ sw a0, 0(%[value])
- \\ sw a1, 0(%[error_code])
+ \\ sd a0, 0(%[value])
+ \\ sd a1, 0(%[error_code])
:
: [value] "r" (&result.value),
[error_code] "r" (&result.error_code),