Assembly - Text Section

> Procedural Languages > Language - Assembly (asm)

1 - About

Code segment (CS) (“text segment”, executable code)

It defines an area in memory that stores the instruction codes. This is a fixed area.

Advertising

3 - Syntax

Nasm syntax: The declaration global _start defines the entry point.

section .text
   global _start
 
_start:
   ...

4 - Segment

The code instruction are saved in a segment called the code segment (CS).

5 - Documentation / Reference

lang/assembly/code.txt · Last modified: 2019/01/06 15:17 by gerardnico