Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

POP seems to be more standard than [SP++]

  • Loading branch information...
commit 8b58b142ad31a5be450311c4c937bdfb74ffad01 1 parent 6cfc667
Cheng Sun chengsun authored
Showing with 8 additions and 8 deletions.
  1. +8 −8 src/kernel.dasm16
16 src/kernel.dasm16
View
@@ -356,21 +356,21 @@ SET PC, readline
IFE SP, B
SET PC, end
- SET [A], [SP++]
+ SET [A], POP
ADD A, 0x01
- SET [A], [SP++]
+ SET [A], POP
ADD A, 0x01
- SET [A], [SP++]
+ SET [A], POP
ADD A, 0x01
- SET [A], [SP++]
+ SET [A], POP
ADD A, 0x01
- SET [A], [SP++]
+ SET [A], POP
ADD A, 0x01
- SET [A], [SP++]
+ SET [A], POP
ADD A, 0x01
- SET [A], [SP++]
+ SET [A], POP
ADD A, 0x01
- SET [A], [SP++]
+ SET [A], POP
ADD A, 0x01
SET PC, loop
Please sign in to comment.
Something went wrong with that request. Please try again.