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/linnum.asm:9 | jne $LN20@AddLinnumD
mov r8, QWORD PTR dmyproc
test r8, r8
je SHORT $LN4@AddLinnumD
mov rax, QWORD PTR [r8+64]
movzx ecx, WORD PTR [rax+14]
cmp ecx, esi
jne SHORT $LN3@AddLinnumD
mov rax, QWORD PTR ModuleInfo+432
cmp QWORD PTR [r8+24], rax
je $LN20@AddLinnumD
$LN3@AddLinnumD:
; 84 : ( dmyproc == NU... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/linnum.asm | 321 | 380 |
Terraspace/UASM:x64/Release/linnum.asm:10 | lea rcx, QWORD PTR procname$1[rsp]
call SymFind
mov QWORD PTR dmyproc, rax
; 97 :
; 98 : /* in pass 1, create the proc */
; 99 : if ( dmyproc == NULL ) {
test rax, rax
jne SHORT $LN5@AddLinnumD
; 100 : dmyproc = CreateProc( NULL, procname, SYM_INTERNAL );
lea r8d, QWORD PTR [... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/linnum.asm | 361 | 420 |
Terraspace/UASM:x64/Release/linnum.asm:11 | ; 107 :
; 108 : /* if the symbols isn't a PROC, the symbol name has been used
; 109 : * by the user - bad! A warning should be displayed */
; 110 : if ( dmyproc->isproc == TRUE ) {
test BYTE PTR [rax+41], 8
je SHORT $LN20@AddLinnumD
; 111 : SetSymSegOfs( dmyproc );
mov rc... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/linnum.asm | 401 | 460 |
Terraspace/UASM:x64/Release/linnum.asm:12 | ; 117 : curr->line_number = GetLineNumber();
call GetLineNumber
; 118 : curr->file = srcfile;
mov ecx, esi
; 119 : curr->number = 0;
mov DWORD PTR [rbx+8], 0
shl ecx, 20
and eax, 1048575 ; 000fffffH
or eax, ecx
; 120 : DebugMsg1(("AddLin... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/linnum.asm | 441 | 500 |
Terraspace/UASM:x64/Release/linnum.asm:13 | ; 130 : DebugMsg1(("AddLinnumDataRef(src=%u.%u) line skipped, lastline=%u\n", srcfile, line_num, lastLineNumber ));
; 131 : #endif
; 132 : return;
; 133 : }
; 134 : DebugMsg1(("AddLinnumDataRef(src=%u.%u): currofs=%Xh, CurrProc=%s, GeneratedCode=%u\n", srcfile, line_num, GetCurrOffset()... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/linnum.asm | 481 | 540 |
Terraspace/UASM:x64/Release/linnum.asm:14 | or BYTE PTR [rcx+41], 64 ; 00000040H
; 147 : AddPublicData( (struct asym *)CurrProc );
mov rcx, QWORD PTR CurrProc
call AddPublicData
$LN21@AddLinnumD:
mov rcx, QWORD PTR CurrProc
$LN13@AddLinnumD:
; 148 : }
; 149 : /* changed v2.03 */
; 150 : /* curr->sym = (struct asym ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/linnum.asm | 521 | 580 |
Terraspace/UASM:x64/Release/linnum.asm:15 | mov rax, QWORD PTR [rdx+24]
; 158 : ((struct dsym *)dmyproc->segment)->e.seginfo->current_loc -
; 159 : dmyproc->offset;
; 160 : dmyproc = NULL;
mov QWORD PTR dmyproc, 0
mov rcx, QWORD PTR [rax+96]
mov eax, DWORD PTR [rcx+12]
sub eax, DWORD PTR [rdx+16]
mov DWORD PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/linnum.asm | 561 | 620 |
Terraspace/UASM:x64/Release/linnum.asm:16 | mov DWORD PTR [rbx+8], eax
$LN11@AddLinnumD:
; 168 : curr->offset = GetCurrOffset();
; 169 : curr->srcfile = srcfile;
; 170 : }
; 171 : } else {
; 172 : #endif
; 173 : curr->offset = GetCurrOffset();
call GetCurrOffset
; 174 : curr->srcfile = srcfile;
mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/linnum.asm | 601 | 660 |
Terraspace/UASM:x64/Release/linnum.asm:17 | ; 187 : /* v2.10: warning if line-numbers for segments without class code! */
; 188 : if ( CurrSeg->e.seginfo->linnum_init == FALSE ) {
mov rax, QWORD PTR ModuleInfo+432
mov rcx, QWORD PTR [rax+96]
movzx eax, BYTE PTR [rcx+107]
test al, 64 ; 00000040H
jne SHORT $LN18@AddLinnumD
; 189 : Cur... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/linnum.asm | 641 | 700 |
Terraspace/UASM:x64/Release/linnum.asm:18 | ; 196 :
; 197 : return;
; 198 : }
mov rbx, QWORD PTR [rsp+64]
mov rsi, QWORD PTR [rsp+72]
add rsp, 48 ; 00000030H
pop rdi
ret 0
AddLinnumDataRef ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT sprintf
_TEXT SEGMEN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/linnum.asm | 681 | 740 |
Terraspace/UASM:x64/Release/linnum.asm:19 | ; 1781 : #pragma warning(push)
; 1782 : #pragma warning(disable: 4996) // Deprecation
; 1783 : _Result = _vsprintf_l(_Buffer, _Format, NULL, _ArgList);
call __local_stdio_printf_options
mov r9, rbx
mov QWORD PTR [rsp+40], rsi
or rbx, -1
mov QWORD PTR [rsp+32], 0
mov r8, rbx
mov rdx, rdi
mov rcx, QW... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/linnum.asm | 721 | 780 |
Terraspace/UASM:x64/Release/linnum.asm:20 | ; 1455 : {
$LN6:
mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rbp
mov QWORD PTR [rsp+24], rsi
push rdi
sub rsp, 48 ; 00000030H
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
; 1456 : #pragma warning(push)
; 1457 : #pragma warning(disable: 4996) // Deprecation
; 1458 : return _vsnprin... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/linnum.asm | 761 | 820 |
Terraspace/UASM:x64/Release/linnum.asm:21 | _TEXT ENDS
; Function compile flags: /Ogtpy
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT _vsnprintf_l
_TEXT SEGMENT
_Buffer$ = 64
_BufferCount$ = 72
_Format$ = 80
_Locale$ = 88
_ArgList$ = 96
_vsnprintf_l PROC ; COMDAT
; 1385 : {
$LN4:
mov QWORD PTR [rsp+8], rbx
mov Q... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/linnum.asm | 801 | 860 |
Terraspace/UASM:x64/Release/linnum.asm:22 | ; 1389 :
; 1390 : return _Result < 0 ? -1 : _Result;
; 1391 : }
mov rbx, QWORD PTR [rsp+64]
or ecx, -1
mov rbp, QWORD PTR [rsp+72]
test eax, eax
mov rsi, QWORD PTR [rsp+80]
cmovs eax, ecx
add rsp, 48 ; 00000030H
pop rdi
ret 0
_vsnprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File c:\prog... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/linnum.asm | 841 | 872 |
Terraspace/UASM:x64/Release/linnum.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
_DATA SEGMENT
$SG11395 DB '$$$%05u', 00H
_DATA ENDS
PUBLIC __local_stdio_print... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/linnum.asm | 1 | 60 |
Terraspace/UASM:x64/Release/linnum.asm:9 | jne $LN20@AddLinnumD
mov r8, QWORD PTR dmyproc
test r8, r8
je SHORT $LN4@AddLinnumD
mov rax, QWORD PTR [r8+64]
movzx ecx, WORD PTR [rax+14]
cmp ecx, esi
jne SHORT $LN3@AddLinnumD
mov rax, QWORD PTR ModuleInfo+432
cmp QWORD PTR [r8+24], rax
je $LN20@AddLinnumD
$LN3@AddLinnumD:
; 84 : ( dmyproc == NU... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/linnum.asm | 321 | 380 |
Terraspace/UASM:x64/Release/linnum.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
_DATA SEGMENT
$SG11394 DB '$$$%05u', 00H
_DATA ENDS
PUBLIC __local_stdio_printf_options
PUBLIC spri... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 1 | 60 |
Terraspace/UASM:x64/Release/linnum.asm:2 | COMM ?_OptionsStorage@?1??__local_stdio_printf_options@@9@9:QWORD ; `__local_stdio_printf_options'::`2'::_OptionsStorage
_DATA ENDS
_BSS SEGMENT
dmyproc DQ 01H DUP (?)
lastLineNumber DD 01H DUP (?)
_BSS ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_vsnprintf_l DD imagerel $LN4
DD imagerel $LN4+102
DD imagerel $unwi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 41 | 100 |
Terraspace/UASM:x64/Release/linnum.asm:3 | xdata SEGMENT
$unwind$AddLinnumDataRef DD 060f01H
DD 09640fH
DD 08340fH
DD 0700b520fH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$sprintf DD 041601H
DD 070125216H
DD 030106011H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vsprintf_l DD 081401H
DD 0a6414H
DD 095414H
DD 083414H
DD 070105214H
xdata ENDS
;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 81 | 140 |
Terraspace/UASM:x64/Release/linnum.asm:4 | ; 41 : struct qdesc *q;
; 42 : #if COFF_SUPPORT
; 43 : if ( Options.output_format == OFORMAT_COFF ) {
cmp DWORD PTR Options+144, 2
mov rbx, rcx
jne SHORT $LN2@AddLinnumD
; 44 : q = (struct qdesc *)CurrSeg->e.seginfo->LinnumQueue;
mov rax, QWORD PTR ModuleInfo+432
mov rdx, QWORD PTR [rax+... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 121 | 180 |
Terraspace/UASM:x64/Release/linnum.asm:5 | ; 51 : #endif
; 52 : q = &LinnumQueue;
lea r8, OFFSET FLAT:LinnumQueue
$LN3@AddLinnumD:
; 53 :
; 54 : data->next = NULL;
mov QWORD PTR [rbx], 0
; 55 : if ( q->head == NULL)
cmp QWORD PTR [r8], 0
jne SHORT $LN5@AddLinnumD
; 56 : q->head = q->tail = data;
mov QWORD PTR [r8]... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 161 | 220 |
Terraspace/UASM:x64/Release/linnum.asm:6 | mov QWORD PTR [r8+8], rbx
; 60 : }
; 61 : }
add rsp, 32 ; 00000020H
pop rbx
ret 0
AddLinnumData ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\linnum.c
_TEXT SEGMENT
queue$ = 8
QueueDeleteLinnum PROC
; 203 : struct line_num_info *curr;
; 204 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 201 | 260 |
Terraspace/UASM:x64/Release/linnum.asm:7 | mov rdx, QWORD PTR dmyproc
test rdx, rdx
je SHORT $LN2@LinnumFini
; 224 : dmyproc->total_size =
mov rax, QWORD PTR [rdx+24]
mov rcx, QWORD PTR [rax+96]
mov eax, DWORD PTR [rcx+12]
sub eax, DWORD PTR [rdx+16]
mov DWORD PTR [rdx+56], eax
$LN2@LinnumFini:
; 225 : ((struct dsym *)dmyproc->se... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 241 | 300 |
Terraspace/UASM:x64/Release/linnum.asm:8 | ; 239 : }
ret 0
LinnumInit ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\linnum.c
_TEXT SEGMENT
procname$1 = 32
srcfile$ = 64
line_num$ = 72
AddLinnumDataRef PROC
; 71 : {
$LN23:
mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rsi
push rdi
sub rsp, 48 ; ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 281 | 340 |
Terraspace/UASM:x64/Release/linnum.asm:9 | mov r8, QWORD PTR dmyproc
test r8, r8
je SHORT $LN4@AddLinnumD
mov rax, QWORD PTR [r8+64]
movzx ecx, WORD PTR [rax+14]
cmp ecx, esi
jne SHORT $LN3@AddLinnumD
mov rax, QWORD PTR ModuleInfo+432
cmp QWORD PTR [r8+24], rax
je $LN20@AddLinnumD
$LN3@AddLinnumD:
; 84 : ( dmyproc == NULL ||
; 85 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 321 | 380 |
Terraspace/UASM:x64/Release/linnum.asm:11 | ; 108 : /* if the symbols isn't a PROC, the symbol name has been used
; 109 : * by the user - bad! A warning should be displayed */
; 110 : if ( dmyproc->isproc == TRUE ) {
test BYTE PTR [rax+41], 8
je SHORT $LN20@AddLinnumD
; 111 : SetSymSegOfs( dmyproc );
mov rcx, rax
c... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 401 | 460 |
Terraspace/UASM:x64/Release/linnum.asm:12 | call GetLineNumber
; 118 : curr->file = srcfile;
mov ecx, esi
; 119 : curr->number = 0;
mov DWORD PTR [rbx+8], 0
shl ecx, 20
and eax, 1048575 ; 000fffffH
or eax, ecx
; 120 : DebugMsg1(("AddLinnumDataRef: CURRPROC=NULL, sym=%s, calling AddLinnumData(src=%u.... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 441 | 500 |
Terraspace/UASM:x64/Release/linnum.asm:13 | ; 131 : #endif
; 132 : return;
; 133 : }
; 134 : DebugMsg1(("AddLinnumDataRef(src=%u.%u): currofs=%Xh, CurrProc=%s, GeneratedCode=%u\n", srcfile, line_num, GetCurrOffset(), CurrProc ? CurrProc->sym.name : "NULL", ModuleInfo.GeneratedCode ));
; 135 :
; 136 : curr = LclAlloc( sizeof( struct line... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 481 | 540 |
Terraspace/UASM:x64/Release/linnum.asm:14 | or BYTE PTR [rcx+41], 64 ; 00000040H
; 147 : AddPublicData( (struct asym *)CurrProc );
mov rcx, QWORD PTR CurrProc
call AddPublicData
$LN21@AddLinnumD:
mov rcx, QWORD PTR CurrProc
$LN13@AddLinnumD:
; 148 : }
; 149 : /* changed v2.03 */
; 150 : /* curr->sym = (struct asym ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 521 | 580 |
Terraspace/UASM:x64/Release/linnum.asm:15 | mov rax, QWORD PTR [rdx+24]
; 158 : ((struct dsym *)dmyproc->segment)->e.seginfo->current_loc -
; 159 : dmyproc->offset;
; 160 : dmyproc = NULL;
mov QWORD PTR dmyproc, 0
mov rcx, QWORD PTR [rax+96]
mov eax, DWORD PTR [rcx+12]
sub eax, DWORD PTR [rdx+16]
mov DWORD PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 561 | 620 |
Terraspace/UASM:x64/Release/linnum.asm:16 | $LN11@AddLinnumD:
; 168 : curr->offset = GetCurrOffset();
; 169 : curr->srcfile = srcfile;
; 170 : }
; 171 : } else {
; 172 : #endif
; 173 : curr->offset = GetCurrOffset();
call GetCurrOffset
; 174 : curr->srcfile = srcfile;
mov DWORD PTR [rbx+16], esi
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 601 | 660 |
Terraspace/UASM:x64/Release/linnum.asm:17 | ; 188 : if ( CurrSeg->e.seginfo->linnum_init == FALSE ) {
mov rax, QWORD PTR ModuleInfo+432
mov rcx, QWORD PTR [rax+96]
movzx eax, BYTE PTR [rcx+107]
test al, 64 ; 00000040H
jne SHORT $LN18@AddLinnumD
; 189 : CurrSeg->e.seginfo->linnum_init = TRUE;
or al, 64 ; 00000040H
mov BYTE PTR [rcx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 641 | 700 |
Terraspace/UASM:x64/Release/linnum.asm:18 | ; 196 :
; 197 : return;
; 198 : }
mov rbx, QWORD PTR [rsp+64]
mov rsi, QWORD PTR [rsp+72]
add rsp, 48 ; 00000030H
pop rdi
ret 0
AddLinnumDataRef ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT sprintf
_TEXT SEGMEN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 681 | 740 |
Terraspace/UASM:x64/Release/linnum.asm:19 | ; 1782 : #pragma warning(disable: 4996) // Deprecation
; 1783 : _Result = _vsprintf_l(_Buffer, _Format, NULL, _ArgList);
call __local_stdio_printf_options
mov r9, rbx
mov QWORD PTR [rsp+40], rsi
or rbx, -1
mov QWORD PTR [rsp+32], 0
mov r8, rbx
mov rdx, rdi
mov rcx, QWORD PTR [rax]
or rcx, 1
call __st... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 721 | 780 |
Terraspace/UASM:x64/Release/linnum.asm:20 | $LN6:
mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rbp
mov QWORD PTR [rsp+24], rsi
push rdi
sub rsp, 48 ; 00000030H
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
; 1456 : #pragma warning(push)
; 1457 : #pragma warning(disable: 4996) // Deprecation
; 1458 : return _vsnprintf_l(_Buffer... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 761 | 820 |
Terraspace/UASM:x64/Release/linnum.asm:21 | ; Function compile flags: /Ogtpy
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT _vsnprintf_l
_TEXT SEGMENT
_Buffer$ = 64
_BufferCount$ = 72
_Format$ = 80
_Locale$ = 88
_ArgList$ = 96
_vsnprintf_l PROC ; COMDAT
; 1385 : {
$LN4:
mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 801 | 860 |
Terraspace/UASM:x64/Release/linnum.asm:22 | ; 1390 : return _Result < 0 ? -1 : _Result;
; 1391 : }
mov rbx, QWORD PTR [rsp+64]
or ecx, -1
mov rbp, QWORD PTR [rsp+72]
test eax, eax
mov rsi, QWORD PTR [rsp+80]
cmovs eax, ecx
add rsp, 48 ; 00000030H
pop rdi
ret 0
_vsnprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File c:\program files... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/linnum.asm | 841 | 871 |
Terraspace/UASM:x64/Release/linnum.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
_DATA SEGMENT
$SG11396 DB '$$$%05u', 00H
_DATA ENDS
PUBLIC __local_stdio_printf_options
PUBLIC spri... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/linnum.asm | 1 | 60 |
Terraspace/UASM:x64/Release/linnum.asm:9 | mov r8, QWORD PTR dmyproc
test r8, r8
je SHORT $LN4@AddLinnumD
mov rax, QWORD PTR [r8+64]
movzx ecx, WORD PTR [rax+14]
cmp ecx, esi
jne SHORT $LN3@AddLinnumD
mov rax, QWORD PTR ModuleInfo+432
cmp QWORD PTR [r8+24], rax
je $LN20@AddLinnumD
$LN3@AddLinnumD:
; 84 : ( dmyproc == NULL ||
; 85 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/linnum.asm | 321 | 380 |
Terraspace/UASM:x64/Release/linnum.asm:17 | ; 188 : if ( CurrSeg->e.seginfo->linnum_init == FALSE ) {
mov rax, QWORD PTR ModuleInfo+432
mov rcx, QWORD PTR [rax+96]
movzx eax, BYTE PTR [rcx+107]
test al, 64 ; 00000040H
jne SHORT $LN18@AddLinnumD
; 189 : CurrSeg->e.seginfo->linnum_init = TRUE;
or al, 64 ; 00000040H
mov BYTE PTR [rcx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/linnum.asm | 641 | 700 |
Terraspace/UASM:x64/Release/linnum.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
_DATA SEGMENT
$SG11394 DB '$$$%05u', 00H
_DATA ENDS
PUBLIC __local_stdio_printf_options
PUBLIC sprintf
PUBLIC AddL... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 1 | 60 |
Terraspace/UASM:x64/Release/linnum.asm:2 | _DATA ENDS
_BSS SEGMENT
dmyproc DQ 01H DUP (?)
lastLineNumber DD 01H DUP (?)
_BSS ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_vsnprintf_l DD imagerel $LN4
DD imagerel $LN4+102
DD imagerel $unwind$_vsnprintf_l
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_vsprintf_l DD imagerel $LN6
DD imagerel $LN6+98
DD imagerel $... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 41 | 100 |
Terraspace/UASM:x64/Release/linnum.asm:3 | $unwind$AddLinnumDataRef DD 060f01H
DD 09640fH
DD 08340fH
DD 0700b520fH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$sprintf DD 041601H
DD 070125216H
DD 030106011H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vsprintf_l DD 081401H
DD 0a6414H
DD 095414H
DD 083414H
DD 070105214H
xdata ENDS
; COMDAT xdata
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 81 | 140 |
Terraspace/UASM:x64/Release/linnum.asm:4 | ; 42 : #if COFF_SUPPORT
; 43 : if ( Options.output_format == OFORMAT_COFF ) {
cmp DWORD PTR Options+144, 2
mov rbx, rcx
jne SHORT $LN2@AddLinnumD
; 44 : q = (struct qdesc *)CurrSeg->e.seginfo->LinnumQueue;
mov rax, QWORD PTR ModuleInfo+432
mov rdx, QWORD PTR [rax+96]
mov r8, QWORD PTR [rdx+56... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 121 | 180 |
Terraspace/UASM:x64/Release/linnum.asm:5 | ; 51 : #endif
; 52 : q = &LinnumQueue;
lea r8, OFFSET FLAT:LinnumQueue
$LN3@AddLinnumD:
; 53 :
; 54 : data->next = NULL;
mov QWORD PTR [rbx], 0
; 55 : if ( q->head == NULL)
cmp QWORD PTR [r8], 0
jne SHORT $LN5@AddLinnumD
; 56 : q->head = q->tail = data;
mov QWORD PTR [r8]... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 161 | 220 |
Terraspace/UASM:x64/Release/linnum.asm:8 | ret 0
LinnumInit ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\linnum.c
_TEXT SEGMENT
procname$1 = 32
srcfile$ = 64
line_num$ = 72
AddLinnumDataRef PROC
; 71 : {
$LN23:
mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rsi
push rdi
sub rsp, 48 ; 00000030H
; ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 281 | 340 |
Terraspace/UASM:x64/Release/linnum.asm:9 | test r8, r8
je SHORT $LN4@AddLinnumD
mov rax, QWORD PTR [r8+64]
movzx ecx, WORD PTR [rax+14]
cmp ecx, esi
jne SHORT $LN3@AddLinnumD
mov rax, QWORD PTR ModuleInfo+432
cmp QWORD PTR [r8+24], rax
je $LN20@AddLinnumD
$LN3@AddLinnumD:
; 84 : ( dmyproc == NULL ||
; 85 : dmyproc->debuginfo->file !... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 321 | 380 |
Terraspace/UASM:x64/Release/linnum.asm:10 | call SymFind
mov QWORD PTR dmyproc, rax
; 97 :
; 98 : /* in pass 1, create the proc */
; 99 : if ( dmyproc == NULL ) {
test rax, rax
jne SHORT $LN5@AddLinnumD
; 100 : dmyproc = CreateProc( NULL, procname, SYM_INTERNAL );
lea r8d, QWORD PTR [rax+1]
xor ecx, ecx
lea rdx, QWORD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 361 | 420 |
Terraspace/UASM:x64/Release/linnum.asm:11 | ; 109 : * by the user - bad! A warning should be displayed */
; 110 : if ( dmyproc->isproc == TRUE ) {
test BYTE PTR [rax+41], 8
je SHORT $LN20@AddLinnumD
; 111 : SetSymSegOfs( dmyproc );
mov rcx, rax
call SetSymSegOfs
; 112 : dmyproc->Ofssize = ModuleInfo.Ofssize;
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 401 | 460 |
Terraspace/UASM:x64/Release/linnum.asm:13 | ; 132 : return;
; 133 : }
; 134 : DebugMsg1(("AddLinnumDataRef(src=%u.%u): currofs=%Xh, CurrProc=%s, GeneratedCode=%u\n", srcfile, line_num, GetCurrOffset(), CurrProc ? CurrProc->sym.name : "NULL", ModuleInfo.GeneratedCode ));
; 135 :
; 136 : curr = LclAlloc( sizeof( struct line_num_info ) );
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 481 | 540 |
Terraspace/UASM:x64/Release/linnum.asm:14 | ; 147 : AddPublicData( (struct asym *)CurrProc );
mov rcx, QWORD PTR CurrProc
call AddPublicData
$LN21@AddLinnumD:
mov rcx, QWORD PTR CurrProc
$LN13@AddLinnumD:
; 148 : }
; 149 : /* changed v2.03 */
; 150 : /* curr->sym = (struct asym *)CurrProc; */
; 151 : curr->sy... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 521 | 580 |
Terraspace/UASM:x64/Release/linnum.asm:15 | ; 158 : ((struct dsym *)dmyproc->segment)->e.seginfo->current_loc -
; 159 : dmyproc->offset;
; 160 : dmyproc = NULL;
mov QWORD PTR dmyproc, 0
mov rcx, QWORD PTR [rax+96]
mov eax, DWORD PTR [rcx+12]
sub eax, DWORD PTR [rdx+16]
mov DWORD PTR [rdx+56], eax
$LN14@AddLinn... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 561 | 620 |
Terraspace/UASM:x64/Release/linnum.asm:16 | ; 168 : curr->offset = GetCurrOffset();
; 169 : curr->srcfile = srcfile;
; 170 : }
; 171 : } else {
; 172 : #endif
; 173 : curr->offset = GetCurrOffset();
call GetCurrOffset
; 174 : curr->srcfile = srcfile;
mov DWORD PTR [rbx+16], esi
mov DWORD PTR [rbx+1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 601 | 660 |
Terraspace/UASM:x64/Release/linnum.asm:17 | mov rax, QWORD PTR ModuleInfo+432
mov rcx, QWORD PTR [rax+96]
movzx eax, BYTE PTR [rcx+107]
test al, 64 ; 00000040H
jne SHORT $LN18@AddLinnumD
; 189 : CurrSeg->e.seginfo->linnum_init = TRUE;
or al, 64 ; 00000040H
mov BYTE PTR [rcx+107], al
; 190 : if ( TypeFromClassName( CurrSeg, Curr... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 641 | 700 |
Terraspace/UASM:x64/Release/linnum.asm:18 | ; 197 : return;
; 198 : }
mov rbx, QWORD PTR [rsp+64]
mov rsi, QWORD PTR [rsp+72]
add rsp, 48 ; 00000030H
pop rdi
ret 0
AddLinnumDataRef ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT sprintf
_TEXT SEGMENT
_Buffer... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 681 | 740 |
Terraspace/UASM:x64/Release/linnum.asm:19 | ; 1783 : _Result = _vsprintf_l(_Buffer, _Format, NULL, _ArgList);
call __local_stdio_printf_options
mov r9, rbx
mov QWORD PTR [rsp+40], rsi
or rbx, -1
mov QWORD PTR [rsp+32], 0
mov r8, rbx
mov rdx, rdi
mov rcx, QWORD PTR [rax]
or rcx, 1
call __stdio_common_vsprintf
test eax, eax
cmovs eax, ebx
; 1784 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 721 | 780 |
Terraspace/UASM:x64/Release/linnum.asm:20 | $LN6:
mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rbp
mov QWORD PTR [rsp+24], rsi
push rdi
sub rsp, 48 ; 00000030H
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
; 1456 : #pragma warning(push)
; 1457 : #pragma warning(disable: 4996) // Deprecation
; 1458 : return _vsnprintf_l(_Buffer... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 761 | 820 |
Terraspace/UASM:x64/Release/linnum.asm:21 | ; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT _vsnprintf_l
_TEXT SEGMENT
_Buffer$ = 64
_BufferCount$ = 72
_Format$ = 80
_Locale$ = 88
_ArgList$ = 96
_vsnprintf_l PROC ; COMDAT
; 1385 : {
$LN4:
mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rbp
mov QWORD PTR [rsp+2... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 801 | 860 |
Terraspace/UASM:x64/Release/linnum.asm:22 | ; 1391 : }
mov rbx, QWORD PTR [rsp+64]
or ecx, -1
mov rbp, QWORD PTR [rsp+72]
test eax, eax
mov rsi, QWORD PTR [rsp+80]
cmovs eax, ecx
add rsp, 48 ; 00000030H
pop rdi
ret 0
_vsnprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/linnum.asm | 841 | 870 |
Terraspace/UASM:x64/Release/linnum.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
_DATA SEGMENT
$SG11389 DB '$$$%05u', 00H
_DATA ENDS
PUBLIC __local_stdio_printf_options
PUBLIC sprintf
PUBLIC AddL... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/linnum.asm | 1 | 60 |
Terraspace/UASM:x64/Release/linnum.asm:9 | test r8, r8
je SHORT $LN4@AddLinnumD
mov rax, QWORD PTR [r8+64]
movzx ecx, WORD PTR [rax+14]
cmp ecx, esi
jne SHORT $LN3@AddLinnumD
mov rax, QWORD PTR ModuleInfo+432
cmp QWORD PTR [r8+24], rax
je $LN20@AddLinnumD
$LN3@AddLinnumD:
; 84 : ( dmyproc == NULL ||
; 85 : dmyproc->debuginfo->file !... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/linnum.asm | 321 | 380 |
Terraspace/UASM:x64/Release/loop.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
$SG11012 DB 01H DUP (?)
_BSS ENDS
PUBLIC LoopDirective
EXTRN isal... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 1 | 60 |
Terraspace/UASM:x64/Release/loop.asm:2 | DD 0116331bH
DD 0f00f0028H
DD 0d00be00dH
DD 07007c009H
DD 050056006H
xdata ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\loop.c
_TEXT SEGMENT
macinfo$ = 0
tmpmacro$ = 32
opnd$ = 160
arg_loc$ = 336
i$ = 336
is_exitm$ = 344
parmstring$ = 344
tokenarray$ = 344
buffer$ = 352
LoopDir... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 41 | 100 |
Terraspace/UASM:x64/Release/loop.asm:3 | shl rax, 5
; 28 : int arg_loc;
; 29 : int len;
; 30 : //int skipcomma;
; 31 : char *parmstring;
; 32 : char *ptr;
; 33 : struct dsym *macro;
; 34 : bool is_exitm;
; 35 : struct expr opnd;
; 36 : struct macro_info macinfo;
; 37 : struct dsym tmpmacro;
; 38 :... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 81 | 140 |
Terraspace/UASM:x64/Release/loop.asm:4 | jl SHORT $LN31@LoopDirect
cmp r15d, 395 ; 0000018bH
jle SHORT $LN108@LoopDirect
cmp r15d, 396 ; 0000018cH
je SHORT $LN25@LoopDirect
$LN31@LoopDirect:
; 73 : default: /* FOR, FORC, IRP, IRPC */
; 74 : /* get the formal parameter and the argument list */
; 75 : /* the format parameter... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 121 | 180 |
Terraspace/UASM:x64/Release/loop.asm:5 | ; 59 : if ( EvalOperand( &i, tokenarray, Token_Count, &opnd, EXPF_NOUNDEF ) == ERROR ) {
mov r8d, DWORD PTR ModuleInfo+496
lea r9, QWORD PTR opnd$[rbp]
mov rdx, rdi
mov BYTE PTR [rsp+32], 2
lea rcx, QWORD PTR i$[rbp]
call EvalOperand
cmp eax, -1
jne SHORT $LN26@LoopDirect
; 60 : opnd.v... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 161 | 220 |
Terraspace/UASM:x64/Release/loop.asm:6 | movsxd rax, DWORD PTR i$[rbp]
shl rax, 5
cmp BYTE PTR [rax+rdi], r13b
je SHORT $LN109@LoopDirect
; 67 : EmitErr( SYNTAX_ERROR_EX, tokenarray[i].tokpos );
mov rdx, QWORD PTR [rax+rdi+24]
mov ecx, 209 ; 000000d1H
call EmitErr
; 68 : /* v2.09: don't exit, the macro lines must be rea... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 201 | 260 |
Terraspace/UASM:x64/Release/loop.asm:7 | add rdx, rdi
mov rax, QWORD PTR [rdx+8]
movzx r8d, BYTE PTR [rax]
lea eax, DWORD PTR [r8-36]
cmp al, 59 ; 0000003bH
ja SHORT $LN101@LoopDirect
mov r9, 576460752706076673 ; 0800000018000001H
bt r9, rax
jb SHORT $LN33@LoopDirect
$LN101@LoopDirect:
cmp r8b, 46 ; 0000002eH
jne SHORT $LN100@LoopDirect
t... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 241 | 300 |
Terraspace/UASM:x64/Release/loop.asm:8 | ; 125 : /* for FOR/IRP, skip everything between the name and the comma!
; 126 : * these items will be stored as (first) macro parameter.
; 127 : * for example, valid syntax is:
; 128 : * FOR xxx,<a, ...>
; 129 : * FOR xxx:REQ,<a, ...>
; 130 : ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 281 | 340 |
Terraspace/UASM:x64/Release/loop.asm:9 | inc ecx
; 137 : /* FOR/IRP accepts a literal enclosed in <> only */
; 138 : if( tokenarray[i].token != T_STRING || tokenarray[i].string_delim != '<' ) {
movsxd rdx, ecx
shl rdx, 5
add rdx, rdi
mov DWORD PTR i$[rbp], ecx
cmp BYTE PTR [rdx], 9
jne SHORT $LN100@LoopDirect
cmp BYTE PTR [r... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 321 | 380 |
Terraspace/UASM:x64/Release/loop.asm:10 | mov rsi, QWORD PTR [rdx+8]
jmp $LN39@LoopDirect
$LN36@LoopDirect:
; 91 :
; 92 : if( directive == T_FORC || directive == T_IRPC ) {
; 93 : if( tokenarray[i].token != T_COMMA ) {
movsxd rdx, ecx
shl rdx, 5
cmp BYTE PTR [rdx+rdi], 44 ; 0000002cH
je SHORT $LN37@LoopDirect
$LN115@LoopDirec... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 361 | 420 |
Terraspace/UASM:x64/Release/loop.asm:11 | ; 99 : len = tokenarray[i+1].tokpos - (tokenarray[i].tokpos+1);
mov ebx, DWORD PTR [rcx+56]
sub ebx, DWORD PTR [rcx+24]
dec ebx
; 100 : parmstring = myalloca( len );
movsxd r12, ebx
lea rax, QWORD PTR [r12+15]
cmp rax, r12
ja SHORT $LN107@LoopDirect
mov rax, 115292150460684... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 401 | 460 |
Terraspace/UASM:x64/Release/loop.asm:12 | ; 104 : *(parmstring+len-1) = NULLC;
movsxd rax, ebx
mov BYTE PTR [rax+rsi-1], r13b
; 105 : /* v2.02: if there's additional stuff behind the <> literal,
; 106 : * it's an error!
; 107 : */
; 108 : if ( tokenarray[i+1].token != T_... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 441 | 500 |
Terraspace/UASM:x64/Release/loop.asm:13 | ; 117 : while ( *ptr2 && ( isspace( *ptr2 ) == FALSE ) )
cmp BYTE PTR [r12], r13b
je SHORT $LN7@LoopDirect
$LL6@LoopDirect:
movsx ecx, BYTE PTR [rbx]
call isspace
test eax, eax
jne SHORT $LN7@LoopDirect
; 118 : ptr2++;
inc rbx
cmp BYTE PTR [rbx], r13b
jne SHORT $LL6@Loo... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 481 | 540 |
Terraspace/UASM:x64/Release/loop.asm:14 | mov rcx, rsi
call memcpy
; 122 : *(parmstring+len) = NULLC;
mov BYTE PTR [rbx+rsi], r13b
$LN113@LoopDirect:
mov ecx, DWORD PTR i$[rbp]
$LN39@LoopDirect:
; 154 : DebugMsg1(("LoopDirective(FOR): param string >%s<\n", parmstring));
; 155 : }
; 156 : /* to run StoreMacr... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 521 | 580 |
Terraspace/UASM:x64/Release/loop.asm:15 | xor edx, edx
lea rcx, QWORD PTR tmpmacro$[rbp]
lea r8d, QWORD PTR [rdx+120]
call memset
; 167 : tmpmacro.sym.name = "";
lea rax, OFFSET FLAT:$SG11012
mov QWORD PTR tmpmacro$[rbp+8], rax
; 168 : tmpmacro.e.macroinfo = &macinfo;
lea rax, QWORD PTR macinfo$[rbp]
mov QWORD PTR tmpmacro$[rbp+96], rax
;... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 561 | 620 |
Terraspace/UASM:x64/Release/loop.asm:16 | ; 183 : DebugMsg1(("LoopDirective(%s): calling StoreMacro\n", GetResWName( directive, NULL )));
; 184 : if( StoreMacro( macro, i, tokenarray, TRUE ) == ERROR ) {
mov edx, DWORD PTR i$[rbp]
lea rcx, QWORD PTR tmpmacro$[rbp]
mov r9b, 1
mov DWORD PTR macinfo$[rbp+24], eax
mov r8, rdi
call StoreMacro
cmp ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 601 | 660 |
Terraspace/UASM:x64/Release/loop.asm:17 | cmp QWORD PTR macinfo$[rbp+16], r13
je $LN78@LoopDirect
lea eax, DWORD PTR [r15-391]
test eax, -3 ; fffffffdH
je $LN52@LoopDirect
; 200 : switch ( directive ) {
cmp r15d, 393 ; 00000189H
jle $LN59@LoopDirect
cmp r15d, 395 ; 0000018bH
jle $LN47@LoopDirect
cmp r15d, 396 ; 0000018cH
jne $LN59... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 641 | 700 |
Terraspace/UASM:x64/Release/loop.asm:18 | jne $LN78@LoopDirect
; 220 : break;
; 221 : i = arg_loc;
; 222 : if ( EvalOperand( &i, tokenarray, Token_Count, &opnd, 0 ) == ERROR )
mov r8d, DWORD PTR ModuleInfo+496
lea r9, QWORD PTR opnd$[rbp]
mov rdx, rdi
mov DWORD PTR i$[rbp], r14d
lea rcx, QWORD PTR i$[rbp]
mov ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 681 | 740 |
Terraspace/UASM:x64/Release/loop.asm:19 | ; 205 : /* v2.10: Token_Count becomes volatile if MF_NOSAVE is set */
; 206 : tokenarray[0].token = T_FINAL;
; 207 : Token_Count = 0;
; 208 : //RunMacro( macro, Token_Count, tokenarray, NULL, MF_NOSAVE, &is_exitm );
; 209 : RunMacro( macro, 0, tokenarray,... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 721 | 780 |
Terraspace/UASM:x64/Release/loop.asm:20 | ; 257 : break;
; 258 : DebugMsg1(("LoopDirective FORC: call RunMacro(), cnt=%" I32_SPEC "u, param=>%s<\n", count++, buffer ));
; 259 : }
; 260 : break;
; 261 : default: /* T_FOR, T_IRP */
; 262 : i = Token_Count + 1;
mov edx, DWORD PTR ModuleInfo+496
; 26... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 761 | 820 |
Terraspace/UASM:x64/Release/loop.asm:21 | mov BYTE PTR [r8+rdi], 9
; 270 : tokenarray[Token_Count].string_delim = NULLC;
movsxd rax, DWORD PTR ModuleInfo+496
shl rax, 5
mov BYTE PTR [rax+rdi+1], r13b
; 271 : tokenarray[Token_Count].stringlen = strlen( tokenarray[Token_Count].tokpos );
movsxd rdx, DWORD PTR ModuleInfo+496
shl ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 801 | 860 |
Terraspace/UASM:x64/Release/loop.asm:22 | mov eax, DWORD PTR i$[rbp]
mov edx, DWORD PTR ModuleInfo+496
$LN60@LoopDirect:
; 275 : }
; 276 :
; 277 : /* a FOR/IRP parameter can be a macro function call */
; 278 : /* that's why the macro calls must be run synchronously */
; 279 : /* v2.05: reset an optional VARARG attribute f... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 841 | 900 |
Terraspace/UASM:x64/Release/loop.asm:23 | ; 291 : if ( i < 0 || is_exitm )
test eax, eax
js $LN78@LoopDirect
cmp BYTE PTR is_exitm$[rbp], r13b
jne $LN78@LoopDirect
; 285 : /* v2.09: flag MF_IGNARGS introduced. This allows RunMacro() to
; 286 : * parse the full argument and trigger macro expansion if necessary.
; 287 : ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 881 | 940 |
Terraspace/UASM:x64/Release/loop.asm:24 | ; 233 : tokenarray[0].tokpos = buffer;
lea rax, QWORD PTR buffer$[rbp]
mov QWORD PTR [rdi+24], rax
; 234 : tokenarray[1].token = T_FINAL;
mov BYTE PTR [rdi+32], r13b
; 235 : buffer[2] = NULLC;
; 236 : Token_Count = 1;
mov DWORD PTR ModuleInfo+496, 1
mov BYTE... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 921 | 980 |
Terraspace/UASM:x64/Release/loop.asm:25 | ; 242 : tokenarray[0].stringlen = 2;
mov DWORD PTR [rdi+16], 2
; 243 : tokenarray[1].tokpos = buffer+2;
lea rax, QWORD PTR buffer$[rbp+2]
jmp SHORT $LN114@LoopDirect
$LN53@LoopDirect:
; 244 : } else if ( isspace( *ptr ) ) {
movsx ecx, al
call isspace
test eax, e... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 961 | 1,020 |
Terraspace/UASM:x64/Release/loop.asm:26 | movzx eax, BYTE PTR [rsi]
mov BYTE PTR buffer$[rbp], al
; 251 : tokenarray[0].stringlen = 1;
; 252 : tokenarray[1].tokpos = buffer+1;
lea rax, QWORD PTR buffer$[rbp+1]
mov DWORD PTR [rdi+16], 1
; 253 : buffer[1] = NULLC;
mov BYTE PTR buffer$[rbp+1], r13b
$LN114... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Release/loop.asm:27 | $LN78@LoopDirect:
; 292 : break;
; 293 : }
; 294 : }
; 295 : ReleaseMacroData( macro );
lea rcx, QWORD PTR tmpmacro$[rbp]
call ReleaseMacroData
; 296 : DebugMsg1(("LoopDirective(%s) exit\n", GetResWName( directive, NULL ) ));
; 297 : return( NOT_ERROR );
xor eax, eax... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/loop.asm | 1,041 | 1,071 |
Terraspace/UASM:x64/Release/loop.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
$SG10989 DB 01H DUP (?)
_BSS ENDS
PUBLIC LoopDirective
EXTRN isal... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/loop.asm | 1 | 60 |
Terraspace/UASM:x64/Release/loop.asm:3 | shl rax, 5
; 28 : int arg_loc;
; 29 : int len;
; 30 : //int skipcomma;
; 31 : char *parmstring;
; 32 : char *ptr;
; 33 : struct dsym *macro;
; 34 : bool is_exitm;
; 35 : struct expr opnd;
; 36 : struct macro_info macinfo;
; 37 : struct dsym tmpmacro;
; 38 :... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/loop.asm | 81 | 140 |
Terraspace/UASM:x64/Release/loop.asm:4 | jl SHORT $LN31@LoopDirect
cmp r15d, 394 ; 0000018aH
jle SHORT $LN108@LoopDirect
cmp r15d, 395 ; 0000018bH
je SHORT $LN25@LoopDirect
$LN31@LoopDirect:
; 73 : default: /* FOR, FORC, IRP, IRPC */
; 74 : /* get the formal parameter and the argument list */
; 75 : /* the format parameter... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/loop.asm | 121 | 180 |
Terraspace/UASM:x64/Release/loop.asm:7 | add rdx, rdi
mov rax, QWORD PTR [rdx+8]
movzx r8d, BYTE PTR [rax]
lea eax, DWORD PTR [r8-36]
cmp al, 59 ; 0000003bH
ja SHORT $LN101@LoopDirect
mov r9, 576460752706076673 ; 0800000018000001H
bt r9, rax
jb SHORT $LN33@LoopDirect
$LN101@LoopDirect:
cmp r8b, 46 ; 0000002eH
jne SHORT $LN100@LoopDirect
t... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/loop.asm | 241 | 300 |
Terraspace/UASM:x64/Release/loop.asm:14 | mov rcx, rsi
call memcpy
; 122 : *(parmstring+len) = NULLC;
mov BYTE PTR [rbx+rsi], r13b
$LN113@LoopDirect:
mov ecx, DWORD PTR i$[rbp]
$LN39@LoopDirect:
; 154 : DebugMsg1(("LoopDirective(FOR): param string >%s<\n", parmstring));
; 155 : }
; 156 : /* to run StoreMacr... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/loop.asm | 521 | 580 |
Terraspace/UASM:x64/Release/loop.asm:15 | xor edx, edx
lea rcx, QWORD PTR tmpmacro$[rbp]
lea r8d, QWORD PTR [rdx+120]
call memset
; 167 : tmpmacro.sym.name = "";
lea rax, OFFSET FLAT:$SG10989
mov QWORD PTR tmpmacro$[rbp+8], rax
; 168 : tmpmacro.e.macroinfo = &macinfo;
lea rax, QWORD PTR macinfo$[rbp]
mov QWORD PTR tmpmacro$[rbp+96], rax
;... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/loop.asm | 561 | 620 |
Terraspace/UASM:x64/Release/loop.asm:16 | ; 183 : DebugMsg1(("LoopDirective(%s): calling StoreMacro\n", GetResWName( directive, NULL )));
; 184 : if( StoreMacro( macro, i, tokenarray, TRUE ) == ERROR ) {
mov edx, DWORD PTR i$[rbp]
lea rcx, QWORD PTR tmpmacro$[rbp]
mov r9b, 1
mov DWORD PTR macinfo$[rbp+24], eax
mov r8, rdi
call StoreMacro
cmp ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/loop.asm | 601 | 660 |
Terraspace/UASM:x64/Release/loop.asm:17 | cmp QWORD PTR macinfo$[rbp+16], r13
je $LN78@LoopDirect
lea eax, DWORD PTR [r15-390]
test eax, -3 ; fffffffdH
je $LN52@LoopDirect
; 200 : switch ( directive ) {
cmp r15d, 392 ; 00000188H
jle $LN59@LoopDirect
cmp r15d, 394 ; 0000018aH
jle $LN47@LoopDirect
cmp r15d, 395 ; 0000018bH
jne $LN59... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/loop.asm | 641 | 700 |
Terraspace/UASM:x64/Release/loop.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
$SG10988 DB 01H DUP (?)
_BSS ENDS
PUBLIC LoopDirective
EXTRN isal... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 28b09fcf7ca2f77034c045fe6612c4a02ec747a9 | github | assembler | https://github.com/Terraspace/UASM/blob/28b09fcf7ca2f77034c045fe6612c4a02ec747a9/x64/Release/loop.asm | 1 | 60 |
Terraspace/UASM:x64/Release/loop.asm:14 | mov rcx, rsi
call memcpy
; 122 : *(parmstring+len) = NULLC;
mov BYTE PTR [rbx+rsi], r13b
$LN113@LoopDirect:
mov ecx, DWORD PTR i$[rbp]
$LN39@LoopDirect:
; 154 : DebugMsg1(("LoopDirective(FOR): param string >%s<\n", parmstring));
; 155 : }
; 156 : /* to run StoreMacr... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 28b09fcf7ca2f77034c045fe6612c4a02ec747a9 | github | assembler | https://github.com/Terraspace/UASM/blob/28b09fcf7ca2f77034c045fe6612c4a02ec747a9/x64/Release/loop.asm | 521 | 580 |
Terraspace/UASM:x64/Release/loop.asm:15 | xor edx, edx
lea rcx, QWORD PTR tmpmacro$[rbp]
lea r8d, QWORD PTR [rdx+120]
call memset
; 167 : tmpmacro.sym.name = "";
lea rax, OFFSET FLAT:$SG10988
mov QWORD PTR tmpmacro$[rbp+8], rax
; 168 : tmpmacro.e.macroinfo = &macinfo;
lea rax, QWORD PTR macinfo$[rbp]
mov QWORD PTR tmpmacro$[rbp+96], rax
;... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 28b09fcf7ca2f77034c045fe6612c4a02ec747a9 | github | assembler | https://github.com/Terraspace/UASM/blob/28b09fcf7ca2f77034c045fe6612c4a02ec747a9/x64/Release/loop.asm | 561 | 620 |
Terraspace/UASM:x64/Release/loop.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
$SG10987 DB 01H DUP (?)
_BSS ENDS
PUBLIC LoopDirective
EXTRN isal... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/loop.asm | 1 | 60 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.