1היא שצונו להכרית זרע עמלק בלבד משאר זרע עשו זכרים ונקבות קטנים וגדולים. והוא אמרו יתעלה תמחה את זכר עמלק. וכבר קדם לנו שלש מצות נצטוו בני ישראל בכניסתן לארץ, למנות להם מלך ולבנות בית הבחירה ולמחות זרע עמלק. ומלחמה זו היא מלחמת מצוה. וכבר התבארו משפטי מצוה זו בפ"א מסוטה. (כי תצא, הלכות מלכים פ"ה):
That is that He commanded us to exclusively cut off the seed of Amalek - males, females, adults and children - from among the rest of the descendants of Esav. And that is His, may He be exalted, saying, "you shall blot out the memory of Amalek" (Deuteronomy 25:19). And we already mentioned (Sefer HaMitzvot, Positive Commandments 173), "Three commandments were commanded to Israel upon their entrance to the land: To appoint a king over them; to build the [Temple]; and to cut off the seed of Amalek." And this war is a commanded war. And the regulations of this commandment have already been explained in Chapter 1 of Sotah. (See Parashat Ki Tetzei; Mishneh Torah, Kings and Wars 5.)
The Rambam's count of the 613 mitzvos. English: Rabbi Francis Nataf, Sefaria 2021 (CC-BY). Hebrew: Warsaw 1883. Via Sefaria. All the library · Jer’s Torah Page