fix shift instructions in assembler #9

Open
opened 2025-06-25 00:43:29 +01:00 by zxq5 · 0 comments
Owner

not got time, but leaving an issue so that it gets fixed asap.

labelled as a .unwrap() as it causes a hard crash.

  • this should be it's own issue.

problem:

  • assembler outputting shr rg0, noreg, noreg for input of shr, rg0, 4

likely cause:

  • most likely happens in the codegen step.

fix:

  • review codegen and fix bug by implementing the codegen logic for shift functions correctly.
not got time, but leaving an issue so that it gets fixed asap. labelled as a .unwrap() as it causes a hard crash. - this should be it's own issue. problem: - assembler outputting `shr rg0, noreg, noreg` for input of `shr, rg0, 4` likely cause: - most likely happens in the codegen step. fix: - [x] review codegen and fix bug by implementing the codegen logic for shift functions correctly.
zxq5 added this to the Assembler Completed milestone 2025-06-25 00:43:29 +01:00
zxq5 added the Bug.unwrap() labels 2025-06-25 00:43:29 +01:00
zxq5 added this to the Damn Simple Architecture project 2025-06-25 00:43:29 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: zxq5/damn_simple_architecture#9