목록컴퓨터구조 및 설계/2장. language of the computer (4)
leehyeon-dv 님의 블로그

🔑Table of Contents32-bit Constants - 32비트 상수, lui사용Branch Addressing - 분기대상 주소계산Jump Addressing - 32비트의 jump주소Target Addressing Example - MIPS계산(분기 명령어에서 오프셋사용)Branching Far Away - 이동할 주소가 먼경우 j사용Addressing Memory Summary - 궁금한점📌32-bit Constants대부분의 상수는 작은 크기임16비트 immediate로도 충분하다가끔 32-bit 상수가 쓰임 MIPS에서..
🔑Table of ContentsCharacter Data - 문자 데이터Byte/Halfword OperationsString Copy Example궁금한 점📌 Character DataByte-encoded(1byte = 8bit) character setsASCII : 128개의 문자표현 (95개의 그래픽, 33개의 제어용)Latin -1 : 256개의 문자표현 (ASCII보다 96개의 그래픽이 더 많음(191))Unicode : 32-bit character setjava, C++ 등에서 쓰임대부분의 국가 언어 문자와 기호를 표현 가능UTF-8, UTF-16 : 여러 길이의 인코딩이 존재함📌Byte/Halfword Operations bitwise operation(비트연산)으로 1비트씩..

🔑Table of Contents6 Steps in Execution of a Producedure - 프로시저(함수) 실행의 6단계Register Usage Procedure Call Instructions Leaf Procedure 예제 None-Leaf Procedures - 프로시저 내에서 다른 프로시저 호출Local Data on the Stack - 프로그램에서 프로시저가 호출될때 메모리할당Memory Layout궁금한점📌6 Steps in Execution..

🔑Table of ContentsConditional Operations - 조건 Compiling If Statements - if문 컴파일 Compiling Loop Statements - 반복 구문 컴파일 Basic Blocks More Conditional Operations - 더 조건적인 것 Branch Instruction Design - 분기 명령 설계 Signed vs Unsigned - 부호 있는 vs 부호 없는📌Conditional Operations 만약 조건이 true면, label된 instruction으로 향하게 하는 branch(..