Fills instruction registers correctly