assembler tx byte sent interrupt.
write next byte if there's one left, otherwise unhook irq.
assembler tx end interrupt.
shutdown transmission
write to IR port, blocking.
read from IR port, blocking.
ptr to compare sent bytes with received ones.
null: don't compare.