C·M·P
B2abbreviation컴퓨터 분야에서 compare를 줄여 쓰는 약어 또는 파일 비교 명령어
noun명사
- 1
cmp 명령어 — 유닉스 계열 운영체제에서 두 파일이 같은지 다른지 비교하는 명령어B2〔computing〕
a Unix and Unix-like command used to compare two files, usually byte by byte
Run cmp to check whether the two files are identical.
두 파일이 같은지 확인하려면 cmp를 실행하세요.
The cmp command reported the first byte that was different.
cmp 명령어가 처음으로 다른 바이트를 보고했다.
- 2
비교 명령, 비교 니모닉 — 어셈블리 언어 등에서 두 값을 비교하도록 지시하는 명령 또는 그 니모닉C1〔computing〕
an instruction mnemonic, usually written CMP, that tells a processor or program to compare two values
The CMP instruction compares the register with zero.
CMP 명령은 그 레지스터를 0과 비교한다.
After CMP, the program jumps if the values are equal.
CMP 후에 값이 같으면 프로그램이 점프한다.
뉘앙스 · 쓰임
compare는 일반 동사 ‘비교하다’이고, comparison은 명사 ‘비교’입니다. cmp는 주로 코드나 명령줄에서 쓰는 축약형이므로 일반 글이나 대화에서는 compare 또는 comparison을 쓰는 것이 자연스럽습니다.
주로 프로그래밍, 리눅스/유닉스 명령줄, 어셈블리 언어 문맥에서 씁니다. 일반 독자를 대상으로 한 글에서는 처음에 compare 또는 the cmp command처럼 풀어서 설명하는 것이 좋습니다. ‘camp’나 ‘company’를 뜻하는 일반적인 영어 단어로 쓰이지 않습니다.
유의어 뉘앙스 비교
- diff
- diff는 보통 차이의 내용까지 보여 주지만, cmp는 파일이 같은지와 첫 차이 위치를 확인하는 데 중점을 둔다.
- compare
- compare는 일반적인 동사이고, cmp는 명령어 이름이다.
- compare instruction
- compare instruction은 풀어 쓴 설명이고, CMP는 코드에서 쓰는 짧은 니모닉이다.
자주 쓰는 표현 · Collocations
det+noun+noun
- the cmp commandcmp 명령어
verb+noun
- run cmpcmp를 실행하다
- use cmpcmp를 사용하다
noun+noun
- CMP instructionCMP 명령
- cmp outputcmp 출력
어원 · 암기 팁
[English]영어 compare의 자음 중심 축약형으로, 컴퓨터 명령어와 코드에서 짧게 쓰기 위해 생긴 형태입니다.
compare → cmp: 모음과 일부 글자를 생략한 약어
💡 cmp의 c-m-p를 compare의 주요 자음으로 기억하면 쉽습니다.