The sentence "Stop talking," said the commander to the boys can be correctly reported as:
"The commander ordered the boys to stop talking."
### Explanation:
- When reporting direct speech in indirect speech, the command or request typically uses "ordered" (or another verb indicating a strong request, like "told").
- The verb "to stop" is used in its infinitive form (without "not"), since the original sentence is a direct command to stop.
### Incorrect version:
- "The commander ordered the boys not to stop talking" would change the meaning. This version suggests the commander ordered the boys to continue talking, which is the opposite of the original meaning.
Thus, the correct reported speech is:
"The commander ordered the boys to stop talking."