Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- DS
- instruction
- react
- Class
- while
- python
- data structure
- Java
- Pipelining
- php
- control
- Algorithm
- architecture
- function
- mysql
- DB
- github
- system
- computer
- XML
- javascript
- web
- MacOS
- DoM
- CSS
- Linux
- html
- DATAPATH
- MIPS
- for
Archives
- Today
- Total
YYYEJI
[CS] High-Level Language to Machine Language 본문
728x90
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)
sw $16, 0($2)
sw $15, 0($2)
Machine language
0000 1001 1100 0110
0000 1001 0101 1000
1100 0110 1010 1111
1100 0110 0000 1001
High and low signals on control lines.
What is the instruction ? ? ?
C = A + B;
Different instruction means the same meaning but different computer language used.
Note
SoC - System on Chip
(If you put various functions of the computer in the chip,
it becomes a chip that functions as a computer.)
◡̈
'Computer architectures' 카테고리의 다른 글
[CS] Instruction 구성 (0) | 2022.09.19 |
---|---|
[CS] Special Purpose Registers (0) | 2022.09.19 |
[CS] 레지스터(Register)란 (0) | 2022.09.19 |
[CS] Computer System 간단하게 맛보기 (0) | 2022.09.19 |
[CS] Machine Structures (0) | 2022.09.19 |