Skip to content

Native ARM Co Pro: Implement X SWI Bit #210

@hoglet67

Description

@hoglet67

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions