flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Cas 19 Jun 2004, 07:00
![]() Code: org 100h mov ah,9 mov dx,message int 21h xor ah,ah int 21h int 20h message: db "Hello, world!", 0Ah, 0Dh, "$" That should be enough. For an EXE file, it's the same. You just have to add a format MZ at the beginning and define a main segment and an entry point. But this all is explained in the FAQ and plus, there are examples in the FASM ZIP that show this quite well! ![]() _________________ «Earth is my country; science is my religion» - Christian Huygens |
|||
![]() |
|
zck127 20 Jun 2004, 05:04
thanx for your help:)!
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.