BurritOS/test_programs/riscv_instructions/simple_arithmetics/unsigned_multiplication.c

6 lines
129 B
C
Raw Normal View History

2023-02-08 16:01:41 +01:00
// EXPECTS TWO VARIABLES WITH A VALUE OF UNSIGNED 2
2023-03-01 13:56:12 +01:00
int main() {
2023-02-08 16:01:41 +01:00
unsigned int x = 1;
unsigned int y = 2;
x = x * y;
}