Implementation of a machine that works with an accumulator register