Fix V8 emulator bugs

This commit is contained in:
Asraelite 2024-01-09 21:05:38 +01:00
parent c45ad79440
commit 476972f85a
29 changed files with 281 additions and 18 deletions

View file

@ -0,0 +1,11 @@
# boot
.address 0
entry:
# todo: get bit representing if we're in supervisor mode and put in a0
beqz a0, user_mode_trap
b boot_sequence
user_mode_trap:
int
wfi