Shop OBEX P1 Docs P2 Docs Learn Events
Will small to large snippets of SASM work within SX based BS2 Modules — Parallax Forums

Will small to large snippets of SASM work within SX based BS2 Modules

Capt. QuirkCapt. Quirk Posts: 872
edited 2007-03-08 16:08 in BASIC Stamp
I was wondering if I can use SASM code snipets anywhere within a BS2SX code, similar to for ltc 1298? code snipets

If so, will SASM work with all of Pbasic 2.5?

Post Edited (Capt. Quirk) : 3/8/2007 4:03:42 PM GMT

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-03-08 16:08
    There is no way to include assembly language in PBasic. There are no provisions for it.

    For something as extensive as PBasic in such a small processor with such limited resources, the interpreter is highly optimized and trying to support embedded assembly would be a nightmare. If you want to do something like that, consider using SX/B with the SX processors or Spin on the Propeller. They both allow combinations of assembly and a high level language.

    Post Edited (Mike Green) : 3/8/2007 4:13:04 PM GMT
Sign In or Register to comment.