====== e3 ====== ===== en ===== ==== name ==== The SET and RESET functions should be avoided. * a) Bits should not be activated by a SET instruction. * b) Bits should not be deactivated by a RESET instruction. * c) The SET and RESET instructions should be avoided. ==== description ==== The use of SET instructions poses a risk if any of the RESET cases have not been considered/programmed. It is preferable to use assignment instructions which will combine the conditions and set the variable to 1 or 0. **Detailed explanation** : **Level** : Mandatory\\ ==== errorMessage ==== * a) A bit {VARIABLE} is activated by {STR} SET instruction(s). * b) A bit {VARIABLE} is deactivated by {STR} RESET instruction(s). * c) The {STR} function is present at {LOCATION}. ===== fr ===== ==== name ==== Les fonctions SET et RESET sont à éviter * a) Les bits ne doivent pas être activés par une instruction de SET * b) Les bits ne doivent pas être désactivés par une instruction de RESET * c) Les fonctions SET et RESET sont à éviter ==== description ==== L'utilisation d'instructions SET est risqué si tous les cas de RESET n'ont pas été envisagés/programmés. Il est préférable d'utiliser des instructions d'affectation qui vont combiner les conditions pour mettre à 1 ou à 0 la variable. **Explication complémentaire** : **Niveau conseillé** : Obligatoire\\ ==== errorMessage ==== * a) Un bit {VARIABLE} est activé par {STR} instruction(s) de SET * b) Un bit {VARIABLE} est désactivé par {STR} instruction(s) de RESET * c) La fonction {STR} est présente en {LOCATION} ===== it ===== ==== name ==== Le funzioni di SET e RESET non dovrebbero essere usate * a) Non ci devono essere dei bit attivati dall'istruzione SET * b) Non ci devono essere dei bit disattivati dall'istruzione RESET * c) Le istruzioni SET e RESET sono da evitare ==== description ==== L'utilizzo dell'istruzione SET implica un rischio nel caso in cui una delle istruzioni di RESET non sia stata considerata/programmata. E preferibile usare un'istruzione di assegnazione che combina le condizioni e mette il valore della variabile a 1 o a 0. **Spiegazione supplementare** : **Livello consigliato** : Obbligatorio\\ ==== errorMessage ==== * a) Un bit {VARIABLE} è attivato da {STR} istruzione/i di SET * b) Un bit {VARIABLE} è disattivato da {STR} istruzione/i di RESET * c) La funzione {STR} è presente in {LOCATION} ===== de ===== ==== name ==== Die Funktionen SET und RESET sollten vermieden werden. * a) Bits sollten nicht mit einer SET Aufforderung aktiviert werden. * b) Bits sollten nicht mit einer RESET Aufforderung deaktiviert werden. * c) Die Funktionen SET und RESET sollten vermieden werden. ==== description ==== Die Nutzung von SET Aufforderungen ist riskant, wenn nicht alle RESET-Fälle berücksichtigt/programmiert wurden. Es ist vorzuziehen, Zuordnungsvorschriften zu benutzen, die die Konditionen kombinieren und die Variable auf 1 oder 0 setzen. **Detailed explanation** : **Level** : Obligatorisch\\ ==== errorMessage ==== * a) Ein Bit {VARIABLE} wurde durch {STR} SET Aufforderung(en) aktiviert. * b) Ein Bit {VARIABLE} wurde durch {STR} RESET Aufforderung(en) deaktiviert. * c) Die {STR} Funktion ist an {LOCATION} vorhanden.