Well, a simple question here
I study assembly and convert some assembly procedures back to VB.NET
Now, there is a specific line of code that I came across in the assembly, suppose the following:
EBX = F0D04080
Then the following line is executed
SHR EBX, 4
Which gives me the following:
EBX = 0F0D0408
Now, in VB.NET, I am doing the following
variable = variable >> 4
Which SHOULD give me the same thing ... But it differs in the SLIGHT bit and not the value 0F0D0408, I get FF0D0408
So what is going on here?
source
share