Esempio n. 1
0
void DgAlignInternal(           // ALIGN INTERNAL CONTROL BLOCK
    void )
{
    target_size_t adjust;

    adjust = SegmentAdjust( SEG_CONST, DGTell(), TARGET_POINTER );
    alignInSegment( adjust, SEG_CONST );
}
Esempio n. 2
0
void DgAlignSegment(            // ALIGN SEGMENT TO CORRECT BOUNDARY
    fe_seg_id segid,            // - aligned segment
    unsigned amount )           // - amount to align
{
    target_size_t adjust;

    adjust = SegmentAdjust( segid, DGTell(), amount );
    alignInSegment( adjust, segid );
}
Esempio n. 3
0
void DgAlignSymbol(             // ALIGN SYMBOL TO CORRECT BOUNDARY
    SYMBOL sym )                // - symbol to align
{
    target_size_t adjust;
    fe_seg_id segid;

    segid = sym->segid;
    adjust = SegmentAdjust( segid, DGTell(), SegmentAlignment( sym ) );
    alignInSegment( adjust, segid );
}