Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- CS/자료구조/Priority_Queue
- reversing
- Tree/AVL
- 코드엔진
- codeengn
- ctf
- forensic
- CS/자료구조/Circular_Linked_List
- 리버싱
- Tree/AVL/Deletion
- CS/자료구조/Singly_Linked_List
- CS/자료구조/Circular_Queue
- Tree/RBTree/Insertion
- UTCTF
- CS/자료구조/Queue
- Tree/RBTree
- Tree/AVL/Insertion
- CS/자료구조/Stack
- Tree/Binary_Search_Tree
- Tree/Binary_Tree
- Tree/RBTree/Deletion
- Tree/Traversal
- CS/자료구조/Linked_List
- CS/자료구조/Doubly_Linked_List
- tree
- Tree/BST
Archives
- Today
- Total
SuperVingo
1. 에뮬레이터 코드 흐름 본문
728x90
CPU는
-
1단계: fetch
-
2단계: decode
-
3단계: execute
-
4단계: writeback
순서로 진행이 된다.
Fetch에서 명령어를 인출하고,
Decode에서 어떤 명령어인지 해독하고,
Execute로 실행하고,
Writeback을 통해서 결과 등을 메모리에 저장하는 과정으로 진행이 되는데,
Writeback은 제외하고
Fetch - Decode - Execute 순서로 진행된다.
CPU_Initialize();
// Cycles
while(true)
{
// Fetch
// Decode & Execute
}
큰 흐름으로 잡아보면 다음과 같다.
728x90
'Emulator[에뮬레이터] > CHIP-8' 카테고리의 다른 글
4. Graphic 관련 - GLUT (0) | 2024.06.06 |
---|---|
3. CPU Implementation Code (0) | 2024.06.05 |
2. CPU Specification (0) | 2024.06.04 |
0. CHIP-8 에뮬레이터 제작 (0) | 2024.06.02 |