mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
minor cleanup
This commit is contained in:
parent
86602a4eb7
commit
56e17f5b15
|
@ -242,10 +242,7 @@ export default function CPU6502(options)
|
|||
}
|
||||
|
||||
function pushWord(val) {
|
||||
writeByte(loc.STACK | sp, val >> 8);
|
||||
sp = (sp + 0xff) & 0xff;
|
||||
writeByte(loc.STACK | sp, val) & 0xff;
|
||||
sp = (sp + 0xff) & 0xff;
|
||||
rawPushWord(val);
|
||||
cycles += 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user