flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > display integer number

Author
Thread Post new topic Reply to topic
Jin X



Joined: 06 Mar 2004
Posts: 104
Location: Russia
Jin X 01 Jul 2018, 08:42
Hello!
How can I display integer value on screen.
When I write:
display 'x = ', n/10000+'0', (n/1000) mod 10+'0', (n/100) mod 10+'0', (n/10) mod 10+'0', n mod 10+'0'
Code:
I see trailing zeroes at the beginning...    
Post 01 Jul 2018, 08:42
View user's profile Send private message Reply with quote
Jin X



Joined: 06 Mar 2004
Posts: 104
Location: Russia
Jin X 01 Jul 2018, 08:50
Post 01 Jul 2018, 08:50
View user's profile Send private message 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-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.