handyboard.com
Home
FAQ
Docs
Software
Hardware
Get One
Community
Links

Handy Board FAQ Answers: “icmemory”

How much of the Handy Board's 32K memory is available for user programs running under Interactive C?

Here is an approximate breakdown of how Interactive C makes use of the Handy Board's 32K of RAM:

PurposeMem Usage
Runtime P-Code OS7936 bytes
Stack space for user processes6656 bytes
Buffer for interaction process256 bytes
Buffer for printing256 bytes
User program object code
plus user global variables
16320 bytes
available

Thus, about 16K of the memory is reserved for user code plus user globals. Since Interactive C compiles into code for the runtime virtual machine rather than into 68HC11 machine language, user IC programs tend to be more compact than those compiled with traditional compilers, partially offsetting the overhead of the IC system itself.

(Last updated 2000-09-27)

 

Back to FAQ Index