Skip to content

Commit

Permalink
Fix mov from idx
Browse files Browse the repository at this point in the history
  • Loading branch information
Grazfather committed Jan 16, 2025
1 parent cc38cd0 commit 148ae16
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
mov rxfifo3, isr

mov osr, rxfifoy
; mov osr, rxfifo0
; mov osr, rxfifo1
; mov osr, rxfifo2
; mov osr, rxfifo3
mov osr, rxfifo0
mov osr, rxfifo1
mov osr, rxfifo2
mov osr, rxfifo3
.wrap
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ static const uint16_t movrx_program_instructions[] = {
0x8013, // mov rxfifo3, isr
// 0b1000_ssss_1001_yiii
0x8098, // mov osr, rxfifoy
// 0x8090, // mov osr, rxfifo0
// 0x8091, // mov osr, rxfifo1
// 0x8092, // mov osr, rxfifo2
// 0x8093, // mov osr, rxfifo3
0x8090, // mov osr, rxfifo0
0x8091, // mov osr, rxfifo1
0x8092, // mov osr, rxfifo2
0x8093, // mov osr, rxfifo3
};
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,7 @@ pub fn Tokenizer(chip: Chip) type {
if (value > 3) {
return error.InvalidSource;
}
idx = @intCast(value);
}
} else {
diags.* = Diagnostics.init(
Expand Down

0 comments on commit 148ae16

Please sign in to comment.