Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

resolution du 'bug du compilateur' #42

Merged
merged 1 commit into from
Dec 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arm_data_processing.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ int arm_data_processing_immediate(arm_core p, uint32_t ins, uint32_t cpsr)
uint8_t S = get_bit(ins, 20);
uint32_t immed_8 = get_bits(ins, 7, 0);
uint8_t rotate_imm = get_bits(ins, 11, 8);
uint32_t shifter_operand = ror(immed_8, rotate_imm);
uint32_t shifter_operand = ror(immed_8, rotate_imm * 2);
uint8_t shifter_carry_out = 0;
if (rotate_imm == 0)
{
Expand Down
Loading