일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- CSS
- DATAPATH
- Algorithm
- Pipelining
- system
- html
- DS
- MIPS
- instruction
- web
- function
- XML
- for
- python
- architecture
- control
- MacOS
- github
- DB
- php
- mysql
- Linux
- data structure
- DoM
- react
- Class
- computer
- while
- Java
- javascript
- Today
- Total
목록Computer architectures (84)
YYYEJI
Register란 ? ? ? 잠시동안 데이터를 보관하기 위한 장소입니다. (Temporary storage of data/instruction) 특징 1. CPU 안에 있습니다. 2. Main memory보다 빠릅니다. (Main memory는 CPU 밖에 존재) 3. 비쌉니다. 종류 1. General Purpose Resister - 계산을 목적으로 사용됩니다. - 어떤 목적으로든 사용이 가능합니다. 2. Special Purpose Register - PC (Program Counter) -AC (Accumulator) - IR (Instruction Resgister) https://yyyeji.tistory.com/84 [CS] 특별한 목적을 가지는 레지스터 ↓↓↓ 레지스터가 뭔지 알고 싶으면 ..
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) ..
About computer structure . . . Application software - high-level language System software - Compiler / Operating system Hardware - Processor, memory, I/O controllers Compiler 1. Translates HLL code to machine code Operating system 1. Handling input and output 2. Managing memory and storage Scheduling tasks & sharing resources ◡̈