Pbp + asm


Closed Thread
Results 1 to 4 of 4

Thread: Pbp + asm

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

    Default Pbp + asm

    I'm trying to drop a block of ASM code pretty much "as is" into a PBP program. I have the variables that must be passed between PBP and ASM as BANKA SYSTEM. But the ASM file is too large for PBP. I get the BLOCK OVERFLOW message.

    But, when I take major sections of the ASM code and enclose them in the ASM/ENDASM framework (essentiallyl breaking the ASM program into 3 parts), it compiles just fine. The ASM code produced looks OK too. Is this program likely to work, or am I deluding myself?
    Charles Linquist

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Sure, that's fine.

    Just don't break it in the middle of a macro.
    If you do, you can't use the -k# debugging option.

    And PBP tries to return to BANK0 on each ASM statement.
    If you aren't using PREV_BANK or PBP macros, then it won't know the bank has been changed and won't do anything.
    But it sounds like you probably aren't changing banks anyway
    DT

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


    Did you find this post helpful? Yes | No

    Default

    Darrel,

    Are you contributing to the next version of PBP?
    Charles Linquist

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    No, I answer the support phones, emails and do some of the shipping.

    Jeff, Leonard and Charles are so far above my level of programming, not much I can do.
    Some testing and debugging is on my plate though, I guess you could call that contributing.
    DT

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