80 likes | 194 Views
Traduction en hexa. Jeux d’instructions de la machine. BIPUSH 4. 0x10 0x04. Exemple d’exécution d’un programme. État Initial. Memory control signals (rd,wr,fetch). 3. 4 to 16 Decoder. 4. MPC. 9. 0x00. 8. 0x10. 8. 0x01. 0x00. JMPC. MIR. C. Addr. J. M. Alu. B. 0x03.
E N D
Traduction en hexa Jeux d’instructions de la machine BIPUSH 4 0x10 0x04 Exemple d’exécution d’un programme
État Initial Memory control signals (rd,wr,fetch) 3 4 to 16 Decoder 4 MPC 9 0x00 8 0x10 8 0x01 0x00 JMPC MIR C Addr J M Alu B 0x03 JAMN/JAMZ High Bit B Bus 2 N 6 Z C Bus 2
Exécution (CP=CP+1;fetch;Goto (MBR)) Memory control signals (rd,wr,fetch) 3 4 to 16 Decoder 4 MPC 9 0x00 0x10 8 0x10 8 0x01 0x00 JMPC MIR C Addr J M Alu B 0x03 JAMN/JAMZ High Bit B Bus 2 N 6 Z C Bus 2
Exécution (SP= MAR=SP+1;Goto bipush2) Memory control signals (rd,wr,fetch) 3 4 to 16 Decoder 4 MPC 9 0x01 8 0x10 8 0x01 0x00 JMPC MIR C Addr J M Alu B 0x03 JAMN/JAMZ High Bit B Bus 2 N 6 Z C Bus 2
Information Memory control signals (rd,wr,fetch) 3 4 to 16 Decoder 0x02 4 MPC 9 0x01 8 0x04 Arrivée de la donnée demandé il y a deux cycles 8 0x02 0x00 JMPC MIR C Addr J M Alu B 0x03 JAMN/JAMZ High Bit B Bus 2 N 6 Z C Bus 2
Exécution (PC=PC+1;fetch ;Goto bipush3) Memory control signals (rd,wr,fetch) 3 4 to 16 Decoder 0x02 4 MPC 9 0x01 8 0x04 8 0x02 0x00 JMPC MIR C Addr J M Alu B 0x03 JAMN/JAMZ High Bit B Bus 2 N 6 Z C Bus 2
Exécution (MDR=TOS=MBR; Wr ; Goto Main1) Memory control signals (rd,wr,fetch) 3 4 to 16 Decoder 0x02 4 MPC 9 0x02 8 0x04 8 0x02 0x00 JMPC MIR C Addr J M Alu B 0x03 JAMN/JAMZ High Bit B Bus 2 N 6 Z C Bus 2
Résultat Memory control signals (rd,wr,fetch) 3 4 to 16 Decoder 0x02 4 0x04 MPC 9 0x02 8 0xXX 8 0x02 0x00 JMPC MIR C Addr J M Alu B Mise à jour de MBR (demandée il y a deux cycles) 0x04 JAMN/JAMZ High Bit B Bus 2 N 6 Z C Bus 2