일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- function
- while
- Pipelining
- data structure
- XML
- javascript
- Algorithm
- Java
- computer
- DS
- github
- react
- architecture
- DB
- Linux
- python
- MacOS
- php
- instruction
- for
- DATAPATH
- MIPS
- control
- CSS
- html
- system
- web
- DoM
- mysql
- Class
- Today
- Total
목록computer (83)
YYYEJI

↓↓↓ 레지스터가 무엇인지 알고 싶다면 아래 링크를 클릭해주세요 ↓↓↓ https://yyyeji.tistory.com/83 [CS] 레지스터(Register)란 Register란 ? ? ? 잠시동안 데이터를 보관하기 위한 장소입니다. (Temporary storage of data/instruction) 특징 1. CPU 안에 있습니다. 2. Main memory보다 빠릅니다. (Main memory는 CPU 밖에 존재) 3. 비쌉니.. yyyeji.tistory.com PC - Program Counter 다음에 실행될 명령의 주소를 가지고 있는 레지스터 (Special register to hold address of next instruction.) Ex) for문이나 while문을 사용하는 경우..

Operation - +, -, *, % etc. Operand - number(1, 2, 3, etc.) Instruction - 2+3 etc. Destination - □ 2 + 3이라는 instruction이 주어졌다고 가정한다. 1. Momery(RAM: Random Access Memory)에 가서 operator과 operand를 CPU로 가져온다. (RAM - 랜덤이기 때문에 주소를 알아야한다.) 2. CPU에서 연산을 수행한다. 3. 수행한 결과값을 Memory 어딘가에 저장한다. ◡̈

Levels of Code High Level Language Program ↓ Assembly Language Program ↓ Machine Language Program How to translate ? ? ? When high-level language is translated into assembly language, to use a compiler. When assembly language is tranlated into machine language, to use an assembler. High-lever language (Machine independent) temp = a; a = b; b = temp; Assembly language lw $15, 0($2) lw $16, 4($2) ..