mirror of
https://github.com/cc65/cc65.git
synced 2026-04-21 09:17:52 +00:00
More entry points for long ops that clear the high word of the lhs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4025 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -4,9 +4,15 @@
|
||||
; CC65 runtime: or on longs
|
||||
;
|
||||
|
||||
.export tosoreax
|
||||
.export tosor0ax, tosoreax
|
||||
.import addysp1
|
||||
.importzp sp, sreg, tmp1
|
||||
|
||||
|
||||
tosor0ax:
|
||||
ldy #$00
|
||||
sty sreg
|
||||
sty sreg+1
|
||||
|
||||
tosoreax:
|
||||
ldy #0
|
||||
|
||||
Reference in New Issue
Block a user