示例#1
0
void
_Compile_UninitializedCall ( ) // runtime
{
    _Set_SCA ( 0 ) ;
    _Compile_Int8 ( CALLI32 ) ;
    _Compile_Cell ( 0 ) ;
}
示例#2
0
void
_Compile_UninitializedJump ( ) // runtime
{
    //_Set_SCA ( 0 ) ;
    _Compile_Int8 ( JMPI32 ) ;
    _Compile_Cell ( 0 ) ;
}
示例#3
0
void
_Compile_JumpWithOffset ( int32 disp ) // runtime
{
    //_Set_SCA ( 0 ) ;
    _Compile_Int8 ( JMPI32 ) ;
    _Compile_Cell ( disp ) ;
}
示例#4
0
void
_Compile_ImmediateData ( int32 imm, int32 immSize )
{
    // to not compile an imm when imm is a parameter, set isize == 0 and imm == 0
    if ( immSize > 0 )
    {
        if ( immSize == BYTE )
            _Compile_Int8 ( ( byte ) imm ) ;
        else if ( immSize == CELL )
            _Compile_Cell ( imm ) ;
    }
    else // with operandSize == 0 let the compiler use the minimal size ; nb. can't be imm == 0
    {
        if ( imm >= 0x100 )
            _Compile_Int32 ( imm ) ;
        else if ( imm )
            _Compile_Int8 ( ( byte ) imm ) ;
    }
}