It should. I believe it just uses goto's, no stack use.