Shop OBEX P1 Docs P2 Docs Learn Events
Question about EEPROM layout — Parallax Forums

Question about EEPROM layout

Mike GreenMike Green Posts: 23,101
edited 2007-01-20 21:39 in Propeller 1
There are a number of word pointers in the first 16 bytes of memory of a Spin program. One, called vbase, gives the number of bytes "loaded". Another, called dbase, points just past two longs containing $FFF9FFFF which is used as a marker for the beginning of the stack. My question is "what is in the space between vbase and the stack marker. I assume this contains some or all of the program's VAR space since it seems to contain zeros. Anybody know? I know that many programs assume that this is zero. Is this documented?

Comments

  • rokickirokicki Posts: 1,000
    edited 2007-01-20 21:39
    I don't believe this is documented, but it sure looks like this is VAR space (and the full VAR space). It is documented that all
    VARs are initialized to zero. I presume this is done by the loader.
Sign In or Register to comment.