Added support for IO instructions.