Basic register machine