macaw/macaw-aarch32/tests/arm/util.h
Tristan Ravitch 73f758544d Update tests and expected outputs
The tests were issuing the exit syscall incorrectly (they didn't set the sycall
number) and were not executable.
2020-04-08 21:21:28 -07:00

4 lines
62 B
C

#define EXIT() \
asm("mov %r7, $1"); \
asm("svc #0")