mirror of
https://github.com/Noratrieb/rustv32i.git
synced 2026-01-14 21:35:02 +01:00
fix c.addi16sp
This commit is contained in:
parent
377c8412a7
commit
4965493a0e
4 changed files with 46 additions and 16 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue