I try to implement a z machine which will later be used in an android app.