id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Terraspace/UASM:x64/Debug/lqueue.asm:12 | call strlen
mov DWORD PTR i$[rsp], eax
; 123 : memcpy( d, p, i );
movsxd rax, DWORD PTR i$[rsp]
mov r8, rax
mov rdx, QWORD PTR p$[rsp]
mov rcx, QWORD PTR d$[rsp]
call memcpy
; 124 : d += i;
movsxd rax, DWORD PTR i$[rsp]
mov rcx, QWORD PTR d$[rsp]
add rcx, rax
mov rax, rcx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/lqueue.asm:13 | mov rax, QWORD PTR args$[rsp]
mov eax, DWORD PTR [rax-8]
mov DWORD PTR l$[rsp], eax
; 134 : #endif
; 135 : if ( *s == 'x' ) {
mov rax, QWORD PTR s$[rsp]
movsx eax, BYTE PTR [rax]
cmp eax, 120 ; 00000078H
jne SHORT $LN12@AddLineQue
; 136 : myltoa( l, d, 16, FALSE, FALSE... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/lqueue.asm:14 | jmp SHORT $LN18@AddLineQue
$LN17@AddLineQue:
mov DWORD PTR tv143[rsp], 0
$LN18@AddLineQue:
mov BYTE PTR [rsp+32], 0
movzx r9d, BYTE PTR tv143[rsp]
mov r8d, 10
mov rdx, QWORD PTR d$[rsp]
mov ecx, DWORD PTR l$[rsp]
call myltoa
; 140 : d += strlen( d );
mov rcx, QWORD PTR d$[rsp]
call strle... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/lqueue.asm:15 | jmp SHORT $LN5@AddLineQue
$LN15@AddLineQue:
; 146 : default:
; 147 : *d++ = *s;
mov rax, QWORD PTR d$[rsp]
mov rcx, QWORD PTR s$[rsp]
movzx ecx, BYTE PTR [rcx]
mov BYTE PTR [rax], cl
mov rax, QWORD PTR d$[rsp]
inc rax
mov QWORD PTR d$[rsp], rax
$LN5@AddLineQue:
; 148 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/lqueue.asm:16 | mov BYTE PTR [rax], 0
; 153 : va_end( args );
mov QWORD PTR args$[rsp], 0
; 154 : //DebugMsg(("AddlineQueueX() done\n" ));
; 155 : AddLineQueue( buffer );
lea rcx, QWORD PTR buffer$[rsp]
call AddLineQueue
; 156 : return;
; 157 : }
mov rcx, rsp
lea rdx, OFFSET FLAT:AddLineQueueX$rtcFrameD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/lqueue.asm:17 | mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+64]
; 69 : unsigned i = strlen( line );
mov rcx, QWORD PTR line$[rsp]
call strlen
mov DWORD PTR i$[rsp], eax
; 70 : struct lq_line *new;
; 71 :
; 72 : DebugMsg1(( "AddLineQueue(%p): #=%u >%s<\n"... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/lqueue.asm:18 | mov rax, QWORD PTR new$[rsp]
mov QWORD PTR [rax], 0
; 81 : DebugCmd( new->lineno = lqlines_written );
mov rax, QWORD PTR new$[rsp]
movzx ecx, BYTE PTR lqlines_written
mov BYTE PTR [rax+8], cl
; 82 : memcpy( new->line, line, i + 1 );
mov eax, DWORD PTR i$[rsp]
inc eax
mov eax, eax
mov rcx, QWORD ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/lqueue.asm:19 | mov rax, QWORD PTR ModuleInfo+192
mov rcx, QWORD PTR new$[rsp]
mov QWORD PTR [rax], rcx
$LN3@AddLineQue:
; 89 : }
; 90 : line_queue.tail = new;
mov rax, QWORD PTR new$[rsp]
mov QWORD PTR ModuleInfo+192, rax
; 91 : return;
; 92 : }
add rsp, 48 ; 00000030H
pop rdi
ret 0
AddLineQueue END... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/lqueue.asm:21 | GetLqLine PROC
; 38 : unsigned GetLqLine( void ) { return( lqlines_read ); }
$LN3:
push rdi
mov eax, DWORD PTR lqlines_read
pop rdi
ret 0
GetLqLine ENDP
_TEXT ENDS
END | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 801 | 812 |
Terraspace/UASM:x64/Debug/lqueue.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10389 DB 'AddLineQueue(%p): #=%u >%s<', 0aH, 00H
ORG $+3
$SG10461 DB 'RunLineQueue() enter', 0a... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/lqueue.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/lqueue.asm:4 | DD 07002H
$unwind$DeleteLineQueue DD 021501H
DD 070025206H
$unwind$AddLineQueue DD 021e01H
DD 07006520aH
$unwind$AddLineQueueX DD 034519H
DD 060011cH
DD 07015H
DD imagerel __GSHandlerCheck
DD 02f8H
$unwind$RunLineQueue DD 021501H
DD 07002d206H
xdata ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hj... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/lqueue.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/lqueue.asm:5 | ; 173 : DebugMsg1(( "RunLineQueue() enter\n" ));
lea rcx, OFFSET FLAT:$SG10461
call DoDebugMsg1
; 174 :
; 175 : /* v2.03: ensure the current source buffer is still aligned */
; 176 : tokenarray = PushInputStatus( &oldstat );
lea rcx, QWORD PTR oldstat$[rsp]
call PushInputStatus
mov QWORD PTR tok... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/lqueue.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/lqueue.asm:7 | ; 193 : currline = nextline;
mov rax, QWORD PTR nextline$4[rsp]
mov QWORD PTR currline$[rsp], rax
; 194 : }
jmp SHORT $LN2@RunLineQue
$LN3@RunLineQue:
; 195 :
; 196 : #ifdef DEBUG_OUT
; 197 : if ( ModuleInfo.EndDirFound == TRUE ) {
mov eax, DWORD PTR ModuleInfo+408
shr eax, 16
and eax, 1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/lqueue.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/lqueue.asm:8 | ; 203 :
; 204 : DebugMsg1(( "RunLineQueue() exit\n" ));
lea rcx, OFFSET FLAT:$SG10465
call DoDebugMsg1
; 205 : return;
; 206 : }
mov rcx, rsp
lea rdx, OFFSET FLAT:RunLineQueue$rtcFrameData
call _RTC_CheckStackVars
add rsp, 112 ; 00000070H
pop rdi
ret 0
RunLineQueue ENDP
_TEXT ENDS
; Function c... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/lqueue.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/lqueue.asm:17 | mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+64]
; 69 : unsigned i = strlen( line );
mov rcx, QWORD PTR line$[rsp]
call strlen
mov DWORD PTR i$[rsp], eax
; 70 : struct lq_line *new;
; 71 :
; 72 : DebugMsg1(( "AddLineQueue(%p): #=%u >%s<\n"... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/lqueue.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/main.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_BSS SEGMENT
$SG8063 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG8061 DB 'HJWAS... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/main.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/main.asm:2 | EXTRN ErrnoStr:PROC
EXTRN write_logo:PROC
EXTRN AssembleModule:PROC
EXTRN close_files:PROC
EXTRN MsgGetEx:PROC
EXTRN ParseCmdline:PROC
EXTRN CmdlineFini:PROC
EXTRN GetFNamePart:PROC
EXTRN _findclose:PROC
EXTRN _findfirst64i32:PROC
EXTRN _findnext64i32:PROC
EXTRN __GSHandlerCheck:PROC
EXTRN __security_check_cookie:PROC
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/main.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/main.asm:3 | DD 04208H
$unwind$main DD 022219H
DD 0550110H
DD imagerel __GSHandlerCheck
DD 0290H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$printf DD 011801H
DD 06218H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vfprintf_l DD 011801H
DD 06218H
xdata ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/main.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/main.asm:4 | xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 63 : char *pEnv;
; 64 : int numArgs = 0;
mov DWORD PTR numArgs$[rsp], 0
; 65 : int numFiles = 0;
mov DWORD PTR numFiles$[rsp], 0
; 66 : int rc = 0;
mov DWORD PTR rc$[rsp], 0
; 67 :
; 68 : #if WILDCARDS
; 69 : /* v2.11: _fin... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/main.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/main.asm:5 | ; 91 : pEnv = getenv("HJWASM");
lea rcx, OFFSET FLAT:$SG8061
call getenv
mov QWORD PTR pEnv$[rsp], rax
; 92 : if (pEnv == NULL)
cmp QWORD PTR pEnv$[rsp], 0
jne SHORT $LN7@main
; 93 : pEnv = "";
lea rax, OFFSET FLAT:$SG8063
mov QWORD PTR pEnv$[rsp], rax
$LN7@main:
; 94 : argv[0] = pEnv;
mov e... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/main.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/main.asm:6 | ; 104 : #endif
; 105 : /* ParseCmdLine() returns NULL if no source file name has been found (anymore) */
; 106 : while (ParseCmdline((const char **)argv, &numArgs)) {
lea rdx, QWORD PTR numArgs$[rsp]
mov rcx, QWORD PTR argv$[rsp]
call ParseCmdline
test rax, rax
je $LN3@main
; 107 : numFiles++;
mov eax,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/main.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/main.asm:7 | call DoDebugMsg
; 112 : EmitErr(CANNOT_OPEN_FILE, Options.names[ASM], ErrnoStr());
call ErrnoStr
mov ecx, 8
imul rcx, rcx, 0
lea rdx, OFFSET FLAT:Options+32
mov r8, rax
mov rdx, QWORD PTR [rdx+rcx]
mov ecx, 106 ; 0000006aH
call EmitErr
; 113 : break;
jmp $LN3@main
$LN8@main:
; 114 : }
; 115 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/main.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/main.asm:8 | mov DWORD PTR dirsize$[rsp], eax
; 120 : memcpy(fname, Options.names[ASM], dirsize);
movsxd rax, DWORD PTR dirsize$[rsp]
mov ecx, 8
imul rcx, rcx, 0
lea rdx, OFFSET FLAT:Options+32
mov r8, rax
mov rdx, QWORD PTR [rdx+rcx]
lea rcx, QWORD PTR fname$[rsp]
call memcpy
$LN6@main:
; 121 : do {
; 122 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/main.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/main.asm:9 | lea rdx, QWORD PTR finfo$[rsp]
mov rcx, QWORD PTR fh$[rsp]
call _findnext64i32
cmp eax, -1
jne SHORT $LN6@main
; 129 : _findclose(fh);
mov rcx, QWORD PTR fh$[rsp]
call _findclose
; 130 : #else
; 131 : rc = AssembleModule( Options.names[ASM] );
; 132 : #endif
; 133 : };
jmp $LN2@main
$LN3@main:
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/main.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/main.asm:10 | ; 138 : }
jmp SHORT $LN10@main
$LN9@main:
; 139 : else if (numFiles == 0)
cmp DWORD PTR numFiles$[rsp], 0
jne SHORT $LN11@main
; 140 : EmitError(NO_FILENAME_SPECIFIED);
mov ecx, 104 ; 00000068H
call EmitError
$LN11@main:
$LN10@main:
; 141 :
; 142 : #ifdef TRMEM
; 143 : tm_Fini();
; 144 : #endi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/main.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/main.asm:11 | add rsp, 680 ; 000002a8H
ret 0
main ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\main.c
_TEXT SEGMENT
signo$ = 48
genfailure PROC
; 50 : {
mov DWORD PTR [rsp+8], ecx
sub rsp, 40 ; 00000028H
; 51 : #if CATCHBREAK
; 52 : if (signo != SIGBREAK)
cmp D... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/main.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/main.asm:12 | ; 59 : }
add rsp, 40 ; 00000028H
ret 0
genfailure ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT printf
_TEXT SEGMENT
_Result$ = 32
_ArgList$ = 40
_Format$ = 64
printf PROC ; COMDAT
; 950 : {
$LN3:
mov QWORD PTR ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/main.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/main.asm:13 | mov DWORD PTR _Result$[rsp], eax
; 955 : __crt_va_end(_ArgList);
mov QWORD PTR _ArgList$[rsp], 0
; 956 : return _Result;
mov eax, DWORD PTR _Result$[rsp]
; 957 : }
add rsp, 56 ; 00000038H
ret 0
printf ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File c:\program files (x86)\windows kits\10\... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/main.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/main.asm:14 | mov r9, QWORD PTR _Locale$[rsp]
mov r8, QWORD PTR _Format$[rsp]
mov rdx, QWORD PTR _Stream$[rsp]
mov rcx, QWORD PTR [rax]
call __stdio_common_vfprintf
; 640 : }
add rsp, 56 ; 00000038H
ret 0
_vfprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File c:\program files (x86)\windows kits\10\include\10... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/main.asm | 521 | 549 |
Terraspace/UASM:x64/Debug/main.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_BSS SEGMENT
$SG8049 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG8047 DB 'HJWAS... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/main.asm:2 | EXTRN ErrnoStr:PROC
EXTRN write_logo:PROC
EXTRN AssembleModule:PROC
EXTRN close_files:PROC
EXTRN MsgGetEx:PROC
EXTRN ParseCmdline:PROC
EXTRN CmdlineFini:PROC
EXTRN GetFNamePart:PROC
EXTRN __imp__findclose:PROC
EXTRN __imp__findfirst64i32:PROC
EXTRN __imp__findnext64i32:PROC
EXTRN _RTC_CheckStackVars:PROC
EXTRN _RTC_Ini... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/main.asm:3 | $pdata$genfailure DD imagerel genfailure
DD imagerel genfailure+67
DD imagerel $unwind$genfailure
$pdata$main DD imagerel $LN13
DD imagerel $LN13+673
DD imagerel $unwind$main
pdata ENDS
; COMDAT rtc$TMZ
rtc$TMZ SEGMENT
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_In... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/main.asm:4 | DQ FLAT:main$rtcName$2
DD 080H
DD 0128H
DQ FLAT:main$rtcName$1
DD 034H
DD 04H
DQ FLAT:main$rtcName$0
ORG $+144
main$rtcFrameData DD 03H
DD 00H
DQ FLAT:main$rtcVarDesc
CONST ENDS
xdata SEGMENT
$unwind$genfailure DD 021c01H
DD 070053209H
$unwind$main DD 033919H
DD 0600111H
DD 0700aH
DD imagerel __GSHandlerCh... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/main.asm:5 | DQ FLAT:printf$rtcName$0
ORG $+48
printf$rtcFrameData DD 01H
DD 00H
DQ FLAT:printf$rtcVarDesc
CONST ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vfprintf_l DD 022d01H
DD 070155219H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$__local_stdio_printf_options DD 010201H
DD 07002H
xdata ENDS
; Function compile flags: /... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/main.asm:6 | mov rdi, rsp
mov ecx, 192 ; 000000c0H
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, DWORD PTR [rsp+784]
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 63 : char *pEnv;
; 64 : int numArgs = 0;
mov DWORD PTR numArgs$[rsp], 0
; 65 : int nu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/main.asm:7 | ; 85 : #endif
; 86 :
; 87 : #ifdef TRMEM
; 88 : tm_Init();
; 89 : #endif
; 90 :
; 91 : pEnv = getenv("HJWASM");
lea rcx, OFFSET FLAT:$SG8047
call QWORD PTR __imp_getenv
mov QWORD PTR pEnv$[rsp], rax
; 92 : if (pEnv == NULL)
cmp QWORD PTR pEnv$[rsp], 0
jne SHORT $LN7@main
; 93 : pEnv = ""... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/main.asm:8 | mov ecx, 21
call QWORD PTR __imp_signal
$LN2@main:
; 102 : #else
; 103 : signal(SIGTERM, genfailure);
; 104 : #endif
; 105 : /* ParseCmdLine() returns NULL if no source file name has been found (anymore) */
; 106 : while (ParseCmdline((const char **)argv, &numArgs)) {
lea rdx, QWORD PTR numArgs$[rsp]
mov r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/main.asm:9 | mov eax, 8
imul rax, rax, 0
lea rcx, OFFSET FLAT:Options+32
mov rdx, QWORD PTR [rcx+rax]
lea rcx, OFFSET FLAT:$SG8051
call DoDebugMsg
; 112 : EmitErr(CANNOT_OPEN_FILE, Options.names[ASM], ErrnoStr());
call ErrnoStr
mov ecx, 8
imul rcx, rcx, 0
lea rdx, OFFSET FLAT:Options+32
mov r8, rax
mov rdx, QWORD P... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/main.asm:10 | imul rax, rax, 0
lea rcx, OFFSET FLAT:Options+32
mov rax, QWORD PTR [rcx+rax]
mov rcx, QWORD PTR pfn$[rsp]
sub rcx, rax
mov rax, rcx
mov DWORD PTR dirsize$[rsp], eax
; 120 : memcpy(fname, Options.names[ASM], dirsize);
movsxd rax, DWORD PTR dirsize$[rsp]
mov ecx, 8
imul rcx, rcx, 0
lea rdx, OFFSET FLAT:Op... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/main.asm:11 | lea rcx, QWORD PTR fname$[rsp]
call AssembleModule
mov DWORD PTR rc$[rsp], eax
; 128 : } while ((_findnext(fh, &finfo) != -1));
lea rdx, QWORD PTR finfo$[rsp]
mov rcx, QWORD PTR fh$[rsp]
call QWORD PTR __imp__findnext64i32
cmp eax, -1
jne SHORT $LN6@main
; 129 : _findclose(fh);
mov rcx, QWORD PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/main.asm:12 | xor ecx, ecx
call MsgGetEx
mov rdx, rax
lea rcx, OFFSET FLAT:$SG8055
call printf
; 138 : }
jmp SHORT $LN10@main
$LN9@main:
; 139 : else if (numFiles == 0)
cmp DWORD PTR numFiles$[rsp], 0
jne SHORT $LN11@main
; 140 : EmitError(NO_FILENAME_SPECIFIED);
mov ecx, 104 ; 00000068H
call EmitError
$LN11... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/main.asm:13 | ; 148 : }
mov edi, eax
mov rcx, rsp
lea rdx, OFFSET FLAT:main$rtcFrameData
call _RTC_CheckStackVars
mov eax, edi
mov rcx, QWORD PTR __$ArrayPad$[rsp]
xor rcx, rsp
call __security_check_cookie
add rsp, 768 ; 00000300H
pop rdi
ret 0
main ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjw... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/main.asm:14 | ; 54 : if (signo != SIGTERM)
; 55 : #endif
; 56 : EmitError( GENERAL_FAILURE );
mov ecx, 168 ; 000000a8H
call EmitError
$LN2@genfailure:
; 57 : close_files();
call close_files
; 58 : exit( EXIT_FAILURE );
mov ecx, 1
call QWORD PTR __imp_exit
$LN3@genfailure:
; 59 : }
add ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/main.asm:15 | mov QWORD PTR [rsp+32], r9
push rdi
sub rsp, 80 ; 00000050H
mov rdi, rsp
mov ecx, 20
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+96]
; 951 : int _Result;
; 952 : va_list _ArgList;
; 953 : __crt_va_start(_ArgList, _Format);
lea rax, QWORD PTR _Format$[rsp+8]
mov QWO... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/main.asm:16 | call _RTC_CheckStackVars
mov eax, edi
add rsp, 80 ; 00000050H
pop rdi
ret 0
printf ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT _vfprintf_l
_TEXT SEGMENT
_Stream$ = 64
_Format$ = 72
_Locale$ = 80
_ArgList$ = 88
_v... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/main.asm:17 | mov rcx, QWORD PTR [rax]
call QWORD PTR __imp___stdio_common_vfprintf
; 640 : }
add rsp, 48 ; 00000030H
pop rdi
ret 0
_vfprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\corecrt_stdio_config.h
; COMDAT __local_stdio_printf... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/main.asm | 641 | 673 |
Terraspace/UASM:x64/Debug/main.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
_DATA ENDS
_BSS SEGMENT
$SG8048 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG8046 DB 'HJWASM', 00H
ORG $+1
$SG8... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/main.asm:2 | EXTRN write_logo:PROC
EXTRN AssembleModule:PROC
EXTRN close_files:PROC
EXTRN MsgGetEx:PROC
EXTRN ParseCmdline:PROC
EXTRN CmdlineFini:PROC
EXTRN GetFNamePart:PROC
EXTRN __imp__findclose:PROC
EXTRN __imp__findfirst64i32:PROC
EXTRN __imp__findnext64i32:PROC
EXTRN _RTC_CheckStackVars:PROC
EXTRN _RTC_InitBase:PROC
EXTRN _RT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/main.asm:3 | DD imagerel genfailure+67
DD imagerel $unwind$genfailure
$pdata$main DD imagerel $LN13
DD imagerel $LN13+673
DD imagerel $unwind$main
pdata ENDS
; COMDAT rtc$TMZ
rtc$TMZ SEGMENT
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$I... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/main.asm:4 | DD 080H
DD 0128H
DQ FLAT:main$rtcName$1
DD 034H
DD 04H
DQ FLAT:main$rtcName$0
ORG $+144
main$rtcFrameData DD 03H
DD 00H
DQ FLAT:main$rtcVarDesc
CONST ENDS
xdata SEGMENT
$unwind$genfailure DD 021c01H
DD 070053209H
$unwind$main DD 033919H
DD 0600111H
DD 0700aH
DD imagerel __GSHandlerCheck
DD 02f0H
xdata ENDS... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/main.asm:5 | ORG $+48
printf$rtcFrameData DD 01H
DD 00H
DQ FLAT:printf$rtcVarDesc
CONST ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vfprintf_l DD 022d01H
DD 070155219H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$__local_stdio_printf_options DD 010201H
DD 07002H
xdata ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwa... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/main.asm:6 | mov ecx, 192 ; 000000c0H
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, DWORD PTR [rsp+784]
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 63 : char *pEnv;
; 64 : int numArgs = 0;
mov DWORD PTR numArgs$[rsp], 0
; 65 : int numFiles = 0;
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/main.asm:7 | ; 86 :
; 87 : #ifdef TRMEM
; 88 : tm_Init();
; 89 : #endif
; 90 :
; 91 : pEnv = getenv("HJWASM");
lea rcx, OFFSET FLAT:$SG8046
call QWORD PTR __imp_getenv
mov QWORD PTR pEnv$[rsp], rax
; 92 : if (pEnv == NULL)
cmp QWORD PTR pEnv$[rsp], 0
jne SHORT $LN7@main
; 93 : pEnv = "";
lea rax, OFF... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/main.asm:8 | call QWORD PTR __imp_signal
$LN2@main:
; 102 : #else
; 103 : signal(SIGTERM, genfailure);
; 104 : #endif
; 105 : /* ParseCmdLine() returns NULL if no source file name has been found (anymore) */
; 106 : while (ParseCmdline((const char **)argv, &numArgs)) {
lea rdx, QWORD PTR numArgs$[rsp]
mov rcx, QWORD PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/main.asm:9 | mov eax, 8
imul rax, rax, 0
lea rcx, OFFSET FLAT:Options+32
mov rdx, QWORD PTR [rcx+rax]
lea rcx, OFFSET FLAT:$SG8050
call DoDebugMsg
; 112 : EmitErr(CANNOT_OPEN_FILE, Options.names[ASM], ErrnoStr());
call ErrnoStr
mov ecx, 8
imul rcx, rcx, 0
lea rdx, OFFSET FLAT:Options+32
mov r8, rax
mov rdx, QWORD P... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/main.asm:10 | lea rcx, OFFSET FLAT:Options+32
mov rax, QWORD PTR [rcx+rax]
mov rcx, QWORD PTR pfn$[rsp]
sub rcx, rax
mov rax, rcx
mov DWORD PTR dirsize$[rsp], eax
; 120 : memcpy(fname, Options.names[ASM], dirsize);
movsxd rax, DWORD PTR dirsize$[rsp]
mov ecx, 8
imul rcx, rcx, 0
lea rdx, OFFSET FLAT:Options+32
mov r8, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/main.asm:11 | call AssembleModule
mov DWORD PTR rc$[rsp], eax
; 128 : } while ((_findnext(fh, &finfo) != -1));
lea rdx, QWORD PTR finfo$[rsp]
mov rcx, QWORD PTR fh$[rsp]
call QWORD PTR __imp__findnext64i32
cmp eax, -1
jne SHORT $LN6@main
; 129 : _findclose(fh);
mov rcx, QWORD PTR fh$[rsp]
call QWORD PTR __imp_... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/main.asm:12 | call MsgGetEx
mov rdx, rax
lea rcx, OFFSET FLAT:$SG8054
call printf
; 138 : }
jmp SHORT $LN10@main
$LN9@main:
; 139 : else if (numFiles == 0)
cmp DWORD PTR numFiles$[rsp], 0
jne SHORT $LN11@main
; 140 : EmitError(NO_FILENAME_SPECIFIED);
mov ecx, 104 ; 00000068H
call EmitError
$LN11@main:
$LN10@m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/main.asm:13 | ; 148 : }
mov edi, eax
mov rcx, rsp
lea rdx, OFFSET FLAT:main$rtcFrameData
call _RTC_CheckStackVars
mov eax, edi
mov rcx, QWORD PTR __$ArrayPad$[rsp]
xor rcx, rsp
call __security_check_cookie
add rsp, 768 ; 00000300H
pop rdi
ret 0
main ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjw... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/main.asm:14 | ; 55 : #endif
; 56 : EmitError( GENERAL_FAILURE );
mov ecx, 168 ; 000000a8H
call EmitError
$LN2@genfailure:
; 57 : close_files();
call close_files
; 58 : exit( EXIT_FAILURE );
mov ecx, 1
call QWORD PTR __imp_exit
$LN3@genfailure:
; 59 : }
add rsp, 32 ; 00000020H
pop rdi
r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/main.asm:15 | push rdi
sub rsp, 80 ; 00000050H
mov rdi, rsp
mov ecx, 20
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+96]
; 951 : int _Result;
; 952 : va_list _ArgList;
; 953 : __crt_va_start(_ArgList, _Format);
lea rax, QWORD PTR _Format$[rsp+8]
mov QWORD PTR _ArgList$[rsp], rax
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/main.asm:16 | mov eax, edi
add rsp, 80 ; 00000050H
pop rdi
ret 0
printf ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT _vfprintf_l
_TEXT SEGMENT
_Stream$ = 64
_Format$ = 72
_Locale$ = 80
_ArgList$ = 88
_vfprintf_l PROC ; COMDA... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/main.asm:17 | call QWORD PTR __imp___stdio_common_vfprintf
; 640 : }
add rsp, 48 ; 00000030H
pop rdi
ret 0
_vfprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\corecrt_stdio_config.h
; COMDAT __local_stdio_printf_options
_TEXT SEGMENT
__l... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/main.asm | 641 | 672 |
Terraspace/UASM:x64/Debug/main.asm:8 | call QWORD PTR __imp_signal
$LN2@main:
; 102 : #else
; 103 : signal(SIGTERM, genfailure);
; 104 : #endif
; 105 : /* ParseCmdLine() returns NULL if no source file name has been found (anymore) */
; 106 : while (ParseCmdline((const char **)argv, &numArgs)) {
lea rdx, QWORD PTR numArgs$[rsp]
mov rcx, QWORD PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/main.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/main.asm:9 | mov eax, 8
imul rax, rax, 0
lea rcx, OFFSET FLAT:Options+32
mov rdx, QWORD PTR [rcx+rax]
lea rcx, OFFSET FLAT:$SG8050
call DoDebugMsg
; 112 : EmitErr(CANNOT_OPEN_FILE, Options.names[ASM], ErrnoStr());
call ErrnoStr
mov ecx, 8
imul rcx, rcx, 0
lea rdx, OFFSET FLAT:Options+32
mov r8, rax
mov rdx, QWORD P... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/main.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/main.asm:11 | call AssembleModule
mov DWORD PTR rc$[rsp], eax
; 128 : } while ((_findnext(fh, &finfo) != -1));
lea rdx, QWORD PTR finfo$[rsp]
mov rcx, QWORD PTR fh$[rsp]
call QWORD PTR __imp__findnext64i32
cmp eax, -1
jne SHORT $LN6@main
; 129 : _findclose(fh);
mov rcx, QWORD PTR fh$[rsp]
call QWORD PTR __imp_... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/main.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/main.asm:12 | call MsgGetEx
mov rdx, rax
lea rcx, OFFSET FLAT:$SG8054
call printf
; 138 : }
jmp SHORT $LN10@main
$LN9@main:
; 139 : else if (numFiles == 0)
cmp DWORD PTR numFiles$[rsp], 0
jne SHORT $LN11@main
; 140 : EmitError(NO_FILENAME_SPECIFIED);
mov ecx, 105 ; 00000069H
call EmitError
$LN11@main:
$LN10@m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/main.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/main.asm:13 | ; 148 : }
mov edi, eax
mov rcx, rsp
lea rdx, OFFSET FLAT:main$rtcFrameData
call _RTC_CheckStackVars
mov eax, edi
mov rcx, QWORD PTR __$ArrayPad$[rsp]
xor rcx, rsp
call __security_check_cookie
add rsp, 768 ; 00000300H
pop rdi
ret 0
main ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjw... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/main.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/main.asm:14 | ; 55 : #endif
; 56 : EmitError( GENERAL_FAILURE );
mov ecx, 169 ; 000000a9H
call EmitError
$LN2@genfailure:
; 57 : close_files();
call close_files
; 58 : exit( EXIT_FAILURE );
mov ecx, 1
call QWORD PTR __imp_exit
$LN3@genfailure:
; 59 : }
add rsp, 32 ; 00000020H
pop rdi
r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/main.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/main.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_BSS SEGMENT
$SG8046 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG8044 DB 'HJWASM', 00H
ORG $+1
$SG8048 DB 'main: _... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/main.asm:2 | EXTRN AssembleModule:PROC
EXTRN close_files:PROC
EXTRN MsgGetEx:PROC
EXTRN ParseCmdline:PROC
EXTRN CmdlineFini:PROC
EXTRN GetFNamePart:PROC
EXTRN __imp__findclose:PROC
EXTRN __imp__findfirst64i32:PROC
EXTRN __imp__findnext64i32:PROC
EXTRN _RTC_CheckStackVars:PROC
EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
EXTRN ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/main.asm:3 | DD imagerel $unwind$genfailure
$pdata$main DD imagerel $LN13
DD imagerel $LN13+673
DD imagerel $unwind$main
pdata ENDS
; COMDAT rtc$TMZ
rtc$TMZ SEGMENT
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$IMZ ENDS
CONST SEGMENT
main$... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/main.asm:4 | DD 0128H
DQ FLAT:main$rtcName$1
DD 034H
DD 04H
DQ FLAT:main$rtcName$0
ORG $+144
main$rtcFrameData DD 03H
DD 00H
DQ FLAT:main$rtcVarDesc
CONST ENDS
xdata SEGMENT
$unwind$genfailure DD 021c01H
DD 070053209H
$unwind$main DD 033919H
DD 0600111H
DD 0700aH
DD imagerel __GSHandlerCheck
DD 02f0H
xdata ENDS
; COMDAT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/main.asm:5 | printf$rtcFrameData DD 01H
DD 00H
DQ FLAT:printf$rtcVarDesc
CONST ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vfprintf_l DD 022d01H
DD 070155219H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$__local_stdio_printf_options DD 010201H
DD 07002H
xdata ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/main.asm:6 | mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, DWORD PTR [rsp+784]
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 63 : char *pEnv;
; 64 : int numArgs = 0;
mov DWORD PTR numArgs$[rsp], 0
; 65 : int numFiles = 0;
mov DWORD PTR numFiles$[rsp],... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/main.asm:7 | ; 87 : #ifdef TRMEM
; 88 : tm_Init();
; 89 : #endif
; 90 :
; 91 : pEnv = getenv("HJWASM");
lea rcx, OFFSET FLAT:$SG8044
call QWORD PTR __imp_getenv
mov QWORD PTR pEnv$[rsp], rax
; 92 : if (pEnv == NULL)
cmp QWORD PTR pEnv$[rsp], 0
jne SHORT $LN7@main
; 93 : pEnv = "";
lea rax, OFFSET FLAT:... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/main.asm:8 | $LN2@main:
; 102 : #else
; 103 : signal(SIGTERM, genfailure);
; 104 : #endif
; 105 : /* ParseCmdLine() returns NULL if no source file name has been found (anymore) */
; 106 : while (ParseCmdline((const char **)argv, &numArgs)) {
lea rdx, QWORD PTR numArgs$[rsp]
mov rcx, QWORD PTR argv$[rsp]
call ParseCmdli... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/main.asm:9 | imul rax, rax, 0
lea rcx, OFFSET FLAT:Options+32
mov rdx, QWORD PTR [rcx+rax]
lea rcx, OFFSET FLAT:$SG8048
call DoDebugMsg
; 112 : EmitErr(CANNOT_OPEN_FILE, Options.names[ASM], ErrnoStr());
call ErrnoStr
mov ecx, 8
imul rcx, rcx, 0
lea rdx, OFFSET FLAT:Options+32
mov r8, rax
mov rdx, QWORD PTR [rdx+rcx]... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/main.asm:10 | mov rax, QWORD PTR [rcx+rax]
mov rcx, QWORD PTR pfn$[rsp]
sub rcx, rax
mov rax, rcx
mov DWORD PTR dirsize$[rsp], eax
; 120 : memcpy(fname, Options.names[ASM], dirsize);
movsxd rax, DWORD PTR dirsize$[rsp]
mov ecx, 8
imul rcx, rcx, 0
lea rdx, OFFSET FLAT:Options+32
mov r8, rax
mov rdx, QWORD PTR [rdx+rcx]... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/main.asm:11 | mov DWORD PTR rc$[rsp], eax
; 128 : } while ((_findnext(fh, &finfo) != -1));
lea rdx, QWORD PTR finfo$[rsp]
mov rcx, QWORD PTR fh$[rsp]
call QWORD PTR __imp__findnext64i32
cmp eax, -1
jne SHORT $LN6@main
; 129 : _findclose(fh);
mov rcx, QWORD PTR fh$[rsp]
call QWORD PTR __imp__findclose
; 130 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/main.asm:12 | mov rdx, rax
lea rcx, OFFSET FLAT:$SG8052
call printf
; 138 : }
jmp SHORT $LN10@main
$LN9@main:
; 139 : else if (numFiles == 0)
cmp DWORD PTR numFiles$[rsp], 0
jne SHORT $LN11@main
; 140 : EmitError(NO_FILENAME_SPECIFIED);
mov ecx, 104 ; 00000068H
call EmitError
$LN11@main:
$LN10@main:
; 141 :
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/main.asm:13 | mov edi, eax
mov rcx, rsp
lea rdx, OFFSET FLAT:main$rtcFrameData
call _RTC_CheckStackVars
mov eax, edi
mov rcx, QWORD PTR __$ArrayPad$[rsp]
xor rcx, rsp
call __security_check_cookie
add rsp, 768 ; 00000300H
pop rdi
ret 0
main ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/main.asm:14 | ; 56 : EmitError( GENERAL_FAILURE );
mov ecx, 168 ; 000000a8H
call EmitError
$LN2@genfailure:
; 57 : close_files();
call close_files
; 58 : exit( EXIT_FAILURE );
mov ecx, 1
call QWORD PTR __imp_exit
$LN3@genfailure:
; 59 : }
add rsp, 32 ; 00000020H
pop rdi
ret 0
genfailure ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/main.asm:15 | sub rsp, 80 ; 00000050H
mov rdi, rsp
mov ecx, 20
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+96]
; 951 : int _Result;
; 952 : va_list _ArgList;
; 953 : __crt_va_start(_ArgList, _Format);
lea rax, QWORD PTR _Format$[rsp+8]
mov QWORD PTR _ArgList$[rsp], rax
; 954 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/main.asm:16 | add rsp, 80 ; 00000050H
pop rdi
ret 0
printf ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT _vfprintf_l
_TEXT SEGMENT
_Stream$ = 64
_Format$ = 72
_Locale$ = 80
_ArgList$ = 88
_vfprintf_l PROC ; COMDAT
; 638 : {
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/main.asm:17 | ; 640 : }
add rsp, 48 ; 00000030H
pop rdi
ret 0
_vfprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\corecrt_stdio_config.h
; COMDAT __local_stdio_printf_options
_TEXT SEGMENT
__local_stdio_printf_options PROC ; COMDAT
; 7... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Debug/main.asm | 641 | 671 |
Terraspace/UASM:x64/Debug/main.asm:6 | mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, DWORD PTR [rsp+784]
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 63 : char *pEnv;
; 64 : int numArgs = 0;
mov DWORD PTR numArgs$[rsp], 0
; 65 : int numFiles = 0;
mov DWORD PTR numFiles$[rsp],... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12 | github | assembler | https://github.com/Terraspace/UASM/blob/6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12/x64/Debug/main.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/main.asm:7 | ; 87 : #endif
; 88 :
; 89 : #if 0 //def DEBUG_OUT /* DebugMsg() cannot be used that early */
; 90 : int i;
; 91 : for ( i = 1; i < argc; i++ ) {
; 92 : printf("argv[%u]=>%s<\n", i, argv[i] );
; 93 : }
; 94 : #endif
; 95 :
; 96 : #ifdef TRMEM
; 97 : tm_Init();
; 98 : #endif
; 99 :
; 10... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12 | github | assembler | https://github.com/Terraspace/UASM/blob/6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12/x64/Debug/main.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/main.asm:8 | ; 106 : signal(SIGSEGV, genfailure);
; 107 : #endif
; 108 :
; 109 : #if CATCHBREAK
; 110 : signal(SIGBREAK, genfailure);
lea rdx, OFFSET FLAT:genfailure
mov ecx, 21
call QWORD PTR __imp_signal
$LN2@main:
; 111 : #else
; 112 : signal(SIGTERM, genfailure);
; 113 : #endif
; 114 : /* ParseCmdLine() return... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12 | github | assembler | https://github.com/Terraspace/UASM/blob/6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12/x64/Debug/main.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/main.asm:9 | mov rcx, QWORD PTR [rcx+rax]
call QWORD PTR __imp__findfirst64i32
mov QWORD PTR fh$[rsp], rax
cmp QWORD PTR fh$[rsp], -1
jne SHORT $LN8@main
; 120 : DebugMsg(("main: _findfirst(%s) failed\n", Options.names[ASM]));
mov eax, 8
imul rax, rax, 0
lea rcx, OFFSET FLAT:Options+32
mov rdx, QWORD PTR [rcx+rax]
le... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12 | github | assembler | https://github.com/Terraspace/UASM/blob/6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12/x64/Debug/main.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/main.asm:10 | mov rcx, QWORD PTR [rcx+rax]
call GetFNamePart
mov QWORD PTR pfn$[rsp], rax
; 128 : dirsize = pfn - Options.names[ASM];
mov eax, 8
imul rax, rax, 0
lea rcx, OFFSET FLAT:Options+32
mov rax, QWORD PTR [rcx+rax]
mov rcx, QWORD PTR pfn$[rsp]
sub rcx, rax
mov rax, rcx
mov DWORD PTR dirsize$[rsp], eax
; 129 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12 | github | assembler | https://github.com/Terraspace/UASM/blob/6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12/x64/Debug/main.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/main.asm:11 | lea rdx, QWORD PTR fname$[rsp]
lea rcx, OFFSET FLAT:$SG8049
call DoDebugMsg
; 136 : rc = AssembleModule(fname); /* assemble 1 module */
lea rcx, QWORD PTR fname$[rsp]
call AssembleModule
mov DWORD PTR rc$[rsp], eax
; 137 : } while ((_findnext(fh, &finfo) != -1));
lea rdx, QWORD PTR finfo$[rsp]
mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12 | github | assembler | https://github.com/Terraspace/UASM/blob/6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12/x64/Debug/main.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/main.asm:12 | ; 145 : write_logo();
call write_logo
; 146 : printf("%s", MsgGetEx(MSG_USAGE));
xor ecx, ecx
call MsgGetEx
mov rdx, rax
lea rcx, OFFSET FLAT:$SG8052
call printf
; 147 : }
jmp SHORT $LN10@main
$LN9@main:
; 148 : else if (numFiles == 0)
cmp DWORD PTR numFiles$[rsp], 0
jne SHORT $LN11@main
; 14... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12 | github | assembler | https://github.com/Terraspace/UASM/blob/6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12/x64/Debug/main.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/main.asm:13 | lea rcx, OFFSET FLAT:$SG8054
call DoDebugMsg
; 156 : return(1 - rc); /* zero if no errors */
mov eax, 1
sub eax, DWORD PTR rc$[rsp]
; 157 : }
mov edi, eax
mov rcx, rsp
lea rdx, OFFSET FLAT:main$rtcFrameData
call _RTC_CheckStackVars
mov eax, edi
mov rcx, QWORD PTR __$ArrayPad$[rsp]
xor rcx, rsp
call __... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12 | github | assembler | https://github.com/Terraspace/UASM/blob/6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12/x64/Debug/main.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/main.asm:14 | ; 51 : #if CATCHBREAK
; 52 : if (signo != SIGBREAK)
cmp DWORD PTR signo$[rsp], 21
je SHORT $LN2@genfailure
; 53 : #else
; 54 : if (signo != SIGTERM)
; 55 : #endif
; 56 : EmitError( GENERAL_FAILURE );
mov ecx, 168 ; 000000a8H
call EmitError
$LN2@genfailure:
; 57 : close_files... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12 | github | assembler | https://github.com/Terraspace/UASM/blob/6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12/x64/Debug/main.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/main.asm:15 | ; 950 : {
$LN3:
mov QWORD PTR [rsp+8], rcx
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+32], r9
push rdi
sub rsp, 80 ; 00000050H
mov rdi, rsp
mov ecx, 20
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+96]
; 951 : int _Result;
; 952 : va_list... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12 | github | assembler | https://github.com/Terraspace/UASM/blob/6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12/x64/Debug/main.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/main.asm:16 | mov eax, DWORD PTR _Result$[rsp]
; 957 : }
mov edi, eax
mov rcx, rsp
lea rdx, OFFSET FLAT:printf$rtcFrameData
call _RTC_CheckStackVars
mov eax, edi
add rsp, 80 ; 00000050H
pop rdi
ret 0
printf ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\program files (x86)\windows kits\10\include\10.... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12 | github | assembler | https://github.com/Terraspace/UASM/blob/6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12/x64/Debug/main.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/main.asm:17 | call __local_stdio_printf_options
mov rcx, QWORD PTR _ArgList$[rsp]
mov QWORD PTR [rsp+32], rcx
mov r9, QWORD PTR _Locale$[rsp]
mov r8, QWORD PTR _Format$[rsp]
mov rdx, QWORD PTR _Stream$[rsp]
mov rcx, QWORD PTR [rax]
call QWORD PTR __imp___stdio_common_vfprintf
; 640 : }
add rsp, 48 ; 00000030H
pop rdi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12 | github | assembler | https://github.com/Terraspace/UASM/blob/6c549c8ec6ea8308dba33c25c5cd4d4e46d47b12/x64/Debug/main.asm | 641 | 680 |
Terraspace/UASM:x64/Debug/main.asm:2 | EXTRN AssembleModule:PROC
EXTRN close_files:PROC
EXTRN MsgGetEx:PROC
EXTRN ParseCmdline:PROC
EXTRN CmdlineFini:PROC
EXTRN GetFNamePart:PROC
EXTRN __imp__findclose:PROC
EXTRN __imp__findfirst64i32:PROC
EXTRN __imp__findnext64i32:PROC
EXTRN _RTC_CheckStackVars:PROC
EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
EXTRN ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/main.asm:3 | DD imagerel $unwind$genfailure
$pdata$main DD imagerel $LN13
DD imagerel $LN13+671
DD imagerel $unwind$main
pdata ENDS
; COMDAT rtc$TMZ
rtc$TMZ SEGMENT
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$IMZ ENDS
CONST SEGMENT
main$... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/main.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/main.asm | 81 | 140 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.