This commit is contained in:
Toby Jaffey 2025-12-14 21:38:24 +00:00
parent 6a4118e420
commit 93898a5baa
6 changed files with 1 additions and 1 deletions

12
test/opcodes/rom/rom.c Normal file
View file

@ -0,0 +1,12 @@
#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;
}
}