This commit is contained in:
Will Scullin 2021-03-13 16:54:09 -08:00
parent e83fdd999e
commit afa33a4710
No known key found for this signature in database
GPG Key ID: 26DCD1042C6638CD
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ export default class Debugger {
}
const { ar, xr, yr, sr, sp } = debugInfo;
return [
' A=' + toHex(ar),
'A=' + toHex(ar),
' X=' + toHex(xr),
' Y=' + toHex(yr),
' P=' + toHex(sr),

View File

@ -52,7 +52,7 @@ describe('Debugger', () => {
it('should dump registers', () => {
const regs = theDebugger.dumpRegisters();
expect(regs).toEqual(
'0000- A=00 X=00 Y=00 P=20 S=FF --------'
'A=00 X=00 Y=00 P=20 S=FF --------'
);
});
});