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