On 03.02.2014 12:57, Colin Watson wrote:
>         movw    $(GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR + 0x17), %bx
>         andb    $3, (%bx)
andb $3, (%bx) is equivalent to C code:
*(grub_uint8_t *)bx &= 3;
andb modifies the value at (%bx). You probably meant to use testb which
has same flag semantics but doesn't change operands

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to