Hacker News new | past | comments | ask | show | jobs | submit login

Oh cool, and it looks like it can also decrement by 1/2/4/8.

> After the byte, word, or doubleword is transferred from the memory location into the AL, AX, or EAX register, the (E)SI register is incremented or decremented automatically according to the setting of the DF flag in the EFLAGS register. (If the DF flag is 0, the (E)SI register is incremented; if the DF flag is 1, the ESI register is decremented.) The (E)SI register is incremented or decremented by 1 for byte operations, by 2 for word operations, or by 4 for doubleword operations.

https://www.felixcloutier.com/x86/lods:lodsb:lodsw:lodsd:lod...






Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: