Permalink
Browse files

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

  • Loading branch information...
1 parent 6cfc667 commit 8b58b142ad31a5be450311c4c937bdfb74ffad01 @chengsun chengsun committed Apr 13, 2012
Showing with 8 additions and 8 deletions.
  1. +8 −8 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

0 comments on commit 8b58b14

Please sign in to comment.