Oh man, I’ve got yet another error while compiling the following inline assembly code (with -fasm-blocks) under GCC:
_asm
{
mov ecx, esi
shr ecx, 2
rep stosd
};
GCC understands other stos instructions, why won’t it accept stosd???
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
seeing as your using intel syntax, just go for the explicit version of the
STOScommand:REP STOS DWORD PTR:[EDI].and iirc under gcc,
stosdis calledstosl.