Les assembleurs - IIHE
Les assembleurs - IIHE
Les assembleurs - IIHE
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Les</strong> instructions logiques<br />
• <strong>Les</strong> ”portes”<br />
AND R d ,R i ,R j R d [R i ] ∧ [R j ]<br />
ANDC R d ,R i ,R j R d [R i ] ∧ ¬[R j ]<br />
ANDI R d ,R i ,n R d [R i ] ∧ n (16 bits; extension zéros)<br />
ANDIS R d ,R i ,n R d [R i ] ∧ n (16 bits; glissés à gauche)<br />
idem NANDy, NORy, ORy, XORy<br />
• Rotations (RL : Rotate Left)<br />
Masque M: mot de 32 bits où les bits M d<br />
à M f<br />
sont mis à 1.<br />
RLWNM R d ,R i ,R j ,M d ,M f R d M ∧ ([R i ] rotation gauche de [R j ] bits)<br />
RLWINM R d ,R i ,n,M d ,M f R d M ∧ ([R i ] rotation gauche de n bits)<br />
• Glissements (SL : Shift Left; SR : Shift Right)<br />
SLW R d ,R i ,R j R d [R i ] glissé à gauche de [R j ] bits (bits libérés mis à zéro)<br />
SRAW R d ,R i ,R j R d [R i ] glissé à droite de [R j ] bits (extension signe)<br />
SRAWI R d ,R i ,n R d [R i ] glissé à droite de n bits (extension signe)<br />
SRW R d ,R i ,R j R d [R i ] glissé à droite de [R j ] bits (extension zéros)<br />
Année préparatoire Licence Informatique (ULB/UMH) Charleroi. Fonctionnement des ordinateurs. Chapitre 9<br />
D. Bertrand 20