Assembly Base Sample
This is a basic Assembly file, based on which we can create our Assembly program.
; Base Assembly file
; Author tatai.laszlo@mail.com
TITLE Base ; Program name
.386 ; 80386 processor code
.model Tiny ; Tiny Memori model
; flat,stdcall
.stack 100H ; 256 byte Stack segment
.data
; Programs Data :
Data db "sztring", 0
Data1 dw 0
.code
ORG 100H ; It starts at Code 100H.
_start:
mov eax, 0
ret
END _start
This Assembly file can be compiled into an .exe file with the MASM32 compiler.
Link to the MASM32 compiler.