Instance Data Block Register

Top  Previous  Next

 

The DB referred by this register is used by the CPU every time an instance data word (-bit, -byte, double word) is accessed. Normally this register is loaded automatically at calling a function block, but it can also be loaded by the operation OPN DI with a new value. Calling a block the current content of this register is saved on the DB-stack and recovered at the return by the accessed block.

 

See also:

CPU

Global Data Block Register