본질! 컴퓨터의 모든 정보는 bit와 byte로 저장된다!

※ Hardware 구성요소

- Bus: 구성요소간 정보교환 통로. 입출력버스, 시스템버스가 존재.

- I/O devices

- Main memory

- Cache memory

- CPU (processor): 기억장치로부터 명령/데이터 호출, 제어장치로 명령의 해석, ALU로 명령의 실행, I/O로 입출력 진행

cf. 명령 주기: fetch(인출), decode(해독), execution(실행), store(저장)의 cycle로 진행됨.

 

Ex. hello.c 의 컴파일 과정  (feat. gcc-o hello hello.c )

 

 

 

 

 

※ 컴퓨터 구조

 

Step1. hello 명령이 인식된다면?

 

Step 2. 그렇다면 hello program이 로딩되는 경우는 어떻게 될까?

 

Step 3. hello program의 실행

 

 

 

 

 

 

 

 

 

 

 

+ Recent posts