Here is a free CNC simulator that takes g-codes and displays the results. I have used it and it works well.
http://www.cncsimulator.com/
Here is another free one, which sounds like it may work, but I haven't tried it.
http://www.cnczone.com.com/autonc.htm