Q
-
메모리? 메인 메모리?CS 2021. 1. 12. 22:14
메모리 종류에는 메인 메모리, 캐시 메모리가 존재 한다. 메인 메모리(Main Memory) 메인 메모리는 CPU가 직접 접근할 수 있는 접근 장치로 프로세스가 실행되려면 프로그램이 메모리에 올라와야 한다. 메인 메모리는 주소가 할당된 일련의 바이트들로 구성되어 있다. CPU는 레지스터가 지시한 대로 메모리에 접근해 다음에 수행할 명령어를 가져온다. 명령어를 수행할 시 메모리에 필요한 데이터가 없으면 해당 데이터를 우선 가져오게 되는데 이 역할을 하는것이 MMU이다. MMU(Memory Management Utility)란 메모리 관리 장치로 논리 주소를 물리 주소로 변환해 주며, 메모리 보호나 캐시 관리 등 CPU가 메모리에 접근하는 것을 총 관리하는 하드웨어이다. 메모리의 공간은 한정적이기 때문에 사..