mirror of
https://github.com/Asraelite/littlebigcomputer.git
synced 2025-07-18 00:26:50 +00:00
Fix V8 emulator bugs
This commit is contained in:
parent
c45ad79440
commit
476972f85a
29 changed files with 281 additions and 18 deletions
11
programs/parva_0.2/boot.parva
Normal file
11
programs/parva_0.2/boot.parva
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue