mirror of
https://github.com/mgcaret/of816.git
synced 2024-12-27 19:29:58 +00:00
Fix 2@/2! discovered in unit testing
This commit is contained in:
parent
2bdcf695fe
commit
ce9017bed6
@ -1386,9 +1386,10 @@ eword
|
||||
; H: ( c-addr -- n1 n2 ) fetch two consecutive cells from c-addr
|
||||
dword TWOFETCH,"2@"
|
||||
jsr _popwr
|
||||
jsr _wrplus4
|
||||
jsr _wrfetchind
|
||||
jsr _pushay
|
||||
jsr _wrplus4
|
||||
jsr _wrminus4
|
||||
bra FETCH::fetch2
|
||||
eword
|
||||
|
||||
@ -1449,10 +1450,9 @@ eword
|
||||
; H: ( n1 n2 c-addr -- ) write consecutive cells n1 and n2 to c-addr
|
||||
dword TWOSTORE,"2!"
|
||||
jsr _popwr
|
||||
jsr _wrplus4
|
||||
jsr _popay
|
||||
jsr _wrstoreind
|
||||
jsr _wrminus4
|
||||
jsr _wrplus4
|
||||
bra STORE::store2
|
||||
eword
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user