exec.c: Use stn_p() and ldn_p() instead of explicit switches