https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #5 from Stas Sergeev <stsp at users dot sourceforge.net> --- Basically this code calculates the distance between "DPMI_return_from_realmode" and "DPMI_dummy_start", and puts the result into a 16bit variable. That explains the use of %ax. Its possible because those funcs are in 16bit asm. I think the gcc-generated asm code is perfectly fine here. It optimized the 32bit calculus to 16bits. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils