From: uz Date: Sun, 10 Jun 2012 19:15:52 +0000 (+0000) Subject: Added an entry point to push a 32 bit long value. X-Git-Tag: V2.14~363 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=85b25b3d2287bc6c89391d4396369f6b679b0ebd;p=cc65 Added an entry point to push a 32 bit long value. git-svn-id: svn://svn.cc65.org/cc65/trunk@5705 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/runtime/lpush.s b/libsrc/runtime/lpush.s index 6b7312a4a..0d75085fc 100644 --- a/libsrc/runtime/lpush.s +++ b/libsrc/runtime/lpush.s @@ -7,10 +7,13 @@ ; ; push eax on stack ; - .export push0ax, pusheax - .import decsp4 - .importzp sp, sreg + .export pushl0, push0ax, pusheax + .import decsp4 + .importzp sp, sreg +pushl0: + lda #0 + tax push0ax: ldy #0 sty sreg