flat assembler
Message board for the users of flat assembler.

Index > DOS > Tutorial: Getting the preprocessor output

Author
Thread Post new topic Reply to topic
Ciper



Joined: 01 Jan 2013
Posts: 27
Ciper
In a.asm:

Code:
org 100h
ret equ 20h
print equ 21h
char equ 'A'
mov ah,2
mov dl,char
int print
int ret
    


Prepare the debug symbols:

Code:
fasm a.asm -s a.sym
prepsrc.exe a.sym b.asm
    


This is b.asm:

Code:
org 100h
;ret equ 20h
;print equ 21h
;char equ 'A'
mov ah,2
mov dl,'A'
int 21h
int 20h
    
Post 03 Jan 2013, 16:33
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-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.