That's right, I had completely forgotten that _puts changes the cursor location... You could even just save the value to another register (assuming _puts doesn't destroy it, I'm not sure) or push a to the stack after getting the cursor location and pop it back after calling _puts. -- Jonathan Marcus Appelkore@aol.com