flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > Need printnum macro

Author
Thread Post new topic Reply to topic
log(21



Joined: 09 Jun 2006
Posts: 6
log(21 22 Jul 2006, 16:54
I need a macro that will print out a number to the screen.
for example:

mov al, 34
printnum al

--This will output "34" to the screen.

Thanks,
-log(21[/url][/b][/i]
Post 22 Jul 2006, 16:54
View user's profile Send private message Reply with quote
Borsuc



Joined: 29 Dec 2005
Posts: 2465
Location: Bucharest, Romania
Borsuc 22 Jul 2006, 16:55
try to search for display num, I think that's how it was called.
Post 22 Jul 2006, 16:55
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7103
Location: Slovakia
vid 24 Jul 2006, 06:57
btw, if you won't use this solely for debugging purposes, then use procedure, not macro
Post 24 Jul 2006, 06:57
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number 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.