IN
OUT
Refactor regs for IN/OUT