write to output register
read inputs