[컴퓨터공학] 어셈블리어
- 최초 등록일
- 2002.06.08
- 최종 저작일
- 2002.06
- 19페이지/ 한컴오피스
- 가격 1,000원
소개글
[Prentice Hall]의 [어셈블리어, assembly language for intel-based computer]의 3장 내용 요약입니다.
어려운 어셈블리어 공부하시는데 많은 도움이 될것입니다.
목차
3.1 Basic Elements of Assembly Language
3.1.1 Constants and Expressions
3.1.2 Statements
3.1.3 Names
3.2 Sample Hello Program (MASM, TASM 모두 어셈블 가능)
3.3 Assembling, Linking, and Debugging
3.3.1 Borland Turbo Assembler (TASM)
3.3.2 Microsoft Assembler (MASM)
3.4 Data Allocation Directives
3.4.1 Define Byte (DB)
3.4.2 Define Word (DW)
3.4.3 Define Doubleword (DD)
3.5 Symbolic Constants
3.5.1 Equal-Sign Directive
3.5.2 EQU Directive
3.5.3 TEXTEQU Directive
3.6 Data Transfer Instructions
3.6.1 MOV Instruction
3.6.2 Operands with Displacements
3.6.3 XCHG Instruction (exchange data)
3.7 Arithmetic Instructions
3.7.1 INC and DEC Instructions
3.7.2 ADD Instruction
3.7.3 SUB Instruction
3.7.4 Flags Affected by ADD and SUB
3.8 Basic Operand Types
3.8.1 Register Operands
3.8.2 Immediate Operands
3.8.3 Direct Operands
3.8.4 Direct-Offset Operands
본문내용
CHAPTER 3. ASSEMBLY LANGUAGE FUNDAMENTALS
- debug로 프로그램하기에는 제약이 있음 (symbolic name의 사용 불가 등)
- MASM or TASM 사용
-------------------------------------------------------------------------------------
3.1 Basic Elements of Assembly Language
● Assembly language statements
· constants
· literals
· names
· mnemonics
· operands
· comments
3.1.1 Constants and Expressions
● Numeric Literal: 숫자, 부호, 소수점, 지수 등의 조합
eg) 5 5.5 -5.5 26.E+05
- Integer Constants
· radix symbol로 구분
· h(hexadecimal), q(또는 o; octal), d(decimal), b(binary)
· radix가 명시되지 않으면 10진수가 기본)
· radix (기수)를 대문자로 사용할 수도 있지만, 일정한 규칙을 따르는 것이 좋다.
참고 자료
없음