Download
slide1 n.
Skip this Video
Loading SlideShow in 5 Seconds..
MAR PowerPoint Presentation

MAR

204 Vues Download Presentation
Télécharger la présentation

MAR

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Buffer MM MAR PC 000 +1 Out Accu. MDR Ctrl In ALU IR Buffer Buffer The Little Man CPU

  2. Beginning, Program & Data in Memory Reset counter, the Machine in a random state …. 234 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 000 11 000 MAR 8 8 PC 00 +1 Out Acc. 222 777 Ctrl In MDR ALU 444 444 333

  3. Instruction Fetch ... 234 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 000 11 000 0 0 PC 00 +1 Out Acc. 222 901 Ctrl In MDR 102 304 …. IR ALU 901 444 333

  4. Instruction execution ... 234 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 000 11 000 0 0 PC 01 +1 Out Acc. 102 901 Ctrl In MDR 304 123 …. IR ALU 901 444 333

  5. Instruction Fetch ... 234 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 000 11 000 0 1 PC 01 +1 Out Acc. 102 310 Ctrl In MDR 304 123 …. IR ALU 310 444 333

  6. Instruction Execution ... 102 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 102 11 000 1 0 PC 02 +1 Out Acc. 102 310 Ctrl In MDR 304 123 …. IR ALU 310 444 333

  7. Instruction Fetch ... 102 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 102 11 000 0 2 PC 02 +1 Out Acc. 102 901 Ctrl In MDR 304 123 …. IR ALU 901 444 333

  8. Instruction Execution ... 102 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 102 11 000 0 2 PC 03 +1 Out Acc. 304 901 Ctrl In MDR 123 100 …. IR ALU 901 444 333

  9. Instruction Fetch ... 102 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 102 11 000 0 3 PC 03 +1 Out Acc. 304 311 Ctrl In MDR 123 100 …. IR ALU 311 444 333

  10. Instruction Execution ... 304 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 102 11 304 1 1 PC 04 +1 Out Acc. 304 311 Ctrl In MDR 123 100 …. IR ALU 311 444 333

  11. Instruction Fetch ... 304 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 102 11 304 0 4 PC 04 +1 Out Acc. 304 210 Ctrl In MDR 123 100 …. IR ALU 210 444 333

  12. Instruction Execution ... 304 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 102 11 304 1 0 PC 05 +1 Out Acc. 202 102 Ctrl In MDR 123 100 …. IR ALU 210 304 102

  13. Instruction Fetch ... 304 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 102 11 304 0 5 PC 05 +1 Out Acc. 202 808 Ctrl In MDR 123 100 …. IR ALU 808 304 102

  14. Instruction Execution ... 304 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 102 11 304 0 5 PC 08 +1 Out Acc. 202 808 Ctrl In MDR 123 100 …. IR ALU 808 304 102

  15. Instruction Fetch ... 304 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 102 11 304 0 8 PC 08 +1 Out Acc. 202 902 Ctrl In MDR 123 100 …. IR ALU 902 304 102

  16. Instruction Execution ... 304 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 102 11 304 0 8 PC 09 +1 Out Acc. 202 …. 202 902 Ctrl In MDR 123 100 …. IR ALU 902 304 102

  17. Instruction Fetch ... 304 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 102 11 304 0 9 PC 09 +1 Out Acc. 202 …. 202 000 Ctrl In MDR 123 100 …. IR ALU 000 304 102

  18. Instruction Execution ... 304 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 102 11 304 0 9 PC 09 +1 Out Acc. 202 …. 202 000 Ctrl In MDR 123 100 …. IR ALU 000 304 102

  19. If the first number is bigger than the first number ………., e.g, the input basket looks like this 304 102 …. not this 102 304 ….

  20. Instruction Fetch ... 102 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 304 11 102 0 5 PC 05 +1 Out Acc. - 202 808 Ctrl In MDR 123 100 …. IR ALU 808 102 304

  21. Instruction Execution ... 102 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 304 11 102 0 5 PC 06 +1 Out Acc. -202 808 Ctrl In MDR 123 100 …. IR ALU 808 102 304

  22. Instruction Fetch ... 102 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 304 11 102 0 6 PC 06 +1 Out Acc. -202 510 Ctrl In MDR 123 100 …. IR ALU 510 102 304

  23. Instruction Execution ... 102 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 304 11 102 1 0 PC 07 +1 Out Acc. 304 304 Ctrl In MDR 123 100 …. IR ALU 510 102 304

  24. Instruction Fetch ... 102 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 304 11 102 0 7 PC 07 +1 Out Acc. 304 211 Ctrl In MDR 123 100 …. IR ALU 211 102 304

  25. Instruction Execution ... 102 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 304 11 102 1 1 PC 08 +1 Out Acc. 202 102 Ctrl In MDR 123 100 …. IR ALU 211 304 102

  26. Instruction Fetch ... 102 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 304 11 102 0 8 PC 08 +1 Out Acc. 202 902 Ctrl In MDR 123 100 …. IR ALU 902 304 102

  27. Instruction Execution ... 102 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 304 11 102 0 8 PC 09 +1 Out Acc. 202 …. 202 902 Ctrl In MDR 123 100 …. IR ALU 902 304 102

  28. Instruction Fetch ... 102 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 304 11 102 0 9 PC 09 +1 Out Acc. 202 …. 202 000 Ctrl In MDR 123 100 …. IR ALU 000 304 102

  29. Instruction Execution ... 102 MAR 00 901 01 310 02 901 03 311 04 210 05 808 06 510 07 211 08 902 09 000 10 102 11 304 0 9 PC 09 +1 Out Acc. 202 …. 202 000 Ctrl In MDR 123 100 …. IR ALU 000 304 102