fix c.addi16sp

This commit is contained in:
nora 2025-03-10 19:48:09 +01:00
parent 377c8412a7
commit 4965493a0e
4 changed files with 46 additions and 16 deletions

View file

@ -93,19 +93,10 @@ fn input() -> u64 {
}
}
fn x(a: i32) {}
#[no_mangle]
fn _start() -> ! {
x(0);
x(0);
exit(0);
let random_number = 45;
let num = core::sync::atomic::AtomicI32::new(0);
num.swap(10, core::sync::atomic::Ordering::SeqCst);
loop {
let n = input();
if n == random_number {