본문 바로가기

Computer System

Assembly Language Fundamentals - Main PROC / INVOKE ExitProcess,0 / Main ENDP 는 기본적으로 적어야하는 코드 틀이다. - INVOKE ExitProcess,0을 시행하게 되면 OS 내에 특정 부분으로 JUMP하게 된다. - 변수를 선언하기 위해서 .data와 .code로 구분하게 된다. - Assembly 언어에서는 numeric literal을 정의하기 위해서 숫자 뒤에 d(decimal), h(hexadecimal), b(binary), q(octal)을 붙여줘야한다. - 이때, default는 decimal이다. - numeric literal 사이의 연산자에는 +, -, *, /, MOD 등이 있다. - When we use variables, we should not use reserved.. 더보기
x86 Processor Architecture - IA-32 is a basic model we could use to understand about computer architectures before learning about more advanced 64 bit processors. - As mentioned in previous articles, the job of the CPU is to succesfully perform the 'fetch -> decode -> execute cycle'. - Every operation is synchronized by the clock. - Each step in instruction cycle takes one clock cycle. - Specifically, each process is proc.. 더보기
Introduction to Assembly Language - Assembly Language is used to control directly computer hardware via communicating with the OS. - Assembly Langauge could be used to design programs on embedded systems. - Just by studying Assembly Language, we could have a better understanding about the computer architecture and operating system. - Benefits of programming in Assembly Language are speed, versatility, flexibility, and compact. -.. 더보기
System Booting Procedures & I/O Operation Control - Von Neumann Machine repeatedly executes the 'fetch->decode->execution' cycle. - When we first press the switch button, we should decide which program to executue first, and this program is called 'Initialization program'. - The initialization program is stored in the ROM BIOS (Basic Input/Output System), which is the first location to fetch, also called the 'Reset Vector'. - After the first fe.. 더보기
More about Control Unit & Processor Architectures - There are two types of how the Control Unit is designed. - RISC is a hardwired method and ARM CPU uses this method. - CISC is a micro-programmed method and Intel CPU uses this method. - A micro-instruction is a set of micro-orders, and each each bit are connected to the components within the CPU with the internal bus. Each bit decides whether to read/write for the each components within the CP.. 더보기
CPU & Memory & Processor Operation Flow - Like mentioned in the previous article, it is important to know how the major components of the computer work. - The cycle of Fetch->Decode->Execute is done step by step by the CPU and memory, and this overall cycle is called the 'Execution Cycle.' - Specifically, the CPU (Central Processing Unit) is consisted like the image above. - The Control Unit(CU) controls the overall operation of the C.. 더보기
Computer System Organization - Instruction Set Architecture connects Software and Hardware. - Assembler is the lowest part of the Software. - Processor, Memory, I/O System, Datapath & Control are the highest part of the Hardware. - CPU & Memory are the minimum requirement of an operational model, and is called a 'Von Neumann Machine.' - As users, we add components such as I/O devices, Display Monitors, Keyboard, Disks. - A .. 더보기