From 203d43b0448b7f7e980494108e2d21c9c8fc1002 Mon Sep 17 00:00:00 2001 From: vrokas Date: Sun, 10 Oct 2004 21:05:13 +0000 Subject: [PATCH] * in genGenPointerSet forgot to use postdec1 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3530 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/pic16/gen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pic16/gen.c b/src/pic16/gen.c index 58d02e0a..097259d4 100644 --- a/src/pic16/gen.c +++ b/src/pic16/gen.c @@ -10927,7 +10927,7 @@ static void genGenPointerSet (operand *right, * by the support function this restoring the stack. The important * thing is that there is no need to manually restore stack pointer * here */ - mov2fp(pic16_popCopyReg(&pic16_pc_gptrreg), AOP(right), 0); + mov2fp(pic16_popCopyReg(&pic16_pc_postdec1), AOP(right), 0); if(size>1)mov2fp(pic16_popCopyReg(&pic16_pc_prodh), AOP(right), 1); if(size>2)mov2fp(pic16_popCopyReg(&pic16_pc_tblptrl), AOP(right), 2); if(size>3)mov2fp(pic16_popCopyReg(&pic16_pc_tblptrh), AOP(right), 3); -- 2.47.2