William wrote: > Well, here is the rest of the code, i don't really know what to do (this > is my first time with assembly) I hope someone can give me a clue. Strangely, the function you listed compiles just fine on my machine. I wonder if there's a difference in the way you & I have our preferences set that is causing the compile error on your side? (I tried it both with and without "optimize expressions as integer," which sometimes is the culprit for such things). Are you compiling it as part of an application or as part of a code resource? These things _shouldn't_ make a difference, but obviously there's something different about your setup and mine that _is_ making a difference. - Rick