Skip to content

Commit

Permalink
Fix reading instructions from IMEM
Browse files Browse the repository at this point in the history
  • Loading branch information
altrisi committed Jul 9, 2023
1 parent 289fa21 commit 05d3399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sisc/IMEM.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ public String toString() {

@Override
public short getInstructionAt(char offset) {
return data[offset];
return (short)SHORT_AT.get(data, offset);
}
}

0 comments on commit 05d3399

Please sign in to comment.