Is there a simple way to make this NASM snippet to work?
add ebx, byte [ebp-10+ecx]
I get the following error: error: mismatch in operand sizes
.
I want to add the byte in the memory address [ebp-10+ecx]
to the least significant byte of ebx. Of course ebx is a 4 or 8 byte register and that causes the error.