User program fetches part of system program when flags are set and detected