-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
See discussion here:
https://stardot.org.uk/forums/viewtopic.php?p=424768#p424768
To correctly handle the X prefix, the SWI handler (in tube-swi.c) would need to install a temporary error handler. This would restore the original error handler, unwind the call and return to the caller with the V bit set. A non-error would also need to restore the original error handler and return with the V bit clear.
See #200 for how this was done in the RISC-V ECall Handler
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels