burritos/test_programs/riscv_instructions/simple_arithmetics/unsigned_addition.c
2023-03-08 13:02:03 +01:00

9 lines
190 B
C

#include "userlib/syscall.h"
#include "userlib/libnachos.h"
// EXPECTS TWO VARIABLES WITH A VALUE OF UNSIGNED 1
int main() {
unsigned int x = 0;
unsigned int y = 1;
x = x + y;
}