operation[operation.CMP_D] = function (reg) { reg.byte(reg.A - reg.D); reg.PC++; };