Skip to content

Commit

Permalink
Bizarrely dormann picks up a diff here
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgodbolt committed Aug 10, 2024
1 parent 21acadd commit d3e0ada
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions 6502.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,13 @@ class Base6502 {
}

push(v) {
this.writememZpStack(0x100 + this.s--, v);
this.writememZpStack(0x100 + this.s, v);
this.s--;
}

pull() {
return this.readmemZpStack(0x100 + ++this.s);
this.s++;
return this.readmemZpStack(0x100 + this.s);
}

get nmi() {
Expand Down

0 comments on commit d3e0ada

Please sign in to comment.