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/label.asm:18 | ; 152 : if ( mem_type == MT_PROC ) {
cmp esi, 128 ; 00000080H
jne SHORT $LN18@CreateLabe
; 153 : DebugMsg1(("CreateLabel(%s): memtype MT_PROC detected, sym.isproc=%u\n", sym->name, sym->isproc ));
; 154 : if ( sym->isproc == FALSE ) {
test BYTE PTR [rbx+41], 8
jne SHORT $LN1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/label.asm | 681 | 740 |
Terraspace/UASM:x64/Release/label.asm:19 | mov DWORD PTR [rbx+36], esi
; 163 : if ( ti ) {
test rbp, rbp
je SHORT $LN7@CreateLabe
; 164 : if ( mem_type == MT_TYPE )
cmp esi, 196 ; 000000c4H
jne SHORT $LN21@CreateLabe
; 165 : sym->type = ti->symtype;
mov rax, QWORD PTR [rbp+8]
mov QWORD PTR [rbx+80], rax
jmp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/label.asm | 721 | 780 |
Terraspace/UASM:x64/Release/label.asm:20 | mov rax, QWORD PTR [rbp+8]
mov QWORD PTR [rbx+48], rax
; 171 : sym->ptr_memtype = ti->ptr_memtype;
movzx eax, BYTE PTR [rbp+24]
mov BYTE PTR [rbx+46], al
; 172 : }
; 173 : }
; 174 : } else {
jmp SHORT $LN7@CreateLabe
$LN13@CreateLabe:
; 131 : } else {
; 132 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/label.asm | 761 | 820 |
Terraspace/UASM:x64/Release/label.asm:21 | ; 140 : return( NULL );
xor eax, eax
jmp SHORT $LN30@CreateLabe
$LN6@CreateLabe:
; 175 : /* save old offset */
; 176 : addr = sym->offset;
mov eax, DWORD PTR [rbx+16]
mov DWORD PTR addr$[rsp], eax
$LN7@CreateLabe:
; 177 : }
; 178 :
; 179 : sym->isdefined = TRUE;
or BY... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/label.asm | 801 | 860 |
Terraspace/UASM:x64/Release/label.asm:22 | ; 188 :
; 189 : if( Parse_Pass != PASS_1 && sym->offset != addr ) {
cmp DWORD PTR Parse_Pass, 0
je SHORT $LN24@CreateLabe
movzx ecx, BYTE PTR ModuleInfo+422
mov eax, DWORD PTR addr$[rsp]
cmp DWORD PTR [rbx+16], eax
cmovne ecx, r15d
mov BYTE PTR ModuleInfo+422, cl
$LN24@CreateLabe:
; 190 : #ifdef DEBUG_O... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/label.asm | 841 | 900 |
Terraspace/UASM:x64/Release/label.asm:23 | CreateLabel ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\label.c
_TEXT SEGMENT
buffer$ = 48
value$ = 56
GetAnonymousLabel PROC
; 63 : {
$LN4:
push rbx
sub rsp, 32 ; 00000020H
; 64 : sprintf( buffer, "L&_%04u", ModuleInfo.g.anonymous_label + value );
mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/label.asm | 881 | 940 |
Terraspace/UASM:x64/Release/label.asm:24 | mov DWORD PTR ModuleInfo+268, 0
; 59 : }
ret 0
LabelInit 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$ = 80
_Format$ = 88
sprintf PROC ; COMDAT
; 1776 : {
$LN8:
mov QWORD PTR [rsp+16],... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/label.asm | 921 | 980 |
Terraspace/UASM:x64/Release/label.asm:25 | 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 : #pragma warning(pop)
; 1785 :
; 1786 : __crt_va_end(_ArgList);... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/label.asm | 961 | 1,020 |
Terraspace/UASM:x64/Release/label.asm:26 | 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, (size_t)-1, _Format, _Locale, _Ar... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/label.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Release/label.asm:27 | _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+24], rsi
push rdi
sub rsp, 48 ; 00000030H
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/label.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Release/label.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
$SG10646 DB 'L&_%04u', 00H
$SG10675 DB 'L&_%04u', 00H
_DATA ENDS
PUBLIC __local_stdio... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/label.asm | 1 | 60 |
Terraspace/UASM:x64/Release/label.asm:13 | $LN2@CreateLabe:
; 87 : }
; 88 : /* v2.06: don't allow a code label (NEAR, FAR, PROC) if CS is
; 89 : * assumed ERROR. This was previously checked for labels with
; 90 : * trailing colon only [in ParseLine()].
; 91 : */
; 92 : if ( ( mem_type & MT_SPECIAL_MASK) == MT_ADDRESS ) {
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/label.asm | 481 | 540 |
Terraspace/UASM:x64/Release/label.asm:14 | ; 98 : }
; 99 :
; 100 : //if( strcmp( name, "@@" ) == 0 ) {
; 101 : if( name[0] == '@' && name[1] == '@' && name[2] == NULLC ) {
cmp BYTE PTR [rcx], 64 ; 00000040H
mov QWORD PTR [rsp+104], r15
jne SHORT $LN5@CreateLabe
cmp BYTE PTR [rcx+1], 64 ; 00000040H
jne SHORT $LN5@CreateLabe
cmp BYTE ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/label.asm | 521 | 580 |
Terraspace/UASM:x64/Release/label.asm:23 | CreateLabel ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\label.c
_TEXT SEGMENT
buffer$ = 48
value$ = 56
GetAnonymousLabel PROC
; 63 : {
$LN4:
push rbx
sub rsp, 32 ; 00000020H
; 64 : sprintf( buffer, "L&_%04u", ModuleInfo.g.anonymous_label + value );
mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/label.asm | 881 | 940 |
Terraspace/UASM:x64/Release/label.asm:4 | ; 208 : {
$LN24:
mov QWORD PTR [rsp+24], rdi
mov DWORD PTR [rsp+8], ecx
push rbp
lea rbp, QWORD PTR [rsp-87]
sub rsp, 192 ; 000000c0H
mov rdi, rdx
; 209 : struct qualified_type ti;
; 210 : struct asym *sym;
; 211 : #if LABELARRAY
; 212 : uint_32 length;
; 213 : #endif
; 214 :
; 215 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/label.asm | 121 | 180 |
Terraspace/UASM:x64/Release/label.asm:6 | ; 231 : DebugMsg1(("LabelDirective(%s): memtype=%Xh, far=%u, ptr=%u, ofssize=%u, type=%s)\n",
; 232 : tokenarray[0].string_ptr, ti.mem_type, ti.is_far, ti.is_ptr, ti.Ofssize, ti.symtype ? ti.symtype->name : "NULL" ));
; 233 :
; 234 : #if LABELARRAY
; 235 : length = -1;
; 236 : #endif
; 237 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/label.asm | 201 | 260 |
Terraspace/UASM:x64/Release/label.asm:7 | shl rax, 5
cmp BYTE PTR [rax+rdi], 58 ; 0000003aH
jne SHORT $LN7@LabelDirec
lea rax, QWORD PTR [rcx+1]
shl rax, 5
cmp BYTE PTR [rax+rdi], 0
je SHORT $LN7@LabelDirec
cmp BYTE PTR Options+127, 0
jne SHORT $LN7@LabelDirec
; 247 : struct expr opnd;
; 248 : i++;
; 249 : if ( EvalOperand... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/label.asm | 241 | 300 |
Terraspace/UASM:x64/Release/label.asm:8 | mov ebx, 1
jmp SHORT $LN11@LabelDirec
$LN10@LabelDirec:
; 254 : else {
; 255 : return( EmitError( CONSTANT_EXPECTED ) );
mov ecx, 66 ; 00000042H
call EmitError
jmp $LN21@LabelDirec
$LN19@LabelDirec:
mov ebx, DWORD PTR opnd$1[rbp-105]
$LN11@LabelDirec:
; 256 : }
; 2... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/label.asm | 281 | 340 |
Terraspace/UASM:x64/Release/label.asm:12 | $LN34:
mov QWORD PTR [rsp+24], rbp
push rsi
push rdi
push r14
sub rsp, 64 ; 00000040H
; 78 : struct asym *sym;
; 79 : uint_32 addr;
; 80 : char buffer[20];
; 81 :
; 82 : DebugMsg1(("CreateLabel(%s, memtype=%Xh, %" I32_SPEC "Xh, %u) enter\n", name, m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/label.asm | 441 | 500 |
Terraspace/UASM:x64/Release/label.asm:13 | $LN2@CreateLabe:
; 87 : }
; 88 : /* v2.06: don't allow a code label (NEAR, FAR, PROC) if CS is
; 89 : * assumed ERROR. This was previously checked for labels with
; 90 : * trailing colon only [in ParseLine()].
; 91 : */
; 92 : if ( ( mem_type & MT_SPECIAL_MASK) == MT_ADDRESS ) {
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/label.asm | 481 | 540 |
Terraspace/UASM:x64/Release/label.asm:15 | ; 107 : /* v2.11: SymLookup...() cannot fail */
; 108 : //if( sym == NULL ) /* name invalid or too long? */
; 109 : // return( NULL );
; 110 :
; 111 : if( Parse_Pass == PASS_1 ) {
cmp DWORD PTR Parse_Pass, 0
mov rbx, rax
mov r15d, 1
jne $LN6@CreateLabe
; 112 : if( sym->state == SY... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/label.asm | 561 | 620 |
Terraspace/UASM:x64/Release/label.asm:16 | cmp eax, esi
je SHORT $LN12@CreateLabe
; 123 : sym->mem_type != mem_type ) {
; 124 : DebugMsg(("CreateLabel(%s): error, memtype conflict %X-%X\n", sym->name, sym->mem_type, mem_type));
; 125 : EmitErr( SYMBOL_TYPE_CONFLICT, name );
mov rdx, rdi
mov ecx, 137 ; ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/label.asm | 601 | 660 |
Terraspace/UASM:x64/Release/label.asm:20 | mov rax, QWORD PTR [rbp+8]
mov QWORD PTR [rbx+48], rax
; 171 : sym->ptr_memtype = ti->ptr_memtype;
movzx eax, BYTE PTR [rbp+24]
mov BYTE PTR [rbx+46], al
; 172 : }
; 173 : }
; 174 : } else {
jmp SHORT $LN7@CreateLabe
$LN13@CreateLabe:
; 131 : } else {
; 132 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/label.asm | 761 | 820 |
Terraspace/UASM:x64/Release/label.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
$SG10644 DB 'L&_%04u', 00H
$SG10673 DB 'L&_%04u', 00H
_DATA ENDS
PUBLIC __local_stdio_printf_options... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 1 | 60 |
Terraspace/UASM:x64/Release/label.asm:2 | EXTRN SegAssumeTable: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$_vsnprintf_l DD imagerel $LN4
DD imagerel $LN4+102
DD imagerel $unwind$_vsnprintf_l
pdata ENDS
; COMDAT ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 41 | 100 |
Terraspace/UASM:x64/Release/label.asm:3 | DD 0e009720dH
DD 060067007H
$unwind$LabelDirective DD 07a101H
DD 01b34a1H
DD 01c7416H
DD 0180116H
DD 0500aH
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... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 81 | 140 |
Terraspace/UASM:x64/Release/label.asm:4 | $LN24:
mov QWORD PTR [rsp+24], rdi
mov DWORD PTR [rsp+8], ecx
push rbp
lea rbp, QWORD PTR [rsp-87]
sub rsp, 192 ; 000000c0H
mov rdi, rdx
; 209 : struct qualified_type ti;
; 210 : struct asym *sym;
; 211 : #if LABELARRAY
; 212 : uint_32 length;
; 213 : #endif
; 214 :
; 215 : if( i != 1 )... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 121 | 180 |
Terraspace/UASM:x64/Release/label.asm:5 | ; 221 : ti.size = 0;
xor eax, eax
mov DWORD PTR i$[rbp-105], 2
mov DWORD PTR ti$[rbp-105], eax
; 222 : ti.is_ptr = 0;
; 223 : ti.is_far = FALSE;
; 224 : ti.mem_type = MT_EMPTY;
; 225 : ti.ptr_memtype = MT_EMPTY;
; 226 : ti.symtype = NULL;
; 227 : ti.Ofssize = ModuleInfo.Ofssize;
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 161 | 220 |
Terraspace/UASM:x64/Release/label.asm:6 | ; 232 : tokenarray[0].string_ptr, ti.mem_type, ti.is_far, ti.is_ptr, ti.Ofssize, ti.symtype ? ti.symtype->name : "NULL" ));
; 233 :
; 234 : #if LABELARRAY
; 235 : length = -1;
; 236 : #endif
; 237 : /* v2.10: first if()-block is to handle all address types ( MT_NEAR, MT_FAR and MT_PROC ) */... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 201 | 260 |
Terraspace/UASM:x64/Release/label.asm:7 | cmp BYTE PTR [rax+rdi], 58 ; 0000003aH
jne SHORT $LN7@LabelDirec
lea rax, QWORD PTR [rcx+1]
shl rax, 5
cmp BYTE PTR [rax+rdi], 0
je SHORT $LN7@LabelDirec
cmp BYTE PTR Options+127, 0
jne SHORT $LN7@LabelDirec
; 247 : struct expr opnd;
; 248 : i++;
; 249 : if ( EvalOperand( &i, tokena... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 241 | 300 |
Terraspace/UASM:x64/Release/label.asm:8 | mov ebx, 1
jmp SHORT $LN11@LabelDirec
$LN10@LabelDirec:
; 254 : else {
; 255 : return( EmitError( CONSTANT_EXPECTED ) );
mov ecx, 65 ; 00000041H
call EmitError
jmp $LN21@LabelDirec
$LN19@LabelDirec:
mov ebx, DWORD PTR opnd$1[rbp-105]
$LN11@LabelDirec:
; 256 : }
; 2... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 281 | 340 |
Terraspace/UASM:x64/Release/label.asm:9 | ; 265 :
; 266 : if ( ModuleInfo.list )
test DWORD PTR ModuleInfo+408, 2048 ; 00000800H
je SHORT $LN13@LabelDirec
; 267 : LstWrite( LSTTYPE_LABEL, 0, NULL );
xor edx, edx
xor r8d, r8d
lea ecx, QWORD PTR [rdx+7]
call LstWrite
$LN13@LabelDirec:
; 268 :
; 269 : /* v2.08: if label is a DATA l... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 321 | 380 |
Terraspace/UASM:x64/Release/label.asm:10 | je SHORT $LN17@LabelDirec
; 277 : #if LABELARRAY
; 278 : if ( length != -1 ) {
cmp ebx, -1 ; ffffffffH
je SHORT $LN16@LabelDirec
; 279 : sym->total_size = ti.size * length;
; 280 : sym->total_length = length;
; 281 : sym->isarray = TRUE;
or r8b... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 361 | 420 |
Terraspace/UASM:x64/Release/label.asm:11 | mov DWORD PTR [rdx+64], 1
mov DWORD PTR [rdx+56], eax
$LN17@LabelDirec:
; 287 : }
; 288 : return( NOT_ERROR );
xor eax, eax
jmp SHORT $LN21@LabelDirec
$LN14@LabelDirec:
; 289 : }
; 290 : return( ERROR );
or eax, -1
$LN21@LabelDirec:
mov rbx, QWORD PTR [rsp+216]
; 291 : }
mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 401 | 460 |
Terraspace/UASM:x64/Release/label.asm:12 | $LN34:
mov QWORD PTR [rsp+24], rbp
push rsi
push rdi
push r14
sub rsp, 64 ; 00000040H
; 78 : struct asym *sym;
; 79 : uint_32 addr;
; 80 : char buffer[20];
; 81 :
; 82 : DebugMsg1(("CreateLabel(%s, memtype=%Xh, %" I32_SPEC "Xh, %u) enter\n", name, m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 441 | 500 |
Terraspace/UASM:x64/Release/label.asm:13 | ; 87 : }
; 88 : /* v2.06: don't allow a code label (NEAR, FAR, PROC) if CS is
; 89 : * assumed ERROR. This was previously checked for labels with
; 90 : * trailing colon only [in ParseLine()].
; 91 : */
; 92 : if ( ( mem_type & MT_SPECIAL_MASK) == MT_ADDRESS ) {
mov eax, edx
an... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 481 | 540 |
Terraspace/UASM:x64/Release/label.asm:14 | ; 99 :
; 100 : //if( strcmp( name, "@@" ) == 0 ) {
; 101 : if( name[0] == '@' && name[1] == '@' && name[2] == NULLC ) {
cmp BYTE PTR [rcx], 64 ; 00000040H
mov QWORD PTR [rsp+104], r15
jne SHORT $LN5@CreateLabe
cmp BYTE PTR [rcx+1], 64 ; 00000040H
jne SHORT $LN5@CreateLabe
cmp BYTE PTR [rcx+2], 0
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 521 | 580 |
Terraspace/UASM:x64/Release/label.asm:15 | ; 107 : /* v2.11: SymLookup...() cannot fail */
; 108 : //if( sym == NULL ) /* name invalid or too long? */
; 109 : // return( NULL );
; 110 :
; 111 : if( Parse_Pass == PASS_1 ) {
cmp DWORD PTR Parse_Pass, 0
mov rbx, rax
mov r15d, 1
jne $LN6@CreateLabe
; 112 : if( sym->state == SY... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 561 | 620 |
Terraspace/UASM:x64/Release/label.asm:16 | je SHORT $LN12@CreateLabe
; 123 : sym->mem_type != mem_type ) {
; 124 : DebugMsg(("CreateLabel(%s): error, memtype conflict %X-%X\n", sym->name, sym->mem_type, mem_type));
; 125 : EmitErr( SYMBOL_TYPE_CONFLICT, name );
mov rdx, rdi
mov ecx, 136 ; 00000088H
cal... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 601 | 660 |
Terraspace/UASM:x64/Release/label.asm:17 | lea rcx, OFFSET FLAT:SymTables
call sym_remove_table
; 130 : sym->state = SYM_INTERNAL;
mov DWORD PTR [rbx+32], r15d
$LN14@CreateLabe:
; 141 : }
; 142 : /* add the label to the linked list attached to curr segment */
; 143 : /* this allows to reduce the number of passes (see... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 641 | 700 |
Terraspace/UASM:x64/Release/label.asm:18 | cmp esi, 128 ; 00000080H
jne SHORT $LN18@CreateLabe
; 153 : DebugMsg1(("CreateLabel(%s): memtype MT_PROC detected, sym.isproc=%u\n", sym->name, sym->isproc ));
; 154 : if ( sym->isproc == FALSE ) {
test BYTE PTR [rbx+41], 8
jne SHORT $LN19@CreateLabe
; 155 : CreatePro... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 681 | 740 |
Terraspace/UASM:x64/Release/label.asm:19 | ; 163 : if ( ti ) {
test rbp, rbp
je SHORT $LN7@CreateLabe
; 164 : if ( mem_type == MT_TYPE )
cmp esi, 196 ; 000000c4H
jne SHORT $LN21@CreateLabe
; 165 : sym->type = ti->symtype;
mov rax, QWORD PTR [rbp+8]
mov QWORD PTR [rbx+80], rax
jmp SHORT $LN7@CreateLabe
$LN21@... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 721 | 780 |
Terraspace/UASM:x64/Release/label.asm:20 | mov QWORD PTR [rbx+48], rax
; 171 : sym->ptr_memtype = ti->ptr_memtype;
movzx eax, BYTE PTR [rbp+24]
mov BYTE PTR [rbx+46], al
; 172 : }
; 173 : }
; 174 : } else {
jmp SHORT $LN7@CreateLabe
$LN13@CreateLabe:
; 131 : } else {
; 132 : /* v2.04: emi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 761 | 820 |
Terraspace/UASM:x64/Release/label.asm:21 | xor eax, eax
jmp SHORT $LN30@CreateLabe
$LN6@CreateLabe:
; 175 : /* save old offset */
; 176 : addr = sym->offset;
mov eax, DWORD PTR [rbx+16]
mov DWORD PTR addr$[rsp], eax
$LN7@CreateLabe:
; 177 : }
; 178 :
; 179 : sym->isdefined = TRUE;
or BYTE PTR [rbx+40], 2
; 180 : /* v2.... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 801 | 860 |
Terraspace/UASM:x64/Release/label.asm:22 | ; 189 : if( Parse_Pass != PASS_1 && sym->offset != addr ) {
cmp DWORD PTR Parse_Pass, 0
je SHORT $LN24@CreateLabe
movzx ecx, BYTE PTR ModuleInfo+422
mov eax, DWORD PTR addr$[rsp]
cmp DWORD PTR [rbx+16], eax
cmovne ecx, r15d
mov BYTE PTR ModuleInfo+422, cl
$LN24@CreateLabe:
; 190 : #ifdef DEBUG_OUT
; 191 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 841 | 900 |
Terraspace/UASM:x64/Release/label.asm:23 | _TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\label.c
_TEXT SEGMENT
buffer$ = 48
value$ = 56
GetAnonymousLabel PROC
; 63 : {
$LN4:
push rbx
sub rsp, 32 ; 00000020H
; 64 : sprintf( buffer, "L&_%04u", ModuleInfo.g.anonymous_label + value );
mov r8d, DWORD PTR ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 881 | 940 |
Terraspace/UASM:x64/Release/label.asm:24 | mov DWORD PTR ModuleInfo+268, 0
; 59 : }
ret 0
LabelInit 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$ = 80
_Format$ = 88
sprintf PROC ; COMDAT
; 1776 : {
$LN8:
mov QWORD PTR [rsp+16],... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 921 | 980 |
Terraspace/UASM:x64/Release/label.asm:25 | 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 : #pragma warning(pop)
; 1785 :
; 1786 : __crt_va_end(_ArgList);
; 1787 : return _Result;
; 178... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 961 | 1,020 |
Terraspace/UASM:x64/Release/label.asm:26 | 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, (size_t)-1, _Format, _Locale, _ArgList);
call __local_stdio_... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Release/label.asm:27 | _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+24], rsi
push rdi
sub rsp, 48 ; 00000030H
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
; 1386 : i... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Release/label.asm:28 | 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\corecrt_stdio_config.h
; COMDAT __local_s... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/label.asm | 1,081 | 1,107 |
Terraspace/UASM:x64/Release/label.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
$SG10639 DB 'L&_%04u', 00H
$SG10668 DB 'L&_%04u', 00H
_DATA ENDS
PUBLIC __local_stdio_printf_options... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/label.asm | 1 | 60 |
Terraspace/UASM:x64/Release/label.asm:13 | ; 87 : }
; 88 : /* v2.06: don't allow a code label (NEAR, FAR, PROC) if CS is
; 89 : * assumed ERROR. This was previously checked for labels with
; 90 : * trailing colon only [in ParseLine()].
; 91 : */
; 92 : if ( ( mem_type & MT_SPECIAL_MASK) == MT_ADDRESS ) {
mov eax, edx
an... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/label.asm | 481 | 540 |
Terraspace/UASM:x64/Release/label.asm:14 | ; 99 :
; 100 : //if( strcmp( name, "@@" ) == 0 ) {
; 101 : if( name[0] == '@' && name[1] == '@' && name[2] == NULLC ) {
cmp BYTE PTR [rcx], 64 ; 00000040H
mov QWORD PTR [rsp+104], r15
jne SHORT $LN5@CreateLabe
cmp BYTE PTR [rcx+1], 64 ; 00000040H
jne SHORT $LN5@CreateLabe
cmp BYTE PTR [rcx+2], 0
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/label.asm | 521 | 580 |
Terraspace/UASM:x64/Release/label.asm:22 | ; 189 : if( Parse_Pass != PASS_1 && sym->offset != addr ) {
cmp DWORD PTR Parse_Pass, 0
je SHORT $LN24@CreateLabe
movzx ecx, BYTE PTR ModuleInfo+422
mov eax, DWORD PTR addr$[rsp]
cmp DWORD PTR [rbx+16], eax
cmovne ecx, r15d
mov BYTE PTR ModuleInfo+422, cl
$LN24@CreateLabe:
; 190 : #ifdef DEBUG_OUT
; 191 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/label.asm | 841 | 900 |
Terraspace/UASM:x64/Release/label.asm:23 | _TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\label.c
_TEXT SEGMENT
buffer$ = 48
value$ = 56
GetAnonymousLabel PROC
; 63 : {
$LN4:
push rbx
sub rsp, 32 ; 00000020H
; 64 : sprintf( buffer, "L&_%04u", ModuleInfo.g.anonymous_label + value );
mov r8d, DWORD PTR ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/label.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/label.asm | 881 | 940 |
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
$SG11442 DB '$$$%05u', 00H
_DATA ENDS
PUBLIC __local_stdio_print... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 1 | 60 |
Terraspace/UASM:x64/Release/linnum.asm:2 | _DATA SEGMENT
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 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 41 | 100 |
Terraspace/UASM:x64/Release/linnum.asm:3 | xdata ENDS
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
x... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 81 | 140 |
Terraspace/UASM:x64/Release/linnum.asm:4 | ; 41 : struct qdesc *q;
; 42 :
; 43 : #if COFF_SUPPORT
; 44 : if ( Options.output_format == OFORMAT_COFF ) {
cmp DWORD PTR Options+144, 2
mov rbx, rcx
jne SHORT $LN2@AddLinnumD
; 45 : q = (struct qdesc *)CurrSeg->e.seginfo->LinnumQueue;
mov rax, QWORD PTR ModuleInfo+432
mov rdx, QWORD ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 121 | 180 |
Terraspace/UASM:x64/Release/linnum.asm:5 | jmp SHORT $LN3@AddLinnumD
$LN2@AddLinnumD:
; 52 : else
; 53 : #endif
; 54 : q = &LinnumQueue;
lea r8, OFFSET FLAT:LinnumQueue
$LN3@AddLinnumD:
; 55 :
; 56 : data->next = NULL;
mov QWORD PTR [rbx], 0
; 57 : if ( q->head == NULL)
cmp QWORD PTR [r8], 0
jne SHORT $LN5@AddLinnumD
;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 161 | 220 |
Terraspace/UASM:x64/Release/linnum.asm:6 | ; 60 : if (ModuleInfo.Ofssize == USE32) {
cmp BYTE PTR ModuleInfo+404, 1
jne SHORT $LN7@AddLinnumD
; 61 : if ((q->tail && ((uint_32)q->tail < 0x00FFFFFF))) {
mov rax, QWORD PTR [r8+8]
test rax, rax
je SHORT $LN10@AddLinnumD
cmp eax, 16777215 ; 00ffffffH
jae SHORT $LN10@AddLinnumD
; 62 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 201 | 260 |
Terraspace/UASM:x64/Release/linnum.asm:7 | mov rdx, 140737488355325 ; 00007ffffffffffdH
lea rax, QWORD PTR [rcx-1]
cmp rax, rdx
ja SHORT $LN10@AddLinnumD
; 69 : ((struct line_num_info *)q->tail)->next = data;
mov QWORD PTR [rcx], rbx
; 70 : q->tail = data;
mov QWORD PTR [r8+8], rbx
$LN10@AddLinnumD:
; 71 : }
; 72 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 241 | 300 |
Terraspace/UASM:x64/Release/linnum.asm:8 | ; 222 : curr = queue->head;
mov rax, QWORD PTR [rcx]
; 223 : for( ; curr ; curr = next ) {
test rax, rax
je SHORT $LN14@QueueDelet
movzx edx, BYTE PTR ModuleInfo+404
mov r8, -34359738367 ; fffffff800000001H
mov r9, 140703128616960 ; 00007ff800000000H
$LL4@QueueDelet:
; 224 : if (ModuleInf... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 281 | 340 |
Terraspace/UASM:x64/Release/linnum.asm:9 | mov rax, QWORD PTR [rax]
test rax, rax
jne SHORT $LL4@QueueDelet
$LN14@QueueDelet:
; 231 : break;
; 232 : }
; 233 : #endif
; 234 : next = curr->next;
; 235 : LclFree( curr );
; 236 : }
; 237 : return;
; 238 : }
ret 0
QueueDeleteLinnum ENDP
_TEXT ENDS
; Function compi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 321 | 380 |
Terraspace/UASM:x64/Release/linnum.asm:10 | ; 251 : DebugMsg(("LinnumFini: last dummy proc size=%Xh\n"));
; 252 : }
; 253 : #endif
; 254 : }
ret 0
LinnumFini ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\linnum.c
_TEXT SEGMENT
LinnumInit PROC
; 259 : lastLineNumber = 0;
xor eax, eax
mov D... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 361 | 420 |
Terraspace/UASM:x64/Release/linnum.asm:11 | mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rsi
push rdi
sub rsp, 48 ; 00000030H
; 86 : struct line_num_info *curr;
; 87 :
; 88 : #if COFF_SUPPORT
; 89 : /* COFF line number info is related to functions/procedures. Since
; 90 : * assembly allows code lines outside of procs, "dum... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 401 | 460 |
Terraspace/UASM:x64/Release/linnum.asm:12 | ; 102 : if ( dmyproc ) {
; 103 : /**/myassert( dmyproc->segment );
; 104 : dmyproc->total_size =
mov rax, QWORD PTR [r8+24]
mov rcx, QWORD PTR [rax+96]
mov eax, DWORD PTR [rcx+12]
sub eax, DWORD PTR [r8+16]
mov DWORD PTR [r8+56], eax
$LN4@AddLinnumD:
; 105 : ((... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 441 | 500 |
Terraspace/UASM:x64/Release/linnum.asm:13 | call CreateProc
; 115 : DebugMsg1(("AddLinnumDataRef: new proc %s created\n", procname ));
; 116 : dmyproc->isproc = TRUE; /* flag is usually set inside ParseProc() */
; 117 : dmyproc->included = TRUE;
; 118 : AddPublicData( dmyproc );
mov rcx, rax
mov QWORD PTR d... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 481 | 540 |
Terraspace/UASM:x64/Release/linnum.asm:14 | mov BYTE PTR [rcx+44], al
; 127 : dmyproc->langtype = ModuleInfo.langtype;
mov eax, DWORD PTR ModuleInfo+364
mov DWORD PTR [rcx+76], eax
; 128 : if ( write_to_file == TRUE ) {
cmp BYTE PTR write_to_file, 1
jne SHORT $LN20@AddLinnumD
; 129 : curr = LclAlloc( sizeof( st... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 521 | 580 |
Terraspace/UASM:x64/Release/linnum.asm:15 | mov rcx, rbx
mov DWORD PTR [rbx+12], eax
call AddLinnumData
$LN20@AddLinnumD:
; 136 : }
; 137 : }
; 138 : }
; 139 : #endif
; 140 :
; 141 : if( line_num && ( write_to_file == FALSE || lastLineNumber == line_num )) {
test edi, edi
je SHORT $LN9@AddLinnumD
cmp BYTE PTR write_to_fi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 561 | 620 |
Terraspace/UASM:x64/Release/linnum.asm:16 | ; 153 : if ( line_num == 0 ) { /* happens for COFF only */
test edi, edi
jne $LN11@AddLinnumD
; 154 : /* changed v2.03 (CurrProc might have been NULL) */
; 155 : /* if ( Options.output_format == OFORMAT_COFF && CurrProc->sym.public == FALSE ) { */
; 156 : /* v2.09: avoid duplicates, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 601 | 660 |
Terraspace/UASM:x64/Release/linnum.asm:17 | test rcx, rcx
cmovne rax, rcx
mov QWORD PTR [rbx+16], rax
; 166 : curr->line_number = GetLineNumber();
call GetLineNumber
; 167 : curr->file = srcfile;
; 168 : /* set the function's size! */
; 169 : if ( dmyproc ) {
mov rdx, QWORD PTR dmyproc
and eax, 1048575 ; 000... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 641 | 700 |
Terraspace/UASM:x64/Release/linnum.asm:18 | mov rax, QWORD PTR CurrProc
test rax, rax
je SHORT $LN12@AddLinnumD
mov rax, QWORD PTR [rax+96]
cmp BYTE PTR [rax+129], 0
je SHORT $LN12@AddLinnumD
; 178 : DebugMsg1(("AddLinnumDataRef: calling AddLinnumData(src=%u.%u) sym=%s\n", curr->file, curr->line_number, curr->sym->name ));
; 179 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 681 | 740 |
Terraspace/UASM:x64/Release/linnum.asm:19 | ; 189 : #if COFF_SUPPORT
; 190 : }
; 191 : #endif
; 192 : lastLineNumber = line_num;
; 193 :
; 194 : /* v2.11: added, improved multi source support for CV.
; 195 : * Also, the size of line number info could have become > 1024,
; 196 : * ( even > 4096, thus causing an "internal error in omf... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 721 | 780 |
Terraspace/UASM:x64/Release/linnum.asm:20 | mov rdx, QWORD PTR [rcx+96]
mov rdx, QWORD PTR [rdx+80]
call TypeFromClassName
cmp eax, 1
je SHORT $LN18@AddLinnumD
; 205 : EmitWarn( 2, LINNUM_INFO_FOR_SEGMENT_WITHOUT_CLASS_CODE, CurrSeg->sym.name );
mov r8, QWORD PTR ModuleInfo+432
mov edx, 187 ; 000000bbH
mov ecx, 2
mov r8, QWORD PTR [r8+8... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 761 | 820 |
Terraspace/UASM:x64/Release/linnum.asm:21 | _Format$ = 88
sprintf PROC ; COMDAT
; 1776 : {
$LN8:
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 rbx, rdx
; 1777 : int _Result;
; 1778 : va_list _ArgList;
; 1779 : __crt_va_start(_ArgList, _Forma... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 801 | 860 |
Terraspace/UASM:x64/Release/linnum.asm:22 | ; 1784 : #pragma warning(pop)
; 1785 :
; 1786 : __crt_va_end(_ArgList);
; 1787 : return _Result;
; 1788 : }
add rsp, 48 ; 00000030H
pop rdi
pop rsi
pop rbx
ret 0
sprintf ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 841 | 900 |
Terraspace/UASM:x64/Release/linnum.asm:23 | call __local_stdio_printf_options
mov QWORD PTR [rsp+40], rbx
mov r9, rsi
or rbx, -1
mov QWORD PTR [rsp+32], rdi
mov r8, rbx
mov rdx, rbp
mov rcx, QWORD PTR [rax]
or rcx, 1
call __stdio_common_vsprintf
; 1459 : #pragma warning(pop)
; 1460 : }
mov rbp, QWORD PTR [rsp+72]
test eax, eax
mov rsi, QWORD PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 881 | 940 |
Terraspace/UASM:x64/Release/linnum.asm:24 | mov QWORD PTR [rsp+24], rsi
push rdi
sub rsp, 48 ; 00000030H
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
; 1386 : int const _Result = __stdio_common_vsprintf(
call __local_stdio_printf_options
mov r9, rdi
mov r8, rsi
mov rdx, rbp
mov rcx, QWORD PTR [rax]
mov rax, QWORD PTR _ArgList$[rsp]
or... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/linnum.asm | 921 | 975 |
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
$SG11419 DB '$$$%05u', 00H
_DATA ENDS
PUBLIC __local_stdio_print... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/linnum.asm | 1 | 60 |
Terraspace/UASM:x64/Release/linnum.asm:2 | _DATA SEGMENT
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 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/linnum.asm | 41 | 100 |
Terraspace/UASM:x64/Release/linnum.asm:11 | mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rsi
push rdi
sub rsp, 48 ; 00000030H
; 86 : struct line_num_info *curr;
; 87 :
; 88 : #if COFF_SUPPORT
; 89 : /* COFF line number info is related to functions/procedures. Since
; 90 : * assembly allows code lines outside of procs, "dum... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/linnum.asm | 401 | 460 |
Terraspace/UASM:x64/Release/linnum.asm:12 | ; 102 : if ( dmyproc ) {
; 103 : /**/myassert( dmyproc->segment );
; 104 : dmyproc->total_size =
mov rax, QWORD PTR [r8+24]
mov rcx, QWORD PTR [rax+96]
mov eax, DWORD PTR [rcx+12]
sub eax, DWORD PTR [r8+16]
mov DWORD PTR [r8+56], eax
$LN4@AddLinnumD:
; 105 : ((... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/linnum.asm | 441 | 500 |
Terraspace/UASM:x64/Release/linnum.asm:17 | test rcx, rcx
cmovne rax, rcx
mov QWORD PTR [rbx+16], rax
; 166 : curr->line_number = GetLineNumber();
call GetLineNumber
; 167 : curr->file = srcfile;
; 168 : /* set the function's size! */
; 169 : if ( dmyproc ) {
mov rdx, QWORD PTR dmyproc
and eax, 1048575 ; 000... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/linnum.asm | 641 | 700 |
Terraspace/UASM:x64/Release/linnum.asm:18 | mov rax, QWORD PTR CurrProc
test rax, rax
je SHORT $LN12@AddLinnumD
mov rax, QWORD PTR [rax+96]
cmp BYTE PTR [rax+85], 0
je SHORT $LN12@AddLinnumD
; 178 : DebugMsg1(("AddLinnumDataRef: calling AddLinnumData(src=%u.%u) sym=%s\n", curr->file, curr->line_number, curr->sym->name ));
; 179 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/linnum.asm | 681 | 740 |
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
$SG11418 DB '$$$%05u', 00H
_DATA ENDS
PUBLIC __local_stdio_print... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 28b09fcf7ca2f77034c045fe6612c4a02ec747a9 | github | assembler | https://github.com/Terraspace/UASM/blob/28b09fcf7ca2f77034c045fe6612c4a02ec747a9/x64/Release/linnum.asm | 1 | 60 |
Terraspace/UASM:x64/Release/linnum.asm:11 | mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rsi
push rdi
sub rsp, 48 ; 00000030H
; 86 : struct line_num_info *curr;
; 87 :
; 88 : #if COFF_SUPPORT
; 89 : /* COFF line number info is related to functions/procedures. Since
; 90 : * assembly allows code lines outside of procs, "dum... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 28b09fcf7ca2f77034c045fe6612c4a02ec747a9 | github | assembler | https://github.com/Terraspace/UASM/blob/28b09fcf7ca2f77034c045fe6612c4a02ec747a9/x64/Release/linnum.asm | 401 | 460 |
Terraspace/UASM:x64/Release/linnum.asm:12 | ; 102 : if ( dmyproc ) {
; 103 : /**/myassert( dmyproc->segment );
; 104 : dmyproc->total_size =
mov rax, QWORD PTR [r8+24]
mov rcx, QWORD PTR [rax+96]
mov eax, DWORD PTR [rcx+12]
sub eax, DWORD PTR [r8+16]
mov DWORD PTR [r8+56], eax
$LN4@AddLinnumD:
; 105 : ((... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 28b09fcf7ca2f77034c045fe6612c4a02ec747a9 | github | assembler | https://github.com/Terraspace/UASM/blob/28b09fcf7ca2f77034c045fe6612c4a02ec747a9/x64/Release/linnum.asm | 441 | 500 |
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
$SG11417 DB '$$$%05u', 00H
_DATA ENDS
PUBLIC __local_stdio_print... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/linnum.asm | 1 | 60 |
Terraspace/UASM:x64/Release/linnum.asm:11 | mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rsi
push rdi
sub rsp, 48 ; 00000030H
; 86 : struct line_num_info *curr;
; 87 :
; 88 : #if COFF_SUPPORT
; 89 : /* COFF line number info is related to functions/procedures. Since
; 90 : * assembly allows code lines outside of procs, "dum... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/linnum.asm | 401 | 460 |
Terraspace/UASM:x64/Release/linnum.asm:12 | ; 102 : if ( dmyproc ) {
; 103 : /**/myassert( dmyproc->segment );
; 104 : dmyproc->total_size =
mov rax, QWORD PTR [r8+24]
mov rcx, QWORD PTR [rax+96]
mov eax, DWORD PTR [rcx+12]
sub eax, DWORD PTR [r8+16]
mov DWORD PTR [r8+56], eax
$LN4@AddLinnumD:
; 105 : ((... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/linnum.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/linnum.asm | 441 | 500 |
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
$SG11399 DB '$$$%05u', 00H
_DATA ENDS
PUBLIC __local_stdio_print... | 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 | 1 | 60 |
Terraspace/UASM:x64/Release/linnum.asm:2 | _DATA SEGMENT
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 ... | 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 | 41 | 100 |
Terraspace/UASM:x64/Release/linnum.asm:3 | xdata ENDS
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
x... | 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 | 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 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/linnum.asm | 121 | 180 |
Terraspace/UASM:x64/Release/linnum.asm:5 | $LN2@AddLinnumD:
; 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;
... | 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 | 161 | 220 |
Terraspace/UASM:x64/Release/linnum.asm:6 | ; 59 : q->tail = data;
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 ... | 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 | 201 | 260 |
Terraspace/UASM:x64/Release/linnum.asm:7 | ; 223 : if ( dmyproc ) {
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 : ... | 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 | 241 | 300 |
Terraspace/UASM:x64/Release/linnum.asm:8 | ; 238 : #endif
; 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
su... | 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 | 281 | 340 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.