remove redundant EXIT-VALUE instruction; refactor indexed i/o