Stored Program Concept

A design where program instructions and data are stored in the same memory.

Stored Program Concept, bilgisayar mimarisinde temel bir prensiptir. John von Neumann ve diğerleri tarafından öncülük edilen bu prensip, bilgisayar komutlarının (programın) üzerinde çalıştığı verilerle aynı bellekte saklanması gerektiğini belirtir. Bu, komutların donanımsal olarak sabitlendiği veya fiziksel anahtarlar ve plugboard'lar aracılığıyla ayarlandığı önceki elektronik hesaplama cihazlarından farklıdır. Stored Program Concept'e sahip bir bilgisayarda, central processing unit (CPU), bellekten komutları alabilir, bunları çözebilir ve sıralı olarak yürütebilir. Bu, bilgisayarların ikili formda temsil edilebilen ve belleğe yüklenebilen herhangi bir programı yürütme yeteneğine sahip genel amaçlı makineler olmasını sağlar. Programları bellekte değiştirme yeteneği, self-modifying code'u da mümkün kılar, ancak bu uygulama güvenlik ve bakım nedenleriyle modern programlamada genellikle tavsiye edilmez. Bu konsepte dayanan von Neumann mimarisi, tipik olarak bir CPU, bellek (hem komutlar hem de veriler için), giriş/çıkış mekanizmaları ve bu bileşenler arasındaki iletişim için bir system bus içerir. Bu mimari, neredeyse tüm modern dijital bilgisayarların temelini oluşturur.

        graph LR
  Center["Stored Program Concept"]:::main
  Pre_computer_science["computer-science"]:::pre --> Center
  click Pre_computer_science "/terms/computer-science"
  Rel_advanced_propulsion_systems["advanced-propulsion-systems"]:::related -.-> Center
  click Rel_advanced_propulsion_systems "/terms/advanced-propulsion-systems"
  Rel_file_systems["file-systems"]:::related -.-> Center
  click Rel_file_systems "/terms/file-systems"
  Rel_pointer["pointer"]:::related -.-> Center
  click Rel_pointer "/terms/pointer"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧠 Bilgi testi

1 / 4

🧒 5 yaşındaki gibi açıkla

Bu, mutfağınızda bir yemek tarifi kitabı olması gibidir. Her yemek için yeni bir mutfak inşa etmek zorunda kalmak yerine, mutfağa (bilgisayara) kitaptaki hangi tarifi (programı) izleyeceğini söylersiniz ve o da orada bulduğu malzemeleri (verileri) kullanır.

🤓 Expert Deep Dive

The Stored Program Concept, embodied by the von Neumann architecture, revolutionized computing by decoupling instruction logic from hardware configuration. The core innovation lies in treating instructions as data, enabling them to be fetched, processed, and even modified by the CPU itself. This unified memory space, however, leads to the 'von Neumann bottleneck,' where the shared bus between the CPU and memory limits throughput, as instructions and data compete for access. Architectures like the Harvard architecture, which use separate memory spaces and buses for instructions and data, mitigate this bottleneck but sacrifice the flexibility of unified memory. The concept's significance lies in its enabling of programmability, leading to the development of operating systems, compilers, and the vast software ecosystem we rely on today. Its theoretical underpinnings relate to Turing completeness and the universality of computation.

🔗 İlgili terimler

Ön koşullar:

📚 Kaynaklar