Téléchargez comme PPTX, PDF, TXT ou lisez en ligne sur Scribd
Télécharger au format pptx, pdf ou txt
Vous êtes sur la page 1sur 5
Correction DS MCP 2022
Compléter l’état des portions
de la mémoire de données de l‘adresse 0X10000000 à l’adresse 0X10000009 à la fin de l’exécution de ce programme constitué de trois instructions successives comme suit Programme : SW $9,($8) SH $9,5($8) SB $9,-1($10) Ain Bin C Oper result vert vert i ation n 0 0 X 00 A and B 0 1 A and (not B) 1 0 (Not A ) and B 1 1 (not A) and ( notB) 0 0 X 01 A OR B 0 1 A OR (not B) 1 0 (Not A )OR B 1 1 (not A) OR ( notB) 0 0 0 10 A + B +0 = A+B 0 1 0 A+notB+0 1 0 0 notA+B+0 1 1 0 notA+notB 0 0 1 A+B+1 0 1 1 A+notB+1 = A-B 1 0 1 B+not(A)+1 = B-A 1 1 1 notA+notB+1 X X X 11 Less