NASM Forum > Programming with NASM
Printing number to screen without using extern
Roddy MacPhee:
Is it possible to print a numerical value to screen without extern . How ? This came up on my previous thread...
fredericopissarra:
--- Quote from: Roddy MacPhee on May 27, 2024, 10:59:37 PM ---Is it possible to print a numerical value to screen without extern . How ? This came up on my previous thread...
--- End quote ---
A "number", printed on the screen, is just a string... Convert the number to a string and print it using some syscall or API function (in case of Windows).
Roddy MacPhee:
--- Quote from: fredericopissarra on May 28, 2024, 01:16:21 PM ---A "number", printed on the screen, is just a string... Convert the number to a string and print it using some syscall or API function (in case of Windows).
--- End quote ---
What if the number is a loop variable ?
fredericopissarra:
--- Quote from: Roddy MacPhee on May 28, 2024, 04:42:06 PM ---What if the number is a loop variable ?
--- End quote ---
Again: Convert the number to a string and print the string...
Roddy MacPhee:
--- Quote from: fredericopissarra on May 28, 2024, 08:13:00 PM ---Again: Convert the number to a string and print the string...
--- End quote ---
how do I convert ?
Navigation
[0] Message Index
[#] Next page
Go to full version