what is wrong with this code. I don't know assembly and am not tyring to learn(yet atleast), but I took this from a site and it gives me two errors. Could someone help please?
Code:
inline void FloatToInt(int *int_pointer, float f){
        __asm__("fld f");
        __asm__("mov  edx, int_pointer");
        __asm__("FRNDINT");
        __asm__("fistp dword ptr [edx]");
}