operation[operation.ADD_H] = function (reg) { reg.A = reg.A + reg.H; reg.PC++; };