systemsoftware(3)
-
[System software] (4) Macro processor
The most common used of macro processor is in assembler language programming. Besides: high-level programming lang, general-purpose processor( not tied to any lang) Macro function Commonly used group of instructions Definition: macro-name arguments body MEND Call: macro-name actual-parameters Expanding: by macro processor Macro processor Replace each macro instruction with the corresponding grou..
2023.12.11 -
[System software] (2) Assembler
Basic assembler functions Assembler assembly program →machine program+ link/load information link: 여러 목적코드를 하나로 load: 목적코드를 메모리에 올릴 때. Assembly languages source program → assembler → object program → linker/loader 2 pass algorithm: pass1: symbol table 만들기 pass2: generate machine code 필요한 자료구조: SYMTAB[] : {(symbol, value,flag)} . OPTAB[]: {Mnemonic, code,length)}. LOCCTR[] : Location counter: 현재 ..
2023.11.01 -
[System software] (1) Overview & SIC
교재: System Software: An Introduction to Systems Programming( Leland L.Beck ) ------수업 내용 정리----- System classes : Compilers, Operating Systems, Networks, Computer Architecture, Embedded Systems,… Big endian 낮은 값부터 시작 각각 devices 따라 big endian/little endian 쓴다 MSB ( Most Significant Bit) → LSB( high memory) Little endian 크 값부터 시작 ** big endian, little endian 서로 바뀌줌 ** 보통: 주로 big endian 씀 Computer ..
2023.10.19