operation[operation.XRA_B] = function (reg) { reg.A = reg.A ^ reg.B; reg.PC++; };