integer machine simulation