From 5000c28b970bfa8bde974146d4aac5a48e2f4647 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Sun, 7 May 2023 14:50:41 +0200 Subject: [PATCH] Fix endianness issues particulary with strings --- src/kernel/exception.rs | 8 ++++++-- src/simulator/loader.rs | 7 ++++++- src/simulator/machine.rs | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/kernel/exception.rs b/src/kernel/exception.rs index 45fb0c1..c982264 100644 --- a/src/kernel/exception.rs +++ b/src/kernel/exception.rs @@ -154,13 +154,17 @@ fn syscall(machine: &mut Machine, system: &mut System) -> Result