04. CPU의 작동 원리 - 레지스터(작성중) #41
jcrescent61
started this conversation in
혼자 공부하는 컴퓨터 구조+운영체제
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
강의 유튜브 바로가기
레지스터
레지스터는 CPU 내부의 작은 임시 저장장치이다. 프로그램 속 명령어 & 데이터는 실행 전후로 레지스터에 저장된다.
저장된 값만 잘 관찰해도 프로그램의 실행 흐름을 파악할 수 있다. 다시 말해 레지스터 속 값을 유심히 관찰하면 프로그램을 실행할 때 CPU 내에서 무슨 일이 벌어지고 있는지, 어떤 명령어가 어떻게 수행되는 지 알 수 있다.
CPU 내부에는 다양한 레지스터들이 있고 각기 다른 역할을 가지고 있다.
반드시 알아야 할 레지스터
프로그램 카운터
메모리에서 가져올 명령어의 주소를 저장한다.
Beta Was this translation helpful? Give feedback.
All reactions