Both compilers and assemblers are the language processors used to convert software codes written in high-levl language and assembly language into machine language codes.
컴파일러와 어셈블러는 기계가 읽을 수 있도록 처리해주는 언어 처리기이다. 컴파일러는 고급 언어를 기계어로, 어셈블러는 어셈블리 언어를 기계어로 변환해준다.
Compiler
Compiler is used to translate a high level programming language code to machine level code and to create an executable program.
컴파일러는 고급 언어 → 기계어로 변환하여, 실행 가능한 프로그램을 만들어주는 역할을 한다.
Compiler checks the error in the program and reports them. All errors are to be removed otherwise code will not be compiled and executed.
common examples of compilers are - for Java(JDeveloper, BlueJ .. ) for C++ (Code Block, GCC …)
Assembler
An Assembler is used to translate an assembly level code to machine readable code.
Assemblers too check the correctness of each instruction and report tthe diagnosis report.
어셈블러도 기계어로 변환해주는 역할을하고, 올바른 코드인지 확인해주는 역할을 한다.
어셈블리어는 기계어와 1대1로 매칭되는 언어로, 기계어보다는 사람이 읽고 작성하기 쉬운 저급 언어이다.
'CS > OS' 카테고리의 다른 글
[쉽게 배우는 운영체제] 6장 연습문제 및 심화문제 - 정리 (1) | 2022.10.14 |
---|---|
[쉽게 배우는 운영체제] 5장 연습문제 및 심화문제 - 정리 (0) | 2022.10.14 |
[쉽게 배우는 운영체제] 4장 연습문제 및 심화문제 - 정리 (1) | 2022.10.11 |
[쉽게 배우는 운영체제] 3장 연습문제 및 심화문제 - 정리 (0) | 2022.10.11 |
[쉽게 배우는 운영체제] 2장 연습문제 및 심화문제 - 정리 (0) | 2022.10.10 |