Jump to content
Sign in to follow this  

Recommended Posts

Hello,

       

         I am having problem with the script below , Please help. how do I check for goto  Label_xxxx and how do I

goto label_xxxx etc.

 

label_0026

   movf _dlytimer+D'1', W        00. movf  _dlytimer+D'1', W

   movwf _code_tmp_0000      01. movwf  _code_tmp-0000

   movf  f _dlytimer, W           02.  movf  f _dlytimer,W

   btfss STATUS, Z    

Label_0029    

   subwf      _code_tmp_0000 , W

   btfsc STATUS, Z

   goto label_0028

 

      You see  I want to replace ALL of the above lines  with 4 lines below

 

  action  ..  

  movf     _dlytimer+D'1'  

  IORWF  _dlytimer,W

  BTFSC   STATUS,Z

  goto label_0028

 

label_0029

   movlw D'2'

   bcf STATUS, RP0

   bcf STATUS, RP1

   movwf _a

   clrf _a+D'1'

label_0028

   goto _ht

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...