cell version;
// base address of data heap when image was saved
cell data_relocation_base;
- // size of data heap
+ // <>0 : size of data heap, ==0 : version4_escape
union { cell data_size; cell version4_escape; };
// base address of code heap when image was saved
cell code_relocation_base;
// size of code heap
cell code_size;
- union { cell reserved_1; cell escaped_data_size; };
- cell reserved_2;
- cell reserved_3;
- cell reserved_4;
+ union { cell reserved_1; cell escaped_data_size; }; // undefined if data_size <>0, stores size of data heap otherwise
+ cell reserved_2; // undefined if data_size <>0, 0 otherwise
+ cell reserved_3; // undefined if data_size <>0, 0 otherwise
+ cell reserved_4; // undefined if data_size <>0, 0 otherwise
// Initial user environment
cell special_objects[special_object_count];