CPU 상태: 두 판 사이의 차이

IT위키
편집 요약 없음
편집 요약 없음
4번째 줄: 4번째 줄:
== 주요 상태 ==
== 주요 상태 ==
{| class="wikitable"
{| class="wikitable"
! style="text-align: right;" | ↗
| style="text-align: right;" | ↗
! style="text-align: center;" | Fetch
! style="text-align: center;" | Fetch
명령어를 메모리에서 CPU 레지스터로 가져와서 해독한다.
명령어를 메모리에서 CPU 레지스터로 가져와서 해독한다.
! ↘↖
| ↘↖
|-
|-
| style="text-align: right;" | Interrupt
! style="text-align: right;" | Interrupt
인터럽트 후에는 무조건 Fetch로 간다.
인터럽트 후에는 무조건 Fetch로 간다.
| style="text-align: center;" | ↑↓
| style="text-align: center;" | ↑↓
| Indirect  
! Indirect  
Fetch에서 해석된 주소가 간접 주소인 경우 유효 주소를 계산한다.
Fetch에서 해석된 주소가 간접 주소인 경우 유효 주소를 계산한다.
|-
|-
| style="text-align: right;" | ↖
| style="text-align: right;" | ↖
| style="text-align: center;" | Execute
! style="text-align: center;" | Execute
Fetch에서 해석한 명령을 실행한다.
Fetch에서 해석한 명령을 실행한다.
Interrupt 요청 신호가 없으면 Fetch
Interrupt 요청 신호가 없으면 Fetch
| ↙
| ↙
|}
|}

2019년 12월 22일 (일) 17:20 판

CPU State

주요 상태

Fetch

명령어를 메모리에서 CPU 레지스터로 가져와서 해독한다.

↘↖
Interrupt

인터럽트 후에는 무조건 Fetch로 간다.

↑↓ Indirect

Fetch에서 해석된 주소가 간접 주소인 경우 유효 주소를 계산한다.

Execute

Fetch에서 해석한 명령을 실행한다. Interrupt 요청 신호가 없으면 Fetch