While in 64 bit this works:
mov qword ptr rax, gs:[...]
mov gs:[...], rax
this 32 bit code doesn´t:
mov dword ptr eax, fs:[...]
mov fs:[...], eax
What am i doing wrong? I want to read/write data from/to the TEB.
JK
deleted
Ok - thanks, indeed this solves the problem!
Quotefs is assumed to error ...
just to understand the background - why?