burritos/test/riscv_instructions/boolean_logic/comparisons.c

13 lines
162 B
C
Raw Normal View History

2023-02-08 16:01:41 +01:00
int main() {
int x = 0;
int y = 1;
2023-05-09 18:08:44 +02:00
if (x > y) {
x += 1;
}
if (x == y) {
x += y;
}
if (x < y) {
y += 1;
2023-02-08 16:01:41 +01:00
}
}