0
Help guys (assembly)
How can i write in assembly a program that reads positive numbers and prints major and minor numbers on console, input num ends when user enters 0.
1 Answer
0
Depends on your OS ( windows, linux ), CPU ( probably x86 ) and which assembler ( nasm, masm ) you're using.
On linux you could use syscalls.
On windows you'll have to import C function like scanf and printf because syscalls are undocumented.
On DOS you can use interrupts.
Maybe you could provide some more information on that?
Maybe you have some code already?