From 3a7eccfc8d1feff0622fef3153138efdc5bc4d2a Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 28 Nov 2000 13:33:27 +0000 Subject: [PATCH] pusha function has changed git-svn-id: svn://svn.cc65.org/cc65/trunk@488 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/optimize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc65/optimize.c b/src/cc65/optimize.c index e24160658..4421a9bb6 100644 --- a/src/cc65/optimize.c +++ b/src/cc65/optimize.c @@ -3987,7 +3987,7 @@ static Line* OptOneBlock (Line* L) A = 7; X = 0; Y = 1; - } else if (LineFullMatch (L, "\tjsr\tpusha")) { + } else if (CPU == CPU_65C02 && LineFullMatch (L, "\tjsr\tpusha")) { /* We know about this function */ Y = 0; } else if (LineFullMatch (L, "\tjsr\tpusha0")) { -- 2.39.5