pTAL Reference Manual (H06.08+)
Built-In Routines
HP pTAL Reference Manual—523746-006
15-95
$WRITEPTE
$WRITEPTE
$WRITEPTE writes a segment-page-table entry.
ptetag input
uINT:value
are the page attribute bits associated with pageframe.
pageframe input
INT(32):value
is the frame number of the physical frame associated with abs.
abs input
EXTADDR:value
is the virtual address to which $WRITEPTE maps pageframe.
Note. The EpTAL compiler does not support this procedure.
pTAL privileged procedure Yes
Can be executed only by privileged procedures Yes
Sets condition code No
Sets $CARRY Yes
Sets $OVERFLOW No
Example 15-95. $WRITEPTE Routine
INT ptetag;
INT(32) pageframe;
EXTADDR abs;
$WRITEPTE(ptetag, pageframe, abs);
) :
abs
$WRITEPTE (
ptetag
,
pageframe
,
VST656.vsd










