Oh, and compile with -m32. That snippet is i387 specific.