Shop OBEX P1 Docs P2 Docs Learn Events
Tight Code — Parallax Forums

Tight Code

thorthor Posts: 1
edited 2005-05-02 21:54 in BASIC Stamp
I needed to reduce my code in order for it to fit into a BS1 memory.
Where can I find out the number of bytes each command uses? or a BS1 and BS2sx.

Thanks in advance for your help.

Rene

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-05-02 21:54
    It's really not published anwhere because of the way tokens are compressed into memory. What you can do, however, is us the Memory Map feature to experiment with different code techniques to see their affect on program size.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
Sign In or Register to comment.