index.md (634B)
1 +++ 2 title = 'Basic architecture & making a program' 3 +++ 4 # Basic architecture & making a program 5 ## Von Neumann Architecture 6 Early computer design. 7 8 CPU: ALU, CU with instruction register and program counter 9 10 The CN sees memory contents in bits, 1 or 0. That's called a binary program. 11 12 How to make binary program? 13 - Opt. 1: program bit by bit 14 - Opt. 2: compile to binary. 15 - C++ is a compiled language. 16 17 ![65418c4b17ccbc237a004cfb5edfe470.png](0ab6636bda3549b4a64812acc2481f5a.png) 18 19 - Opt. 3: interpreter that converts & executes a HLL, line-by-line 20 21 ![adb0bda1daddad55ed78750983e9064f.png](d1fed7a52380407e96ccadb9a7351bc1.png)