added <m65/std.a> to library, with macro to load 32-bit immediate constant

git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@241 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
marcobaye 2020-06-19 22:35:23 +00:00
parent c3e651f4ca
commit 28e196caab

13
ACME_Lib/m65/std.a Normal file
View File

@ -0,0 +1,13 @@
;ACME 0.96.5
!ifdef lib_m65_std_a !eof
lib_m65_std_a = 1
; macro to load immediate constant:
!macro movq @v {
; going from lsb to msb, so at least the N flag is correct:
lda #<@v
ldx #>@v
ldy #^@v
ldz #@v >>> 24
}