Shop OBEX P1 Docs P2 Docs Learn Events
pic16f877 is the same as stamp 2sx ??? — Parallax Forums

pic16f877 is the same as stamp 2sx ???

ArchiverArchiver Posts: 46,084
edited 2004-04-10 18:23 in General Discussion
Hello

1. Does pic16f877 is the same as stamp 2sx , one memory of slot be
limited to 2k and then use "run" jump to another slot ??? (if use
picbasic pro compiler)

2. why is bs2sx's one memory of slot be limited to 2k ??? it
seems too small.

3. if I use many "gosub" "return" and program is bigger than
2k ,how should I do?? ( I think "run" can not be used)

(I bought bs2sx because I thought it has really 16k memory of
program)


thanks in advance.

sincerely

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-04-10 18:23
    The original BS2 architecture is limited to 2K addressing and we decided
    -- right or wrong -- to maintain that internal architecture when
    designing newer versions of the BS2 family (to allow forward and
    backward compatibility of most programs). In most cases, you WON'T run
    past the 2K limit if you are careful in your coding (I've only ever done
    it once in 10 years of using BASIC Stamps, and I've written some fairly
    complicated programs that include a commerical product).

    When you do need more program space, there are strategies that let you
    use the other program banks for this. Try this:

    http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv87.pdf

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: john [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=WXU1RabI9hz1Pn-8nkw2KlNo7E4bGqIZAKByWr4wANAbZCJF7s4EtPpUO6mA582Ad_p-M-YHMIKcLmewDm3LdOvU]w3102008@m...[/url
    Sent: Saturday, April 10, 2004 5:30 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] pic16f877 is the same as stamp 2sx ???


    Hello

    1. Does pic16f877 is the same as stamp 2sx , one memory of slot be
    limited to 2k and then use "run" jump to another slot ??? (if use
    picbasic pro compiler)

    2. why is bs2sx's one memory of slot be limited to 2k ??? it
    seems too small.

    3. if I use many "gosub" "return" and program is bigger than
    2k ,how should I do?? ( I think "run" can not be used)

    (I bought bs2sx because I thought it has really 16k memory of
    program)


    thanks in advance.

    sincerely
Sign In or Register to comment.