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/Release/lqueue.asm:9 | ; 112 : switch ( *s ) {
movsx edx, BYTE PTR [rsi+1]
inc rsi
mov ecx, edx
sub ecx, 100 ; 00000064H
je SHORT $LN11@AddLineQue
sub ecx, 14
je SHORT $LN9@AddLineQue
sub ecx, 1
je SHORT $LN10@AddLineQue
sub ecx, 2
je SHORT $LN11@AddLineQue
cmp ecx, 3
je SHORT $LN11@AddLineQue
; 144 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 321 | 380 |
Terraspace/UASM:x64/Release/lqueue.asm:10 | movsxd rdi, eax
mov rcx, rbx
mov r8, rdi
call memcpy
; 124 : d += i;
add rbx, rdi
; 125 : *d = NULLC;
mov BYTE PTR [rbx], 0
; 126 : break;
jmp $LN2@AddLineQue
$LN9@AddLineQue:
; 113 : case 'r':
; 114 : i = va_arg( args, int );... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 361 | 420 |
Terraspace/UASM:x64/Release/lqueue.asm:11 | ; 119 : break;
jmp SHORT $LN2@AddLineQue
$LN11@AddLineQue:
; 127 : case 'd':
; 128 : case 'u':
; 129 : case 'x':
; 130 : #ifdef __I86__ /* v2.08: use long only if size(int) is 16-bit */
; 131 : l = va_arg( args, long );
; 132 : #else
; 133 :... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 401 | 460 |
Terraspace/UASM:x64/Release/lqueue.asm:12 | ; 138 : } else {
jmp SHORT $LN2@AddLineQue
$LN12@AddLineQue:
; 139 : myltoa( l, d, 10, l < 0, FALSE );
test ecx, ecx
mov r8d, 10
sets r9b
call myltoa
; 140 : d += strlen( d );
mov rax, rbp
$LL26@AddLineQue:
inc rax
cmp BYTE PTR [rbx+rax], 0
jne SH... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 441 | 500 |
Terraspace/UASM:x64/Release/lqueue.asm:13 | $LN29@AddLineQue:
inc rbx
$LN2@AddLineQue:
; 109 : for ( s = fmt, d = buffer; *s; s++ ) {
inc rsi
cmp BYTE PTR [rsi], 0
jne $LL4@AddLineQue
mov r15, QWORD PTR [rsp+1080]
mov rdi, QWORD PTR [rsp+1096]
$LN3@AddLineQue:
mov r14, QWORD PTR [rsp+1088]
; 151 : }
; 152 : *d = NULLC;
; 153 : va_en... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 481 | 540 |
Terraspace/UASM:x64/Release/lqueue.asm:14 | mov QWORD PTR ModuleInfo+192, rbx
; 156 : return;
; 157 : }
add rsp, 1120 ; 00000460H
pop rbx
ret 0
; 151 : }
; 152 : *d = NULLC;
; 153 : va_end( args );
; 154 : //DebugMsg(("AddlineQueueX() done\n" ));
; 155 : AddLineQueue( buffer );
$LN18@AddLineQue:
mov rax, QWORD PTR Module... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 521 | 580 |
Terraspace/UASM:x64/Release/lqueue.asm:15 | sub rsp, 32 ; 00000020H
mov rsi, rcx
; 69 : unsigned i = strlen( line );
or rbx, -1
$LL5@AddLineQue:
inc rbx
cmp BYTE PTR [rcx+rbx], 0
jne SHORT $LL5@AddLineQue
; 70 : struct lq_line *new;
; 71 :
; 72 : DebugMsg1(( "AddLineQueue(%p): #=%u >%s<\n", line, ++lqlines_written, line ));
; 73... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 561 | 620 |
Terraspace/UASM:x64/Release/lqueue.asm:16 | cmp QWORD PTR ModuleInfo+184, 0
jne SHORT $LN2@AddLineQue
; 85 : line_queue.head = new;
mov QWORD PTR ModuleInfo+184, rdi
; 86 : } else {
jmp SHORT $LN6@AddLineQue
$LN2@AddLineQue:
; 87 : /* insert at the tail */
; 88 : ((struct qnode *)line_queue.tail)->next = new;
mov rax... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 601 | 660 |
Terraspace/UASM:x64/Release/lqueue.asm:17 | sub rsp, 40 ; 00000028H
; 46 : struct qitem *curr;
; 47 : struct qitem *next;
; 48 : for( curr = line_queue.head; curr; curr = next ) {
mov rcx, QWORD PTR ModuleInfo+184
test rcx, rcx
je SHORT $LN10@DeleteLine
mov QWORD PTR [rsp+32], rbx
$LL4@DeleteLine:
; 49 : next = curr->next;
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 641 | 677 |
Terraspace/UASM:x64/Release/lqueue.asm:2 | DD imagerel $unwind$AddLineQueue
$pdata$AddLineQueueX DD imagerel $LN32
DD imagerel $LN32+27
DD imagerel $unwind$AddLineQueueX
$pdata$0$AddLineQueueX DD imagerel $LN32+27
DD imagerel $LN32+36
DD imagerel $chain$0$AddLineQueueX
$pdata$2$AddLineQueueX DD imagerel $LN32+36
DD imagerel $LN32+64
DD imagerel $chain$2$A... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/lqueue.asm | 41 | 100 |
Terraspace/UASM:x64/Release/lqueue.asm:3 | $chain$1$DeleteLineQueue DD 021H
DD imagerel $LN12
DD imagerel $LN12+16
DD imagerel $unwind$DeleteLineQueue
$unwind$AddLineQueue DD 060f01H
DD 07640fH
DD 06340fH
DD 0700b320fH
$unwind$AddLineQueueX DD 031b01H
DD 058011bH
DD 03014H
$chain$0$AddLineQueueX DD 020421H
DD 0575404H
DD imagerel $LN32
DD imagerel $L... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/lqueue.asm | 81 | 140 |
Terraspace/UASM:x64/Release/lqueue.asm:7 | ; 196 : #ifdef DEBUG_OUT
; 197 : if ( ModuleInfo.EndDirFound == TRUE ) {
; 198 : DebugMsg(("!!!!! Warning: End directive found in generated-code parser loop!\n"));
; 199 : }
; 200 : #endif
; 201 : ModuleInfo.GeneratedCode--;
dec ecx
mov DWORD PTR ModuleInfo+456, ecx
; 202 : PopInputSt... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/lqueue.asm | 241 | 300 |
Terraspace/UASM:x64/Release/lqueue.asm:8 | mov QWORD PTR [rax+32], r9
push rbx
sub rsp, 704 ; 000002c0H
mov QWORD PTR [rax-16], rbp
; 109 : for ( s = fmt, d = buffer; *s; s++ ) {
lea rbx, QWORD PTR buffer$[rsp]
mov QWORD PTR [rax-24], rsi
or rbp, -1
cmp BYTE PTR [rcx], 0
mov rsi, rcx
mov QWORD PTR [rax-40], r14
lea r14, QWORD PTR [rax+16]
j... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/lqueue.asm | 281 | 340 |
Terraspace/UASM:x64/Release/lqueue.asm:12 | ; 138 : } else {
jmp SHORT $LN2@AddLineQue
$LN12@AddLineQue:
; 139 : myltoa( l, d, 10, l < 0, FALSE );
test ecx, ecx
mov r8d, 10
sets r9b
call myltoa
; 140 : d += strlen( d );
mov rax, rbp
$LL26@AddLineQue:
inc rax
cmp BYTE PTR [rbx+rax], 0
jne SH... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/lqueue.asm | 441 | 500 |
Terraspace/UASM:x64/Release/lqueue.asm:13 | $LN29@AddLineQue:
inc rbx
$LN2@AddLineQue:
; 109 : for ( s = fmt, d = buffer; *s; s++ ) {
inc rsi
cmp BYTE PTR [rsi], 0
jne $LL4@AddLineQue
mov r15, QWORD PTR [rsp+664]
mov rdi, QWORD PTR [rsp+680]
$LN3@AddLineQue:
mov r14, QWORD PTR [rsp+672]
; 151 : }
; 152 : *d = NULLC;
; 153 : va_end( ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/lqueue.asm | 481 | 540 |
Terraspace/UASM:x64/Release/lqueue.asm:14 | mov QWORD PTR ModuleInfo+192, rbx
; 156 : return;
; 157 : }
add rsp, 704 ; 000002c0H
pop rbx
ret 0
; 151 : }
; 152 : *d = NULLC;
; 153 : va_end( args );
; 154 : //DebugMsg(("AddlineQueueX() done\n" ));
; 155 : AddLineQueue( buffer );
$LN18@AddLineQue:
mov rax, QWORD PTR ModuleI... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/lqueue.asm | 521 | 580 |
Terraspace/UASM:x64/Release/lqueue.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
_DATA ENDS
PUBLIC DeleteLineQueue
PUBLIC AddLineQueue
PUBLIC AddLineQueueX
PUBLIC RunLineQueue
EXTRN myltoa:PR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/lqueue.asm | 1 | 60 |
Terraspace/UASM:x64/Release/lqueue.asm:2 | $pdata$AddLineQueueX DD imagerel $LN32
DD imagerel $LN32+27
DD imagerel $unwind$AddLineQueueX
$pdata$0$AddLineQueueX DD imagerel $LN32+27
DD imagerel $LN32+36
DD imagerel $chain$0$AddLineQueueX
$pdata$2$AddLineQueueX DD imagerel $LN32+36
DD imagerel $LN32+64
DD imagerel $chain$2$AddLineQueueX
$pdata$4$AddLineQueu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/lqueue.asm | 41 | 100 |
Terraspace/UASM:x64/Release/lqueue.asm:3 | DD imagerel $LN12
DD imagerel $LN12+16
DD imagerel $unwind$DeleteLineQueue
$unwind$AddLineQueue DD 060f01H
DD 07640fH
DD 06340fH
DD 0700b320fH
$unwind$AddLineQueueX DD 031b01H
DD 058011bH
DD 03014H
$chain$0$AddLineQueueX DD 020421H
DD 0575404H
DD imagerel $LN32
DD imagerel $LN32+27
DD imagerel $unwind$AddLin... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/lqueue.asm | 81 | 140 |
Terraspace/UASM:x64/Release/lqueue.asm:4 | DD 0b340aH
DD 06006720aH
$chain$0$RunLineQueue DD 020521H
DD 0a7405H
DD imagerel $LN16
DD imagerel $LN16+60
DD imagerel $unwind$RunLineQueue
$chain$1$RunLineQueue DD 021H
DD imagerel $LN16
DD imagerel $LN16+60
DD imagerel $unwind$RunLineQueue
xdata ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/lqueue.asm | 121 | 180 |
Terraspace/UASM:x64/Release/lqueue.asm:5 | ; 177 : ModuleInfo.GeneratedCode++;
mov ecx, DWORD PTR ModuleInfo+456
mov rsi, rax
inc ecx
; 178 :
; 179 : /* v2.11: line queues are no longer pushed onto the file stack.
; 180 : * Instead, the queue is processed directly here.
; 181 : */
; 182 : line_queue.head = NULL;
mov QWORD PTR ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/lqueue.asm | 161 | 220 |
Terraspace/UASM:x64/Release/lqueue.asm:6 | jne SHORT $LL7@RunLineQue
; 189 : DebugCmd ( lqlines_read++ );
; 190 : MemFree( currline );
mov rcx, rbx
call MemFree
; 191 : if ( PreprocessLine( CurrSource, tokenarray ) )
mov rcx, QWORD PTR ModuleInfo+464
mov rdx, rsi
call PreprocessLine
test eax, eax
je SHORT $LN5@RunLineQue
;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/lqueue.asm | 201 | 260 |
Terraspace/UASM:x64/Release/lqueue.asm:7 | ; 197 : if ( ModuleInfo.EndDirFound == TRUE ) {
; 198 : DebugMsg(("!!!!! Warning: End directive found in generated-code parser loop!\n"));
; 199 : }
; 200 : #endif
; 201 : ModuleInfo.GeneratedCode--;
dec ecx
mov DWORD PTR ModuleInfo+456, ecx
; 202 : PopInputStatus( &oldstat );
lea rc... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/lqueue.asm | 241 | 300 |
Terraspace/UASM:x64/Release/lqueue.asm:8 | push rbx
sub rsp, 704 ; 000002c0H
mov QWORD PTR [rax-16], rbp
; 109 : for ( s = fmt, d = buffer; *s; s++ ) {
lea rbx, QWORD PTR buffer$[rsp]
mov QWORD PTR [rax-24], rsi
or rbp, -1
cmp BYTE PTR [rcx], 0
mov rsi, rcx
mov QWORD PTR [rax-40], r14
lea r14, QWORD PTR [rax+16]
je $LN3@AddLineQue
; 99 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/lqueue.asm | 281 | 340 |
Terraspace/UASM:x64/Release/lqueue.asm:9 | movsx edx, BYTE PTR [rsi+1]
inc rsi
mov ecx, edx
sub ecx, 100 ; 00000064H
je SHORT $LN11@AddLineQue
sub ecx, 14
je SHORT $LN9@AddLineQue
sub ecx, 1
je SHORT $LN10@AddLineQue
sub ecx, 2
je SHORT $LN11@AddLineQue
cmp ecx, 3
je SHORT $LN11@AddLineQue
; 144 : }
; 145 : brea... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/lqueue.asm | 321 | 380 |
Terraspace/UASM:x64/Release/lqueue.asm:11 | jmp SHORT $LN2@AddLineQue
$LN11@AddLineQue:
; 127 : case 'd':
; 128 : case 'u':
; 129 : case 'x':
; 130 : #ifdef __I86__ /* v2.08: use long only if size(int) is 16-bit */
; 131 : l = va_arg( args, long );
; 132 : #else
; 133 : l = va_arg( args,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/lqueue.asm | 401 | 460 |
Terraspace/UASM:x64/Release/lqueue.asm:12 | jmp SHORT $LN2@AddLineQue
$LN12@AddLineQue:
; 139 : myltoa( l, d, 10, l < 0, FALSE );
test ecx, ecx
mov r8d, 10
sets r9b
call myltoa
; 140 : d += strlen( d );
mov rax, rbp
$LL26@AddLineQue:
inc rax
cmp BYTE PTR [rbx+rax], 0
jne SHORT $LL26@AddLineQue
add rbx, rax
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/lqueue.asm | 441 | 500 |
Terraspace/UASM:x64/Release/lqueue.asm:13 | inc rbx
$LN2@AddLineQue:
; 109 : for ( s = fmt, d = buffer; *s; s++ ) {
inc rsi
cmp BYTE PTR [rsi], 0
jne $LL4@AddLineQue
mov r15, QWORD PTR [rsp+664]
mov rdi, QWORD PTR [rsp+680]
$LN3@AddLineQue:
mov r14, QWORD PTR [rsp+672]
; 151 : }
; 152 : *d = NULLC;
; 153 : va_end( args );
; 154 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/lqueue.asm | 481 | 540 |
Terraspace/UASM:x64/Release/lqueue.asm:14 | ; 156 : return;
; 157 : }
add rsp, 704 ; 000002c0H
pop rbx
ret 0
; 151 : }
; 152 : *d = NULLC;
; 153 : va_end( args );
; 154 : //DebugMsg(("AddlineQueueX() done\n" ));
; 155 : AddLineQueue( buffer );
$LN18@AddLineQue:
mov rax, QWORD PTR ModuleInfo+192
mov QWORD PTR [rax], rbx
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/lqueue.asm | 521 | 580 |
Terraspace/UASM:x64/Release/lqueue.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
PUBLIC DeleteLineQueue
PUBLIC AddLineQueue
PUBLIC AddLineQueueX
PUBLIC RunLineQueue
EXTRN myltoa:PROC
EXTRN MemAll... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/lqueue.asm | 1 | 60 |
Terraspace/UASM:x64/Release/lqueue.asm:2 | DD imagerel $LN32+27
DD imagerel $unwind$AddLineQueueX
$pdata$0$AddLineQueueX DD imagerel $LN32+27
DD imagerel $LN32+36
DD imagerel $chain$0$AddLineQueueX
$pdata$2$AddLineQueueX DD imagerel $LN32+36
DD imagerel $LN32+64
DD imagerel $chain$2$AddLineQueueX
$pdata$4$AddLineQueueX DD imagerel $LN32+64
DD imagerel $LN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/lqueue.asm | 41 | 100 |
Terraspace/UASM:x64/Release/lqueue.asm:3 | DD imagerel $LN12+16
DD imagerel $unwind$DeleteLineQueue
$unwind$AddLineQueue DD 060f01H
DD 07640fH
DD 06340fH
DD 0700b320fH
$unwind$AddLineQueueX DD 031b01H
DD 058011bH
DD 03014H
$chain$0$AddLineQueueX DD 020421H
DD 0575404H
DD imagerel $LN32
DD imagerel $LN32+27
DD imagerel $unwind$AddLineQueueX
$chain$2$Ad... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/lqueue.asm | 81 | 140 |
Terraspace/UASM:x64/Release/lqueue.asm:4 | DD 06006720aH
$chain$0$RunLineQueue DD 020521H
DD 0a7405H
DD imagerel $LN16
DD imagerel $LN16+60
DD imagerel $unwind$RunLineQueue
$chain$1$RunLineQueue DD 021H
DD imagerel $LN16
DD imagerel $LN16+60
DD imagerel $unwind$RunLineQueue
xdata ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/lqueue.asm | 121 | 180 |
Terraspace/UASM:x64/Release/lqueue.asm:5 | mov ecx, DWORD PTR ModuleInfo+456
mov rsi, rax
inc ecx
; 178 :
; 179 : /* v2.11: line queues are no longer pushed onto the file stack.
; 180 : * Instead, the queue is processed directly here.
; 181 : */
; 182 : line_queue.head = NULL;
mov QWORD PTR ModuleInfo+184, 0
mov DWORD PTR ModuleInfo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/lqueue.asm | 161 | 220 |
Terraspace/UASM:x64/Release/lqueue.asm:6 | ; 189 : DebugCmd ( lqlines_read++ );
; 190 : MemFree( currline );
mov rcx, rbx
call MemFree
; 191 : if ( PreprocessLine( CurrSource, tokenarray ) )
mov rcx, QWORD PTR ModuleInfo+464
mov rdx, rsi
call PreprocessLine
test eax, eax
je SHORT $LN5@RunLineQue
; 192 : ParseLi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/lqueue.asm | 201 | 260 |
Terraspace/UASM:x64/Release/lqueue.asm:7 | ; 198 : DebugMsg(("!!!!! Warning: End directive found in generated-code parser loop!\n"));
; 199 : }
; 200 : #endif
; 201 : ModuleInfo.GeneratedCode--;
dec ecx
mov DWORD PTR ModuleInfo+456, ecx
; 202 : PopInputStatus( &oldstat );
lea rcx, QWORD PTR oldstat$[rsp]
call PopInputStatus
; 20... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/lqueue.asm | 241 | 300 |
Terraspace/UASM:x64/Release/lqueue.asm:8 | sub rsp, 704 ; 000002c0H
mov QWORD PTR [rax-16], rbp
; 109 : for ( s = fmt, d = buffer; *s; s++ ) {
lea rbx, QWORD PTR buffer$[rsp]
mov QWORD PTR [rax-24], rsi
or rbp, -1
cmp BYTE PTR [rcx], 0
mov rsi, rcx
mov QWORD PTR [rax-40], r14
lea r14, QWORD PTR [rax+16]
je $LN3@AddLineQue
; 99 : va_lis... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/lqueue.asm | 281 | 340 |
Terraspace/UASM:x64/Release/lqueue.asm:10 | mov rcx, rbx
mov r8, rdi
call memcpy
; 124 : d += i;
add rbx, rdi
; 125 : *d = NULLC;
mov BYTE PTR [rbx], 0
; 126 : break;
jmp $LN2@AddLineQue
$LN9@AddLineQue:
; 113 : case 'r':
; 114 : i = va_arg( args, int );
movsxd rdi, DW... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/lqueue.asm | 361 | 420 |
Terraspace/UASM:x64/Release/lqueue.asm:11 | jmp SHORT $LN2@AddLineQue
$LN11@AddLineQue:
; 127 : case 'd':
; 128 : case 'u':
; 129 : case 'x':
; 130 : #ifdef __I86__ /* v2.08: use long only if size(int) is 16-bit */
; 131 : l = va_arg( args, long );
; 132 : #else
; 133 : l = va_arg( args,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/lqueue.asm | 401 | 460 |
Terraspace/UASM:x64/Release/lqueue.asm:12 | jmp SHORT $LN2@AddLineQue
$LN12@AddLineQue:
; 139 : myltoa( l, d, 10, l < 0, FALSE );
test ecx, ecx
mov r8d, 10
sets r9b
call myltoa
; 140 : d += strlen( d );
mov rax, rbp
$LL26@AddLineQue:
inc rax
cmp BYTE PTR [rbx+rax], 0
jne SHORT $LL26@AddLineQue
add rbx, rax
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/lqueue.asm | 441 | 500 |
Terraspace/UASM:x64/Release/lqueue.asm:13 | $LN2@AddLineQue:
; 109 : for ( s = fmt, d = buffer; *s; s++ ) {
inc rsi
cmp BYTE PTR [rsi], 0
jne $LL4@AddLineQue
mov r15, QWORD PTR [rsp+664]
mov rdi, QWORD PTR [rsp+680]
$LN3@AddLineQue:
mov r14, QWORD PTR [rsp+672]
; 151 : }
; 152 : *d = NULLC;
; 153 : va_end( args );
; 154 : //Debu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/lqueue.asm | 481 | 540 |
Terraspace/UASM:x64/Release/lqueue.asm:15 | ; 69 : unsigned i = strlen( line );
or rbx, -1
$LL5@AddLineQue:
inc rbx
cmp BYTE PTR [rcx+rbx], 0
jne SHORT $LL5@AddLineQue
; 70 : struct lq_line *new;
; 71 :
; 72 : DebugMsg1(( "AddLineQueue(%p): #=%u >%s<\n", line, ++lqlines_written, line ));
; 73 :
; 74 : /* v2.11: line queue has ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/lqueue.asm | 561 | 620 |
Terraspace/UASM:x64/Release/lqueue.asm:16 | ; 85 : line_queue.head = new;
mov QWORD PTR ModuleInfo+184, rdi
; 86 : } else {
jmp SHORT $LN6@AddLineQue
$LN2@AddLineQue:
; 87 : /* insert at the tail */
; 88 : ((struct qnode *)line_queue.tail)->next = new;
mov rax, QWORD PTR ModuleInfo+192
mov QWORD PTR [rax], rdi
$LN6@Ad... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/lqueue.asm | 601 | 660 |
Terraspace/UASM:x64/Release/main.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_BSS SEGMENT
$SG8074 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG8072 DB 'HJWASM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/main.asm | 1 | 60 |
Terraspace/UASM:x64/Release/main.asm:2 | EXTRN _findfirst64i32:PROC
EXTRN _findnext64i32:PROC
EXTRN memcpy:PROC
EXTRN Options:BYTE
_DATA SEGMENT
COMM ?_OptionsStorage@?1??__local_stdio_printf_options@@9@9:QWORD ; `__local_stdio_printf_options'::`2'::_OptionsStorage
_DATA ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_vfprintf_l DD imagerel $LN4
DD imagerel ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/main.asm | 41 | 100 |
Terraspace/UASM:x64/Release/main.asm:3 | $unwind$genfailure DD 010401H
DD 04204H
$unwind$main DD 040c01H
DD 04d010cH
DD 050046005H
$chain$0$main DD 020421H
DD 04ce404H
DD imagerel $LN28
DD imagerel $LN28+14
DD imagerel $unwind$main
$chain$2$main DD 041021H
DD 0527410H
DD 0503408H
DD imagerel $LN28+14
DD imagerel $LN28+110
DD imagerel $chain$0$main... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/main.asm | 81 | 140 |
Terraspace/UASM:x64/Release/main.asm:4 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\main.c
_TEXT SEGMENT
finfo$ = 32
fname$ = 336
argc$ = 640
numArgs$ = 648
argv$ = 648
main PROC
; 62 : {
$LN28:
mov rax, rsp
push rbp
push rsi
sub rsp, 616 ; 00000268H
; 63 : char *pEnv;
; 64 : int numArgs = 0;
xor ebp, ebp
mov QWORD PTR [rax-24], ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/main.asm | 121 | 180 |
Terraspace/UASM:x64/Release/main.asm:5 | ; 82 : for ( i = 1; i < argc; i++ ) {
; 83 : printf("argv[%u]=>%s<\n", i, argv[i] );
; 84 : }
; 85 : #endif
; 86 :
; 87 : #ifdef TRMEM
; 88 : tm_Init();
; 89 : #endif
; 90 :
; 91 : pEnv = getenv("HJWASM");
lea rcx, OFFSET FLAT:$SG8072
mov DWORD PTR [rax+16], ebp
mov esi, ebp
mov r14, rdx
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/main.asm | 161 | 220 |
Terraspace/UASM:x64/Release/main.asm:6 | lea ecx, QWORD PTR [rbp+21]
call signal
; 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, r14
ca... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/main.asm | 201 | 260 |
Terraspace/UASM:x64/Release/main.asm:7 | ; 116 : //_splitpath( Options.names[ASM], drv, dir, NULL, NULL );
; 117 : //DebugMsg(("main: _splitpath(%s): drv=\"%s\" dir=\"%s\"\n", Options.names[ASM], drv, dir ));
; 118 : pfn = GetFNamePart(Options.names[ASM]);
mov rcx, QWORD PTR Options+16
call GetFNamePart
; 119 : dirsize = pfn - Options.names[AS... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/main.asm | 241 | 300 |
Terraspace/UASM:x64/Release/main.asm:8 | ; 127 : rc = AssembleModule(fname); /* assemble 1 module */
lea rcx, QWORD PTR fname$[rsp]
call AssembleModule
; 128 : } while ((_findnext(fh, &finfo) != -1));
lea rdx, QWORD PTR finfo$[rsp]
mov rcx, rdi
mov esi, eax
call _findnext64i32
cmp eax, -1
jne SHORT $LL6@main
; 129 : _findclose(fh)... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/main.asm | 281 | 340 |
Terraspace/UASM:x64/Release/main.asm:9 | mov rdi, QWORD PTR [rsp+656]
$LN3@main:
; 130 : #else
; 131 : rc = AssembleModule( Options.names[ASM] );
; 132 : #endif
; 133 : };
; 134 : CmdlineFini();
call CmdlineFini
; 135 : if (numArgs == 0) {
cmp DWORD PTR numArgs$[rsp], 0
mov r14, QWORD PTR [rsp+608]
jne SHORT $LN9@main
; 136 : write_logo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/main.asm | 321 | 380 |
Terraspace/UASM:x64/Release/main.asm:10 | ; 148 : }
add rsp, 616 ; 00000268H
pop rsi
pop rbp
ret 0
$LN9@main:
; 138 : }
; 139 : else if (numFiles == 0)
test ebp, ebp
jne SHORT $LN11@main
; 140 : EmitError(NO_FILENAME_SPECIFIED);
lea ecx, QWORD PTR [rbp+104]
call EmitError
$LN11@main:
; 141 :
; 142 : #ifdef TRMEM
; 143 : tm_Fini();
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/main.asm | 361 | 420 |
Terraspace/UASM:x64/Release/main.asm:11 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\main.c
_TEXT SEGMENT
signo$ = 48
genfailure PROC
; 50 : {
sub rsp, 40 ; 00000028H
; 51 : #if CATCHBREAK
; 52 : if (signo != SIGBREAK)
cmp ecx, 21
je SHORT $LN2@genfailure
; 53 : #else
; 54 : if (signo != SIGTERM)
; 55 : #endif
; 56 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/main.asm | 401 | 460 |
Terraspace/UASM:x64/Release/main.asm:12 | _Format$ = 80
printf PROC ; COMDAT
; 950 : {
$LN6:
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 rbx
push rsi
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rcx
; 951 : int _Result;
; 952 : va_list _ArgList;
; 953 : __cr... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/main.asm | 441 | 500 |
Terraspace/UASM:x64/Release/main.asm:13 | pop rdi
pop rsi
pop rbx
ret 0
printf ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; 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 : {
$LN4:
mov QWORD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/main.asm | 481 | 540 |
Terraspace/UASM:x64/Release/main.asm:14 | mov rbx, QWORD PTR [rsp+64]
mov rbp, QWORD PTR [rsp+72]
mov rsi, QWORD PTR [rsp+80]
add rsp, 48 ; 00000030H
pop rdi
ret 0
_vfprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\corecrt_stdio_config.h
; COMDAT __local_stdio_printf_opt... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/main.asm | 521 | 546 |
Terraspace/UASM:x64/Release/main.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_BSS SEGMENT
$SG8073 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG8071 DB 'HJWASM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/main.asm | 1 | 60 |
Terraspace/UASM:x64/Release/main.asm:4 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\main.c
_TEXT SEGMENT
finfo$ = 32
fname$ = 336
argc$ = 640
numArgs$ = 648
argv$ = 648
main PROC
; 62 : {
$LN28:
mov rax, rsp
push rbp
push rsi
sub rsp, 616 ; 00000268H
; 63 : char *pEnv;
; 64 : int numArgs = 0;
xor ebp, ebp
mov QWORD PTR [rax-24], ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/main.asm | 121 | 180 |
Terraspace/UASM:x64/Release/main.asm:5 | ; 82 : for ( i = 1; i < argc; i++ ) {
; 83 : printf("argv[%u]=>%s<\n", i, argv[i] );
; 84 : }
; 85 : #endif
; 86 :
; 87 : #ifdef TRMEM
; 88 : tm_Init();
; 89 : #endif
; 90 :
; 91 : pEnv = getenv("HJWASM");
lea rcx, OFFSET FLAT:$SG8071
mov DWORD PTR [rax+16], ebp
mov esi, ebp
mov r14, rdx
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/main.asm | 161 | 220 |
Terraspace/UASM:x64/Release/main.asm:9 | mov rdi, QWORD PTR [rsp+656]
$LN3@main:
; 130 : #else
; 131 : rc = AssembleModule( Options.names[ASM] );
; 132 : #endif
; 133 : };
; 134 : CmdlineFini();
call CmdlineFini
; 135 : if (numArgs == 0) {
cmp DWORD PTR numArgs$[rsp], 0
mov r14, QWORD PTR [rsp+608]
jne SHORT $LN9@main
; 136 : write_logo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/main.asm | 321 | 380 |
Terraspace/UASM:x64/Release/main.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_BSS SEGMENT
$SG8072 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG8070 DB 'HJWASM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 28b09fcf7ca2f77034c045fe6612c4a02ec747a9 | github | assembler | https://github.com/Terraspace/UASM/blob/28b09fcf7ca2f77034c045fe6612c4a02ec747a9/x64/Release/main.asm | 1 | 60 |
Terraspace/UASM:x64/Release/main.asm:4 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\main.c
_TEXT SEGMENT
finfo$ = 32
fname$ = 336
argc$ = 640
numArgs$ = 648
argv$ = 648
main PROC
; 62 : {
$LN28:
mov rax, rsp
push rbp
push rsi
sub rsp, 616 ; 00000268H
; 63 : char *pEnv;
; 64 : int numArgs = 0;
xor ebp, ebp
mov QWORD PTR [rax-24], ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 28b09fcf7ca2f77034c045fe6612c4a02ec747a9 | github | assembler | https://github.com/Terraspace/UASM/blob/28b09fcf7ca2f77034c045fe6612c4a02ec747a9/x64/Release/main.asm | 121 | 180 |
Terraspace/UASM:x64/Release/main.asm:5 | ; 82 : for ( i = 1; i < argc; i++ ) {
; 83 : printf("argv[%u]=>%s<\n", i, argv[i] );
; 84 : }
; 85 : #endif
; 86 :
; 87 : #ifdef TRMEM
; 88 : tm_Init();
; 89 : #endif
; 90 :
; 91 : pEnv = getenv("HJWASM");
lea rcx, OFFSET FLAT:$SG8070
mov DWORD PTR [rax+16], ebp
mov esi, ebp
mov r14, rdx
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 28b09fcf7ca2f77034c045fe6612c4a02ec747a9 | github | assembler | https://github.com/Terraspace/UASM/blob/28b09fcf7ca2f77034c045fe6612c4a02ec747a9/x64/Release/main.asm | 161 | 220 |
Terraspace/UASM:x64/Release/main.asm:9 | mov rdi, QWORD PTR [rsp+656]
$LN3@main:
; 130 : #else
; 131 : rc = AssembleModule( Options.names[ASM] );
; 132 : #endif
; 133 : };
; 134 : CmdlineFini();
call CmdlineFini
; 135 : if (numArgs == 0) {
cmp DWORD PTR numArgs$[rsp], 0
mov r14, QWORD PTR [rsp+608]
jne SHORT $LN9@main
; 136 : write_logo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 28b09fcf7ca2f77034c045fe6612c4a02ec747a9 | github | assembler | https://github.com/Terraspace/UASM/blob/28b09fcf7ca2f77034c045fe6612c4a02ec747a9/x64/Release/main.asm | 321 | 380 |
Terraspace/UASM:x64/Release/main.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_BSS SEGMENT
$SG8071 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG8069 DB 'HJWASM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/main.asm | 1 | 60 |
Terraspace/UASM:x64/Release/main.asm:4 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\main.c
_TEXT SEGMENT
finfo$ = 32
fname$ = 336
argc$ = 640
numArgs$ = 648
argv$ = 648
main PROC
; 62 : {
$LN28:
mov rax, rsp
push rbp
push rsi
sub rsp, 616 ; 00000268H
; 63 : char *pEnv;
; 64 : int numArgs = 0;
xor ebp, ebp
mov QWORD PTR [rax-24], ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/main.asm | 121 | 180 |
Terraspace/UASM:x64/Release/main.asm:5 | ; 82 : for ( i = 1; i < argc; i++ ) {
; 83 : printf("argv[%u]=>%s<\n", i, argv[i] );
; 84 : }
; 85 : #endif
; 86 :
; 87 : #ifdef TRMEM
; 88 : tm_Init();
; 89 : #endif
; 90 :
; 91 : pEnv = getenv("HJWASM");
lea rcx, OFFSET FLAT:$SG8069
mov DWORD PTR [rax+16], ebp
mov esi, ebp
mov r14, rdx
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/main.asm | 161 | 220 |
Terraspace/UASM:x64/Release/main.asm:9 | mov rdi, QWORD PTR [rsp+656]
$LN3@main:
; 130 : #else
; 131 : rc = AssembleModule( Options.names[ASM] );
; 132 : #endif
; 133 : };
; 134 : CmdlineFini();
call CmdlineFini
; 135 : if (numArgs == 0) {
cmp DWORD PTR numArgs$[rsp], 0
mov r14, QWORD PTR [rsp+608]
jne SHORT $LN9@main
; 136 : write_logo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/main.asm | 321 | 380 |
Terraspace/UASM:x64/Release/main.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_BSS SEGMENT
$SG8060 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG8058 DB 'HJWASM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/main.asm | 1 | 60 |
Terraspace/UASM:x64/Release/main.asm:4 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\main.c
_TEXT SEGMENT
finfo$ = 32
fname$ = 336
argc$ = 640
numArgs$ = 648
argv$ = 648
main PROC
; 62 : {
$LN28:
mov rax, rsp
push rbp
push rsi
sub rsp, 616 ; 00000268H
; 63 : char *pEnv;
; 64 : int numArgs = 0;
xor ebp, ebp
mov QWORD PTR [rax-24], ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/main.asm | 121 | 180 |
Terraspace/UASM:x64/Release/main.asm:5 | ; 82 : for ( i = 1; i < argc; i++ ) {
; 83 : printf("argv[%u]=>%s<\n", i, argv[i] );
; 84 : }
; 85 : #endif
; 86 :
; 87 : #ifdef TRMEM
; 88 : tm_Init();
; 89 : #endif
; 90 :
; 91 : pEnv = getenv("HJWASM");
lea rcx, OFFSET FLAT:$SG8058
mov DWORD PTR [rax+16], ebp
mov esi, ebp
mov r14, rdx
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/main.asm | 161 | 220 |
Terraspace/UASM:x64/Release/main.asm:9 | mov rdi, QWORD PTR [rsp+656]
$LN3@main:
; 130 : #else
; 131 : rc = AssembleModule( Options.names[ASM] );
; 132 : #endif
; 133 : };
; 134 : CmdlineFini();
call CmdlineFini
; 135 : if (numArgs == 0) {
cmp DWORD PTR numArgs$[rsp], 0
mov r14, QWORD PTR [rsp+608]
jne SHORT $LN9@main
; 136 : write_logo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/main.asm | 321 | 380 |
Terraspace/UASM:x64/Release/main.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
_DATA ENDS
_BSS SEGMENT
$SG8059 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG8057 DB 'HJWASM', 00H
ORG $+1
$SG80... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/main.asm | 1 | 60 |
Terraspace/UASM:x64/Release/main.asm:2 | EXTRN _findnext64i32:PROC
EXTRN memcpy:PROC
EXTRN Options:BYTE
_DATA SEGMENT
COMM ?_OptionsStorage@?1??__local_stdio_printf_options@@9@9:QWORD ; `__local_stdio_printf_options'::`2'::_OptionsStorage
_DATA ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_vfprintf_l DD imagerel $LN4
DD imagerel $LN4+80
DD imagerel $unwin... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/main.asm | 41 | 100 |
Terraspace/UASM:x64/Release/main.asm:3 | DD 04204H
$unwind$main DD 040c01H
DD 04d010cH
DD 050046005H
$chain$0$main DD 020421H
DD 04ce404H
DD imagerel $LN28
DD imagerel $LN28+14
DD imagerel $unwind$main
$chain$2$main DD 041021H
DD 0527410H
DD 0503408H
DD imagerel $LN28+14
DD imagerel $LN28+110
DD imagerel $chain$0$main
$chain$3$main DD 021H
DD imag... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/main.asm | 81 | 140 |
Terraspace/UASM:x64/Release/main.asm:4 | _TEXT SEGMENT
finfo$ = 32
fname$ = 336
argc$ = 640
numArgs$ = 648
argv$ = 648
main PROC
; 62 : {
$LN28:
mov rax, rsp
push rbp
push rsi
sub rsp, 616 ; 00000268H
; 63 : char *pEnv;
; 64 : int numArgs = 0;
xor ebp, ebp
mov QWORD PTR [rax-24], r14
; 65 : int numFiles = 0;
; 66 : int ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/main.asm | 121 | 180 |
Terraspace/UASM:x64/Release/main.asm:5 | ; 83 : printf("argv[%u]=>%s<\n", i, argv[i] );
; 84 : }
; 85 : #endif
; 86 :
; 87 : #ifdef TRMEM
; 88 : tm_Init();
; 89 : #endif
; 90 :
; 91 : pEnv = getenv("HJWASM");
lea rcx, OFFSET FLAT:$SG8057
mov DWORD PTR [rax+16], ebp
mov esi, ebp
mov r14, rdx
call getenv
; 92 : if (pEnv == NULL)... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/main.asm | 161 | 220 |
Terraspace/UASM:x64/Release/main.asm:6 | call signal
; 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, r14
call ParseCmdline
test rax, ra... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/main.asm | 201 | 260 |
Terraspace/UASM:x64/Release/main.asm:7 | ; 117 : //DebugMsg(("main: _splitpath(%s): drv=\"%s\" dir=\"%s\"\n", Options.names[ASM], drv, dir ));
; 118 : pfn = GetFNamePart(Options.names[ASM]);
mov rcx, QWORD PTR Options+16
call GetFNamePart
; 119 : dirsize = pfn - Options.names[ASM];
mov rdx, QWORD PTR Options+16
; 120 : memcpy(fname, Options... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/main.asm | 241 | 300 |
Terraspace/UASM:x64/Release/main.asm:8 | lea rcx, QWORD PTR fname$[rsp]
call AssembleModule
; 128 : } while ((_findnext(fh, &finfo) != -1));
lea rdx, QWORD PTR finfo$[rsp]
mov rcx, rdi
mov esi, eax
call _findnext64i32
cmp eax, -1
jne SHORT $LL6@main
; 129 : _findclose(fh);
mov rcx, rdi
call _findclose
lea rdx, QWORD PTR numArgs$[rsp]
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/main.asm | 281 | 340 |
Terraspace/UASM:x64/Release/main.asm:9 | $LN3@main:
; 130 : #else
; 131 : rc = AssembleModule( Options.names[ASM] );
; 132 : #endif
; 133 : };
; 134 : CmdlineFini();
call CmdlineFini
; 135 : if (numArgs == 0) {
cmp DWORD PTR numArgs$[rsp], 0
mov r14, QWORD PTR [rsp+608]
jne SHORT $LN9@main
; 136 : write_logo();
call write_logo
; 137 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/main.asm | 321 | 380 |
Terraspace/UASM:x64/Release/main.asm:10 | add rsp, 616 ; 00000268H
pop rsi
pop rbp
ret 0
$LN9@main:
; 138 : }
; 139 : else if (numFiles == 0)
test ebp, ebp
jne SHORT $LN11@main
; 140 : EmitError(NO_FILENAME_SPECIFIED);
lea ecx, QWORD PTR [rbp+104]
call EmitError
$LN11@main:
; 141 :
; 142 : #ifdef TRMEM
; 143 : tm_Fini();
; 144 : #end... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/main.asm | 361 | 420 |
Terraspace/UASM:x64/Release/main.asm:11 | _TEXT SEGMENT
signo$ = 48
genfailure PROC
; 50 : {
sub rsp, 40 ; 00000028H
; 51 : #if CATCHBREAK
; 52 : if (signo != SIGBREAK)
cmp ecx, 21
je SHORT $LN2@genfailure
; 53 : #else
; 54 : if (signo != SIGTERM)
; 55 : #endif
; 56 : EmitError( GENERAL_FAILURE );
mov ecx, 168 ; 0... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/main.asm | 401 | 460 |
Terraspace/UASM:x64/Release/main.asm:12 | printf PROC ; COMDAT
; 950 : {
$LN6:
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 rbx
push rsi
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rcx
; 951 : int _Result;
; 952 : va_list _ArgList;
; 953 : __crt_va_start(_Ar... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/main.asm | 441 | 500 |
Terraspace/UASM:x64/Release/main.asm:13 | pop rsi
pop rbx
ret 0
printf ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; 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 : {
$LN4:
mov QWORD PTR [rsp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/main.asm | 481 | 540 |
Terraspace/UASM:x64/Release/main.asm:8 | lea rcx, QWORD PTR fname$[rsp]
call AssembleModule
; 128 : } while ((_findnext(fh, &finfo) != -1));
lea rdx, QWORD PTR finfo$[rsp]
mov rcx, rdi
mov esi, eax
call _findnext64i32
cmp eax, -1
jne SHORT $LL6@main
; 129 : _findclose(fh);
mov rcx, rdi
call _findclose
lea rdx, QWORD PTR numArgs$[rsp]
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/main.asm | 281 | 340 |
Terraspace/UASM:x64/Release/main.asm:9 | $LN3@main:
; 130 : #else
; 131 : rc = AssembleModule( Options.names[ASM] );
; 132 : #endif
; 133 : };
; 134 : CmdlineFini();
call CmdlineFini
; 135 : if (numArgs == 0) {
cmp DWORD PTR numArgs$[rsp], 0
mov r14, QWORD PTR [rsp+608]
jne SHORT $LN9@main
; 136 : write_logo();
call write_logo
; 137 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/main.asm | 321 | 380 |
Terraspace/UASM:x64/Release/main.asm:10 | add rsp, 616 ; 00000268H
pop rsi
pop rbp
ret 0
$LN9@main:
; 138 : }
; 139 : else if (numFiles == 0)
test ebp, ebp
jne SHORT $LN11@main
; 140 : EmitError(NO_FILENAME_SPECIFIED);
lea ecx, QWORD PTR [rbp+105]
call EmitError
$LN11@main:
; 141 :
; 142 : #ifdef TRMEM
; 143 : tm_Fini();
; 144 : #end... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/main.asm | 361 | 420 |
Terraspace/UASM:x64/Release/main.asm:11 | _TEXT SEGMENT
signo$ = 48
genfailure PROC
; 50 : {
sub rsp, 40 ; 00000028H
; 51 : #if CATCHBREAK
; 52 : if (signo != SIGBREAK)
cmp ecx, 21
je SHORT $LN2@genfailure
; 53 : #else
; 54 : if (signo != SIGTERM)
; 55 : #endif
; 56 : EmitError( GENERAL_FAILURE );
mov ecx, 169 ; 0... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/main.asm | 401 | 460 |
Terraspace/UASM:x64/Release/main.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_BSS SEGMENT
$SG8057 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG8055 DB 'HJWASM', 00H
ORG $+1
$SG8061 DB '%s', 00H... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Release/main.asm | 1 | 60 |
Terraspace/UASM:x64/Release/main.asm:2 | EXTRN memcpy:PROC
EXTRN Options:BYTE
_DATA SEGMENT
COMM ?_OptionsStorage@?1??__local_stdio_printf_options@@9@9:QWORD ; `__local_stdio_printf_options'::`2'::_OptionsStorage
_DATA ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_vfprintf_l DD imagerel $LN4
DD imagerel $LN4+80
DD imagerel $unwind$_vfprintf_l
pdata ENDS
;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Release/main.asm | 41 | 100 |
Terraspace/UASM:x64/Release/main.asm:3 | $unwind$main DD 040c01H
DD 04d010cH
DD 050046005H
$chain$0$main DD 020421H
DD 04ce404H
DD imagerel $LN28
DD imagerel $LN28+14
DD imagerel $unwind$main
$chain$2$main DD 041021H
DD 0527410H
DD 0503408H
DD imagerel $LN28+14
DD imagerel $LN28+110
DD imagerel $chain$0$main
$chain$3$main DD 021H
DD imagerel $LN28... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Release/main.asm | 81 | 140 |
Terraspace/UASM:x64/Release/main.asm:4 | finfo$ = 32
fname$ = 336
argc$ = 640
numArgs$ = 648
argv$ = 648
main PROC
; 62 : {
$LN28:
mov rax, rsp
push rbp
push rsi
sub rsp, 616 ; 00000268H
; 63 : char *pEnv;
; 64 : int numArgs = 0;
xor ebp, ebp
mov QWORD PTR [rax-24], r14
; 65 : int numFiles = 0;
; 66 : int rc = 0;
; 6... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Release/main.asm | 121 | 180 |
Terraspace/UASM:x64/Release/main.asm:5 | ; 84 : }
; 85 : #endif
; 86 :
; 87 : #ifdef TRMEM
; 88 : tm_Init();
; 89 : #endif
; 90 :
; 91 : pEnv = getenv("HJWASM");
lea rcx, OFFSET FLAT:$SG8055
mov DWORD PTR [rax+16], ebp
mov esi, ebp
mov r14, rdx
call getenv
; 92 : if (pEnv == NULL)
test rax, rax
lea rcx, OFFSET FLAT:$SG8057
; 9... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Release/main.asm | 161 | 220 |
Terraspace/UASM:x64/Release/main.asm:6 | ; 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, r14
call ParseCmdline
test rax, rax
je $LN3@ma... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Release/main.asm | 201 | 260 |
Terraspace/UASM:x64/Release/main.asm:7 | ; 118 : pfn = GetFNamePart(Options.names[ASM]);
mov rcx, QWORD PTR Options+16
call GetFNamePart
; 119 : dirsize = pfn - Options.names[ASM];
mov rdx, QWORD PTR Options+16
; 120 : memcpy(fname, Options.names[ASM], dirsize);
lea rcx, QWORD PTR fname$[rsp]
sub eax, edx
movsxd rbx, eax
mov r8, rbx
call... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Release/main.asm | 241 | 300 |
Terraspace/UASM:x64/Release/main.asm:8 | lea rcx, QWORD PTR fname$[rsp]
call AssembleModule
; 128 : } while ((_findnext(fh, &finfo) != -1));
lea rdx, QWORD PTR finfo$[rsp]
mov rcx, rdi
mov esi, eax
call _findnext64i32
cmp eax, -1
jne SHORT $LL6@main
; 129 : _findclose(fh);
mov rcx, rdi
call _findclose
lea rdx, QWORD PTR numArgs$[rsp]
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Release/main.asm | 281 | 340 |
Terraspace/UASM:x64/Release/main.asm:9 | ; 130 : #else
; 131 : rc = AssembleModule( Options.names[ASM] );
; 132 : #endif
; 133 : };
; 134 : CmdlineFini();
call CmdlineFini
; 135 : if (numArgs == 0) {
cmp DWORD PTR numArgs$[rsp], 0
mov r14, QWORD PTR [rsp+608]
jne SHORT $LN9@main
; 136 : write_logo();
call write_logo
; 137 : printf(... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Release/main.asm | 321 | 380 |
Terraspace/UASM:x64/Release/main.asm:10 | add rsp, 616 ; 00000268H
pop rsi
pop rbp
ret 0
$LN9@main:
; 138 : }
; 139 : else if (numFiles == 0)
test ebp, ebp
jne SHORT $LN11@main
; 140 : EmitError(NO_FILENAME_SPECIFIED);
lea ecx, QWORD PTR [rbp+104]
call EmitError
$LN11@main:
; 141 :
; 142 : #ifdef TRMEM
; 143 : tm_Fini();
; 144 : #end... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/main.asm | Apache-2.0 | cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95 | github | assembler | https://github.com/Terraspace/UASM/blob/cd20488a8b64cbabc22ecf4b6aef4e0c1ea18b95/x64/Release/main.asm | 361 | 420 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.