Splitted the push.s module
git-svn-id: svn://svn.cc65.org/cc65/trunk@397 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
19
libsrc/runtime/pushc1.s
Normal file
19
libsrc/runtime/pushc1.s
Normal file
@@ -0,0 +1,19 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 26.10.2000
|
||||
;
|
||||
; CC65 runtime: Push (char)1 onto the stack
|
||||
;
|
||||
|
||||
.export pushc1
|
||||
.import pusha
|
||||
|
||||
; Beware: The optimizer knows about this function!
|
||||
|
||||
.proc pushc1
|
||||
|
||||
lda #1
|
||||
jmp pusha
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user