---- START NEW MESSAGE --- Received: from cherry.ease.lsoft.com [209.119.0.109] by dpmail10.doteasy.com with ESMTP (SMTPD32-8.05) id A8E321B4007C; Wed, 28 Jan 2004 08:52:51 -0800 Received: from PEAR.EASE.LSOFT.COM (209.119.0.19) by cherry.ease.lsoft.com (LSMTP for Digital Unix v1.1b) with SMTP id <20.00CC1078@cherry.ease.lsoft.com>; Wed, 28 Jan 2004 11:52:38 -0500 Received: from MITVMA.MIT.EDU by MITVMA.MIT.EDU (LISTSERV-TCP/IP release 1.8e) with spool id 3050 for PICLIST@MITVMA.MIT.EDU; Wed, 28 Jan 2004 11:52:32 -0500 Received: from MITVMA (NJE origin SMTP@MITVMA) by MITVMA.MIT.EDU (LMail V1.2d/1.8d) with BSMTP id 7485; Wed, 28 Jan 2004 11:51:07 -0500 Received: from embedinc.com [68.162.221.141] by mitvma.mit.edu (IBM VM SMTP Level 430) via TCP with ESMTP ; Wed, 28 Jan 2004 11:51:07 EST X-Comment: mitvma.mit.edu: Mail was sent by embedinc.com Received: from 192.168.0.3 (main) by mail.embedinc.com ; 2004 JAN 28 11:52:20 EST References: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <001b01c3e5be$e5b49570$0300a8c0@main> Date: Wed, 28 Jan 2004 11:50:54 -0500 Reply-To: pic microcontroller discussion list Sender: pic microcontroller discussion list From: Olin Lathrop Subject: Re: [PIC:] Call Problem in Assembly Program To: PICLIST@MITVMA.MIT.EDU Precedence: list X-RCPT-TO: Status: U X-UIDL: 371856136 #LEE CHUN YONG# wrote: > Currently I am having the "call function" problem in the assembly > program. When I call a particular subroutine it never jump to the > desire subroutine. What are the causes of this problem? You didn't give much information. The CALL instructions work correctly. You are probably on a 16 family PIC and don't have PCLATH set correctly. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics .