PBP method to POP or PUSH to 18F2525 stack?


Closed Thread
Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Location
    Colorado
    Posts
    378

    Question PBP method to POP or PUSH to 18F2525 stack?

    Am programming an 18F2525 with PBP 2.6. The 18F family permits program addressing of the hardware stack and has a PUSH and POP command in the instruction set to do this. I need to PUSH and POP data to the 18F hardware stack as part of a PBPro routine to display data on an OLED display. I can't figure out how to do it in PBPro. Anyone have any ways to do this or ideas/references?

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    You can issue any ASM command by using either the

    @ (ASM command)


    or


    ASM

    (ASM command)
    (ASM command)
    ...

    ENDASM


    syntax
    Charles Linquist

Similar Threads

  1. Software Stack
    By yasser hassani in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th December 2007, 10:04
  2. 18F2525 Stack Pointer
    By milestag in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd November 2005, 13:40
  3. PBP TCP/IP stack and Webserver
    By rocketman in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 11th July 2005, 22:30
  4. 48 level Software Stack
    By Darrel Taylor in forum Code Examples
    Replies: 0
    Last Post: - 30th November 2003, 01:07

Members who have read this thread : 0

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