18.10.2014 Views

SIMSCRIPT II.5 Programming Language

SIMSCRIPT II.5 Programming Language

SIMSCRIPT II.5 Programming Language

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>SIMSCRIPT</strong> <strong>II.5</strong> <strong>Programming</strong> <strong>Language</strong><br />

by one of these words. The following examples illustrate the use of field- and bit-packing factors<br />

for attributes of temporary entities.<br />

Table 6-1. Field and Bit-Packing Factors for Common 32-Bit Machines<br />

Field-Packing Factor<br />

Attribute Value Placement<br />

1/2 first half of computer word<br />

2/2 second half of computer word<br />

1/4 first quarter of computer word<br />

2/4 second quarter of computer word<br />

3/4 third quarter of computer word<br />

4/4 fourth quarter of computer word<br />

Bit-Packing Factor<br />

Attribute Value Placement<br />

bits n through m inclusive<br />

n-m<br />

1≤n≤32<br />

1≤m≤32<br />

n≤m<br />

temporary entities<br />

1. Declaration:<br />

every PERSON has an AGE and a NAME<br />

Entity structure:<br />

AGE<br />

NAME<br />

2. Declaration:<br />

every PERSON has an ( AGE(1/2) and NAME(2/2) )<br />

Entity structure:<br />

AGE<br />

NAME<br />

262

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!