I can push and pop those registers but it will not assemble any additional actions with those regesters. I get errors in the assembly process. I love Masm but I don't want it to be my daddy. Let me make my own mistakes and I will show the board what I learned.
Posted on 2003-07-21 15:07:17 by mrgone
Are you using the .386 directive?
Posted on 2003-07-21 15:24:52 by Masmer
Should I use higher?
Posted on 2003-07-21 18:43:06 by mrgone
Have you tried .386p (or others with p suffix)?
Posted on 2003-07-21 19:35:13 by Starless

Look up the "ASSUME" directive in MASM as the FS register is set with ASSUME fs error. You can manually override the ASSUME directive with another but be careful that the OS sometimes uses the FS register for structured exception handling from memory.

Posted on 2003-07-21 20:19:33 by hutch--
Like Hutch says

assume FS:nothing
assume GS:nothing
Posted on 2003-07-21 20:47:52 by donkey
assume fs:flat
Posted on 2003-07-22 07:50:48 by roticv