TEMPLATE

  • the data section holds initialized data and named data items.

  • the bss section holds unitialized data.

  • the text section contains program instructions

;*######################################################################################
; Dev: cnd.dev
; Program Name: FileName-v1.0.0-linux-x86-64
; Version: 1.0.0                                               //Major.Minor.Update
; Date: 181445MAR25
; Filename: filename.c
; Dependency: N/A
; Compile Cmd: gcc -m64 -O1 filename.c -o filename-v1.0.0-linux-x86-64
; Synopsis: ...
;  - Overview: describes what the program does, how it works, and its key components
;  - Technical: ...
;#####################################################################################*/

;INCLUDE FILES

section .data

section .bss

section .text
    global _start

  _start:
    
    push	ebp
    mov		ebp, esp
    ; ********** CODE STARTS HERE **********

  end:
  
    ; *********** CODE ENDS HERE ***********
    mov		eax, 0
    mov		esp, ebp
    pop		ebp
    ret

Last updated