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