flat assembler
Message board for the users of flat assembler.

Index > DOS > 32 bit instructions

Author
Thread Post new topic Reply to topic
alexa



Joined: 21 Apr 2006
Posts: 8
alexa 23 Apr 2006, 21:56
I insert in program under DOS
- mov eax,3 (receive exe)
With MASM and TASM with some coomands we must write before .386 or
.586 or .586p
For this commands in FASM we write nothing?
Post 23 Apr 2006, 21:56
View user's profile Send private message Reply with quote
Matrix



Joined: 04 Sep 2004
Posts: 1166
Location: Overflow
Matrix 24 Apr 2006, 02:05
nothing,
just do
Code:
org 100h

mov ax,$0013
int 10h

push es
push $a000
pop es
xor di,di

mov eax, $afbfcfff
stosd

xor ax,ax ; wait key
int 16h

pop es

mov ax,$0003
int 10h


int 20h ; exit

    
Post 24 Apr 2006, 02:05
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.