I am demonstrating how to use the SYSCALL assembly language instruction to write to the Windows console and I explain the basics behind the calling convention for Windows SYSCALLs. The program runs on modern 64-bits Windows. I tested it on Windows 11. The program uses two SYSCALLs: NtCreateFile and NtWriteFile. The program is completely self-contained, without additional include files or library calls.
#assemblylanguage #64bits #windows11