Software Stack


Results 1 to 3 of 3

Thread: Software Stack

Threaded View

  1. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    As you see there is a label without any thing. What happens when program jumps to this part especially after "goto OverStack"
    it just jump over the macro and subroutine, Don't forget, when you use INCLUDE, it basically just paste the whole code to yours, this is to avoid compilation error and some program weirdness like stack underflow with the first returns.

    There are some unknown instructions in asm parts for example:
    CHK?RP
    L?CALL

    How can I interpret them?
    Both are PBP macro
    CHK?RP x : is to PBP what BANKSEL is to asm, it check the BANK of x register/variable.
    L?CALL label : basically not much than a GOSUB but at PBP assembler level.

    Have a look at the following
    http://www.picbasic.co.uk/forum/show...09&postcount=3

    None of the PBP macro are documented in a manual, just because it's not everybody that will use them anyways.

    To output your data to a LCD, replace HSEROUT with LCDOUT.

    HTH
    Last edited by mister_e; - 13th December 2007 at 14:12.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Gerber - PCB Layout Software??
    By kevj in forum General
    Replies: 10
    Last Post: - 3rd April 2013, 06:51
  2. Keylogger software
    By Christopher4187 in forum Off Topic
    Replies: 3
    Last Post: - 5th June 2008, 14:58
  3. Replies: 3
    Last Post: - 26th November 2006, 21:47
  4. Stack Under flow
    By Wayne in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 14th September 2005, 13:22
  5. 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