1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2026-04-26 04:18:22 +00:00

Updated and tested module 'memory'

This commit is contained in:
Curtis F Kaylor
2018-07-27 13:55:10 -04:00
parent 1090e1e96a
commit 27b3636901
6 changed files with 151 additions and 62 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ MEMSEX: RTS
;Sets: TEMP0 = Number of bytes to swap
;Affects: A,X,Y,C,N,Z
MEMSWP: JSR MEMSRC ;Initialize Source, Index, and Count
MEMSWL: lDA (DSTLO),Y ;Get Character from Destination Array
MEMSWL: LDA (DSTLO),Y ;Get Character from Destination Array
TAX ;Save in X Register
LDA (SRCLO),Y ;Get Character from Source Array
STA (DSTLO),Y ;Copy to Destination Array