Added swap, dir, and odir instruction