From 85b25b3d2287bc6c89391d4396369f6b679b0ebd Mon Sep 17 00:00:00 2001 From: uz Date: Sun, 10 Jun 2012 19:15:52 +0000 Subject: [PATCH] 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 --- libsrc/runtime/lpush.s | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 -- 2.39.5