Assembly - Text Section

About

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

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

Syntax

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

section .text
   global _start

_start:
   ...

Segment

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

Documentation / Reference


Powered by ComboStrap