Title: +038=360.000-OU045T_03-PCD2.m4160 PLS SBC - Hardware Manual.pdf
3-29Saia-Burgess Controls Ltd.PCD2.M5_ Classic CPUs and expansion housingsPartitioning options for user memory3.10 Partitioning options for user memoryIn the PG5 hardware configuration, the user memory is partitioned by default into lines of code and texts/DBs, in a way that suits most applications.In the case of a large program with few texts/DBs or a very small program with many texts/DBs, the user can partition the memory manually. In order to choose an appro- priate breakdown, the following should be noted: The partitioning is into "kBytes lines of code" and "kBytes text/DBs", where the3"kBytes lines of code" can only be changed in 4 kByte steps, as every line of code occupies 4 bytes The result of the formula (4 x "kBytes program cells") + "kBytes texts/DBs" mustequal the effectively available user memory, e.g. 4 x 24 kBytes + 32 Kbytes = 128 Kbytes Each character of a text occupies 1 byte Each 32-bit element of a DB occupies eight bytes in the address range 0..3999,