Hello and welcome back.
In this lesson, we will take a look at the NOT instruction.
So we are going to move this value into -, and then NOT -.
So I've opened my template 2x in x64dbg.
So let's go to the input and key in these instructions.
MOV -.
Okay.
Next is NOT -.
Hit
okay.
Notice it has converted it into AA.
Let's open our programmer's calculator and check.
Select hex and byte here, and key in AA, and we confirm it is correct.
Same as this.
Now let's put a breakpoint here.
Run to the breakpoint and then step over.
Next is NOT -. Step over this as well.
And you notice this result is now AA, right?
Even though we get 55 at the previous step.
And let us check what gives us 55 here.
We just NOT this and see what we get.
And you get hex 55.
So it is correct.
So this is how we can use NOT in the assembly.
That's all for this video.
Thank you for watching.