mirror of
https://github.com/catseye/SixtyPical.git
synced 2025-02-12 20:30:27 +00:00
Add failing test.
This commit is contained in:
parent
5a794a46e6
commit
2091dada5e
@ -168,6 +168,22 @@ Copy command: immediate -> word
|
|||||||
= .data
|
= .data
|
||||||
= .space position 2
|
= .space position 2
|
||||||
|
|
||||||
|
Copy command: byte-sized immediate -> word
|
||||||
|
|
||||||
|
| reserve word position
|
||||||
|
| routine main {
|
||||||
|
| copy #1 position
|
||||||
|
| }
|
||||||
|
= main:
|
||||||
|
= lda #1
|
||||||
|
= sta position
|
||||||
|
= lda #0
|
||||||
|
= sta position+1
|
||||||
|
= rts
|
||||||
|
=
|
||||||
|
= .data
|
||||||
|
= .space position 2
|
||||||
|
|
||||||
Copy command: word -> word
|
Copy command: word -> word
|
||||||
|
|
||||||
| reserve word position1
|
| reserve word position1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user