uvm32/test/invalid_opcodes/rom/rom.c
2025-12-14 21:38:05 +00:00

12 lines
257 B
C

#include "uvm32_target.h"
#include "shared.h"
void main(void) {
switch(syscall(SYSCALL_PICKTEST, 0, 0)) {
case TEST1:
asm("auipc t0, 0"); // copy pc into t0
asm("auipc t1, 0"); // copy pc into t1
break;
}
}