fixed units pipeline
changed memin2: now mem[34] = mem[47] = 1 (in order to check registers
end values)