Basic stack machine