Sha256: da1ecf23bf4017520ee7480a69c6495d30dce346eb9aaf63683484371030c508
Contents?: true
Size: 837 Bytes
Versions: 7
Compression:
Stored size: 837 Bytes
Contents
; --------------------------------------------- ; Hello World for Win64 Intel x64 Assembly ; ; by fruel (https://github.com/fruel) ; 13 June 2016 ; --------------------------------------------- GetStdHandle PROTO ExitProcess PROTO WriteConsoleA PROTO .data msg BYTE "Hello World!",0 bytesWritten DWORD ? .code main PROC sub rsp, 5 * 8 ; reserve shadow space mov rcx, -11 ; nStdHandle (STD_OUTPUT_HANDLE) call GetStdHandle mov rcx, rax ; hConsoleOutput lea rdx, msg ; *lpBuffer mov r8, LENGTHOF msg - 1 ; nNumberOfCharsToWrite lea r9, bytesWritten ; lpNumberOfCharsWritten mov QWORD PTR [rsp + 4 * SIZEOF QWORD], 0 ; lpReserved call WriteConsoleA mov rcx, 0 ; uExitCode call ExitProcess main ENDP END
Version data entries
7 entries across 7 versions & 1 rubygems