12F510 CALL subroutine problem ...


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,621


    Did you find this post helpful? Yes | No

    Default Re: 12F510 CALL subroutine problem ...

    Hi,
    CALL is used to execute an assembly subroutine (preceeded with an underscore) but it looks to me like your subroutine is written in PBP.
    Try using GOSUB instead of CALL.

    /Henrik.

  2. #2
    Join Date
    Feb 2010
    Posts
    30


    Did you find this post helpful? Yes | No

    Default Re: 12F510 CALL subroutine problem ...

    T H A N K S !!!! ..... THAT WAS IT!

    (and solved all the problems ... including the strange behaviour of GPIO.0....)

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts