Answer the question
In order to leave comments, you need to log in
How to output at least something to the console in Assembler in the simplest way?
Goodnight!
I just can't figure out how to output at least something to the console. Win8.1 64x, Tasm 1.4
Stacks segment Stack
db 256 dup(0)
Stacks ends
Datas segment
Datas ends
Codes segment
Assume cs:Codes, ds:Datas
First:
int 21h ; вот тут пробовал массу всего, либо ошибки, либо ничего не пишет, либо какая-то ересь
end First
Answer the question
In order to leave comments, you need to log in
First you need to decide under which processor architecture and under which OS you are writing. 16-bit DOS code (which is what you meant in your example) will build and run under Windows, but it won't be a Windows application.
Here are examples of hello-words for different operating systems. Despite the fact that the translator is different, it is easy to rewrite under tasm.
I just can't figure out how to output at least something to the console.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question