Message board for the users of flat assembler.
> Main > and not uses
Ali.Z 24 Mar 2020, 13:49
can anyone give me other uses of and not operation?
i was reverse engineering somecode, and i noticed this operation and i know for sure its used to exclude some flags. (i just wanna know what are the other uses for this operation)
; edx = 16h ; eax = 10h not eax and edx,eax
lets just assume:
- 2h (read)
- 4h (write)
- 10h (execute)
then the above example basically removes the execute flag.
Asm For Wise Humans
|24 Mar 2020, 13:49||
< Last Thread | Next Thread >
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.