slts,
Action sur un bit du mot %MW0 en fonction de son numéro (0à15) dans NUM_BIT
(*élabore le masque*)
MSK:=SHL(1,NUM_BIT);
(*SET du Bit*)
%MW0:=%MW0 OR MSK;
(*RESET du Bit*)
%MW0:=%MW0 AND (NOT MSK);
Tuto :action sur bit de mot
- itasoft
- Mi homme - Mi automate
- Messages : 7037
- Inscription : 20 oct. 2015, 10:15
- Localisation : Lyon
- Contact :
Tuto :action sur bit de mot
Automaticien privé (de tout)
itasoft@free.fr
itasoft@free.fr