본문 바로가기
반응형
SMALL

분류 전체보기64

[CS APP] Computer Systems: a programmer’s perspective 3/E (1) [CS APP] Computer Systems: a programmer’s perspective 3/E char: 1B short: 2Bint: 4Blong: 4B / 8Bfloat: 4B / 4Bdouble: 8B / 8Bpointer: 4B / 8B   unsigned integer (short) : 0 ~ 65535 signed integer (short) : -32768 ~32767int 형은 signed 가 default. (선언안하면)unsigned int로 쓰고 싶으면, unsigned int c ; 선언필요. signed는 expanding할때, sign정보가 extention 됨.- 면, 1이 확장시 붙고, + 면, 0이 확장시 붙음. 이론적 덧셈.4bit unsigned 는 overfl.. 2025. 1. 31.
[CS APP] Computer Systems: a programmer’s perspective 3/E Computer Systems: a programmer’s perspective 3/Ebook : c_resources/Computer Systems - A Programmer s Perspective - 3rd Edition.pdf at master · b09/c_resources · GitHub c_resources/Computer Systems - A Programmer s Perspective - 3rd Edition.pdf at master · b09/c_resourcesContribute to b09/c_resources development by creating an account on GitHub.github.com 강의 자료: CS:APP3e, Bryant and O'Hallaron CS.. 2025. 1. 31.
Compilers: Principles, Techniques, and Tools (4) (Book) Compilers: Principles, Techniques, and Tools책 정보및 강의 정보 link :compiler: principles, techniques, & tool- Compilers: Principles, Techniques, and Tools (2)- Compilers: Principles, Techniques, and Tools (3) .– 연관성 및 우선 순위 적용– 문법을 다시 작성합니다(가장 깨끗한 방법) 일반 규칙: 이전에 일치하지 않는 가장 가까운 if와 서로 일치시킵니다.   • 문법에 의해 문자열을 생성 할 수 있는지 여부를 결정하는 과정 • 구문 분석은 두 가지 범주로 나뉩니다 :   – 하향식 구문 분석 : 구문 분석 트리의 구성은 루트 (시작 기호에.. 2025. 1. 30.
Compilers: Principles, Techniques, and Tools (3) (Book) Compilers: Principles, Techniques, and Tools책 정보및 강의 정보 link :compiler: principles, techniques, & tool- Compilers: Principles, Techniques, and Tools (2)- Compilers: Principles, Techniques, and Tools (3) - push back이 왜 필요한가?  ex) >= and > 를 구분하기위해 필요.  symbol Table : 후속 단계에 대한 정보를 저장함. • 어휘소(lexeme)를 저장할 공간이 고정되어 있습니다. -> 공간을 낭비하므로 권장하지 않습니다. • 어휘소를 별도의 배열에 저장합니다.   –각 어휘소는 eos로 구분됩니다.   –.. 2025. 1. 30.
반응형
SMALL