How to compile?

Downloaded FASM, write code, wrote, I have to start here:
Incompatible with x64
Removed the line "format mz"
Now compileda to a file .bin
How to compile under Windows 10 x64 Assembly code and how to compile?
Is there any compiler under Windows 10 x64?
March 19th 20 at 09:19
1 answer
March 19th 20 at 09:21
Solution
format PE64
The program crash, even banal
mov eax,0 - tommie.Satterfie commented on March 19th 20 at 09:24
@tommie.Satterfie, crash - debug, assembler is not javascript, where and get the stacktrace and console.log can be used. - Lesley commented on March 19th 20 at 09:27
@Lesley, no, not the problem.
Crash ANY program - tommie.Satterfie commented on March 19th 20 at 09:30
@tommie.Satterfie, then you write them incorrectly. Take the debugger and look at the cause of the crash. - Lesley commented on March 19th 20 at 09:33
@Lesley,

mov eax,0

What is the error? - tommie.Satterfie commented on March 19th 20 at 09:36
@tommie.Satterfieapparently your lack of understanding of the importance of context. - Lesley commented on March 19th 20 at 09:39
@Lesley, I do not understand, I downloaded the compiler, I wrote a simple command and tried to run, in the end there was a crash.
In this FASM seems to be no debugger - tommie.Satterfie commented on March 19th 20 at 09:42
@tommie.Satterfie, languages low level languages high are distinguished by the fact that it is impossible to write a simple command, you need to personally control a lot of the nuances - the format of the executable file of the agreement the operating system, compliance with ABI and so on and so forth.

What textbook did you study Assembly language? You have read? - Lesley commented on March 19th 20 at 09:45
@Lesley, no, not read anything, just going.
Everything is sorted out with the crash, you only need to write:
format PE64 GUI
Advise some tutorial on FASM x64 - tommie.Satterfie commented on March 19th 20 at 09:48
@tommie.Satterfie, in FASM there is no tutorials that I know of. And in General it is difficult for me to advise, I studied 20 years ago. - Lesley commented on March 19th 20 at 09:51
@Lesley, well, any other assembler for Windows 10 x64 can be used? For which there are tutorials. - tommie.Satterfie commented on March 19th 20 at 09:54
@tommie.Satterfie, I found you a tutorial for FASM - "Programming on the assembler on a platform x86-64" Ablyazov. They say that good. Another highly praised textbook "Assembly language is easy. Learn to program" Kalashnikov, but it is used drevnyuchy and unbearable MASM. - Lesley commented on March 19th 20 at 09:57
@Lesley, thank you already downloaded the tutorial on FASM - tommie.Satterfie commented on March 19th 20 at 10:00

Find more questions by tags Assembler