Header codes are used to declare out of band data in the pcode ASCII format. They can appear anywhere in the pcode, though it is recommended, for clarity's sake, to put them at the start.
Header codes appear as :type: data : in the pcode.
Currently there are 3 header codes defined.
:olc_ver: version :
The olc_ver header code indicates the version of the overlord compiler used to generate the pcode.
:proto: module , ``static args'' , ``dynamic args'' :
The proto header code indicates the static and dynamic arguments of a module. It is not currently required.
The args are represented with an s for a string arg, and an n for a numeric arg.
:stack: size , policy :
The stack header directive indicates the size of the initial stack, and the policy if that size is exceeded.
The policy can either be die or grow.