Shop OBEX P1 Docs P2 Docs Learn Events
Basic Stamp Processor Registers — Parallax Forums

Basic Stamp Processor Registers

microcontrollerusermicrocontrolleruser Posts: 1,194
edited 2016-12-29 03:09 in BASIC Stamp
Developers

http://www.parallax.com/go/PBASICHelp/Content/LanguageTopics/Reference/MemoryOrg.htm

In this datasheet Parallax is calling this RAM and variables.

They call them registers one time.

"You may assign other names (symbols) to these RAM registers as shown in section "Defining and Using Variables", below."

Are these the Processor Registers?

Thanks.

Comments

  • kwinnkwinn Posts: 8,697
    Developers

    http://www.parallax.com/go/PBASICHelp/Content/LanguageTopics/Reference/MemoryOrg.htm

    In this datasheet Parallax is calling this RAM and variables.

    They call them registers one time.

    "You may assign other names (symbols) to these RAM registers as shown in section "Defining and Using Variables", below."

    Are these the Processor Registers?

    Thanks.

    Most likely not. The interpreter in the Basic Stamp is probably using the chip's ram for the variables and the actual microcontroller registers to execute the interpreter code.
  • The RAM and variables are on-chip memory. There are registers internal to the Stamp chip and Basic interpreter, but these are not accessible within Stamp Basic. It's not unusual for small amounts of on-chip memory to be referred to as registers. The Propeller, for example, has 512 32-bit words of on-chip memory for each cog (processor) and these are referred to sometimes as registers. 16 of these are actual registers with special capabilities and special names, but otherwise behave like memory locations. The Stamp's first few registers also have special capabilities beyond use as variables / memory / registers and have predefined names appropriate to those capabilities.

  • Kwinn Mike Green

    Appreciate the responses.

    Happy New Year!
Sign In or Register to comment.