Y
Y
Ytsu Ytsuevich2014-12-18 00:50:53
assembler
Ytsu Ytsuevich, 2014-12-18 00:50:53

In what format to save the assembler?

There are no normal Russian video tutorials on youtube, okay, I'll learn from the articles...
I'm reading the code, okay, but where should I paste it?
Some people write .com files, they don't open for me...
Can someone tell me (some crazy assembler thread) where to start, how to compile the code (if it compiles at all).
I also heard that, they say, it depends on the architecture of the processor, that is, if I see one code on the Internet, then it is quite possible that it will not work for me, such as the processor instructions are different, isn’t it nonsense? How then to transfer the program to other computers, because they have different processors ...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim, 2014-12-18
@z17

You can run it:
1) either through another language (I wrote functions in asm, included files and used them in C ++ - Visual Studio)
2) or directly linking with the necessary libraries ( kernel32.dll , mspdb100.dll , something else, for sure I do not remember) to generate an exe file.
3) or a bunch of other options, but I only tried the previous two
In the first two paragraphs, I used YASM

V
Vapaamies, 2015-01-08
@vapaamies

Take FASM, it comes with a bunch of examples for different operating systems. And on it you can not only compile programs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question