Shop OBEX P1 Docs P2 Docs Learn Events
Native Assembly Code — Parallax Forums

Native Assembly Code

ZuddieZuddie Posts: 5
edited 2010-04-12 12:51 in BASIC Stamp
Is there a way to program the Basic Stamp, such as a BS2, to run a snippet of native assembly code for the PIC16F57? I'm guessing not because I think all the BASIC code is in the 24LC16B EPROM chip and that the controller interprets what's in the EPROM but never modifies itself (the controller). Is this true?

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2010-04-12 12:51
    No. The BS2 PIC16F57 has been programmed to read PBasic tokens out of an attached eeprom and use those tokens to execute pre-programmed assembly code in the PIC. And the PIC was not programmed to allow execution of snippets of assembly stored in the eeprom.

    So yes, what you said is true.
Sign In or Register to comment.