Fix for GitHub Issue #9
This commit is contained in:
1 parent
7c2a007928
commit
22a9207dca
2 files changed
+20
-1
No files matched your search
@@ -872,7 +872,7 @@ public class Cpu implements InstructionTable {
|
||||
*/
|
||||
private int lsr(int m) {
|
||||
setCarryFlag((m & 0x01) != 0);
|
||||
return (m >>> 1) & 0xff;
|
||||
return (m & 0xff) >>> 1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user