Added UN instruction and fixed UB #7

Merged
Ghost merged 2 commits from fix-ub into master 2023-07-13 09:13:34 +00:00
  • Added UN instruction (opcode 0) triggering an Unreachable trap
  • Added requirement to pad program at the end with 12 zero bytes (12 bytes is the longest instruction parameter)
    so program no longer triggers undefined behaviour when attempting to decode partial instruction
- Added UN instruction (opcode 0) triggering an Unreachable trap - Added requirement to pad program at the end with 12 zero bytes (12 bytes is the longest instruction parameter) so program no longer triggers undefined behaviour when attempting to decode partial instruction
Ghost added 2 commits 2023-07-13 09:12:32 +00:00
Ghost merged commit ab0dac01ed into master 2023-07-13 09:13:34 +00:00
Ghost deleted branch fix-ub 2023-07-13 09:13:38 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AbleOS/holey-bytes#7
There is no content yet.