mirror of
https://github.com/catseye/SixtyPical.git
synced 2025-08-10 06:24:56 +00:00
Add failing test.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user