Hi, I recently started programming with inline assembly (I use Visual C++), but I have found a bug that I cannot solve.
Why does it give an error?
// C language
unsigned char array[] = {1, 2, 3, 4, 5, 6, 7};
// Assembly
__asm {
XOR CL,CL
MOV AL,array[CL]
}
The error is -> "error C2403: 'CL'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.