Shop OBEX P1 Docs P2 Docs Learn Events
JMP #$ what does this mean — Parallax Forums

JMP #$ what does this mean

JMP #address sets PC program counter to address what does #$ mean

Comments

  • JonnyMacJonnyMac Posts: 9,102
    edited 2021-08-28 17:22

    Same as:

    here            jmp       #here 
    

    $ is the current address. You can use an offset with $ as well.

                    drvh      scl                                   ' scl high
                    testp     scl                           wc      ' check for clock stretch
        if_nc       jmp       #$-2
    
  • Thanks
    Regards
    Bob (WRD)

Sign In or Register to comment.