Shop OBEX P1 Docs P2 Docs Learn Events
Speed vs. Instructions Per Second — Parallax Forums

Speed vs. Instructions Per Second

ValVal Posts: 4
edited 2007-12-10 21:13 in BASIC Stamp
I have what must be a stupid question. Perhaps someone can clarify the following:

The Basic Stamp 2px24 operates at 19Mhz. It is also described as operating at 19,000 instructions per second.

The Basic Stamp 2sx operations at 50Mhz. It is also described as operating at 10,000 instructions per second.

Which one is faster?

Thanks,

Val

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-12-10 21:04
    The "raw" clock rate doesn't give you the actual execution speed. Go by the number of instructions per second.
    Also, the BS2p/pe/px devices have additional features that the BS2sx does not have and these can simplify your
    programming, depending on your task, so that the overall program will execute in less time and use less memory.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-12-10 21:13
    Val,

    Actually the BS2px24 runs at 32Mhz, but the main difference among the BS2p and higher modules is that they run in turbo mode, whereas the BS2sx and BS2e do not. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.