Skip to content

Fix U-type immediate decoding#41

Merged
Alignof merged 3 commits into
developfrom
fix/utype_imm
Jun 29, 2025
Merged

Fix U-type immediate decoding#41
Alignof merged 3 commits into
developfrom
fix/utype_imm

Conversation

@Alignof
Copy link
Copy Markdown
Owner

@Alignof Alignof commented Jun 29, 2025

The immediate in U-type is shifted right 12 bits but it should be do by user (NOT library).

let U_type = || (inst.slice(31, 12) << 12) as i32;

Thus this process must be removed from this library.

Fix #37

@Alignof Alignof self-assigned this Jun 29, 2025
@Alignof Alignof merged commit 3426269 into develop Jun 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant