id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Terraspace/UASM:x64/Debug/label.asm:26 | mov rcx, QWORD PTR [rcx+8]
mov QWORD PTR [rax+56], rcx
; 171 : sym->ptr_memtype = ti->ptr_memtype;
mov rax, QWORD PTR sym$[rsp]
mov rcx, QWORD PTR ti$[rsp]
movzx ecx, BYTE PTR [rcx+24]
mov BYTE PTR [rax+54], cl
$LN22@CreateLabe:
$LN20@CreateLabe:
; 172 : }
; 173 : }
; 174 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/label.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/label.asm:27 | ; 183 : */
; 184 : if ( sym->isdata == FALSE )
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+49]
shr al, 2
and al, 1
movzx eax, al
test eax, eax
jne SHORT $LN23@CreateLabe
; 185 : sym->asmpass = Parse_Pass;
mov rax, QWORD PTR sym$[rsp]
movzx ecx, BYTE PTR Parse_Pass
mov BYTE PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/label.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/label.asm:28 | ; 192 : DebugMsg(("CreateLabel: Phase error, pass %u, sym >%s< first time, new=%" I32_SPEC "X - old=%" I32_SPEC "X\n", Parse_Pass+1, sym->name, sym->offset, addr));
mov eax, DWORD PTR Parse_Pass
inc eax
mov ecx, DWORD PTR addr$[rsp]
mov DWORD PTR [rsp+32], ecx
mov rcx, QWORD PTR sym$[rsp]
mov r9d, D... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/label.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Debug/label.asm:29 | ; 198 : BackPatch( sym );
mov rcx, QWORD PTR sym$[rsp]
call BackPatch
; 199 : return( sym );
mov rax, QWORD PTR sym$[rsp]
$LN1@CreateLabe:
; 200 : }
mov rcx, QWORD PTR __$ArrayPad$[rsp]
xor rcx, rsp
call __security_check_cookie
add rsp, 120 ; 00000078H
ret 0
CreateLabel ENDP
_TEXT ENDS
; Func... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/label.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Debug/label.asm:30 | lea rdx, OFFSET FLAT:$SG10671
mov rcx, QWORD PTR buffer$[rsp]
call sprintf
; 65 : return( buffer );
mov rax, QWORD PTR buffer$[rsp]
; 66 : }
add rsp, 40 ; 00000028H
ret 0
GetAnonymousLabel ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\label.c
_TEXT SEG... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/label.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Debug/label.asm:31 | $LN3:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+32], r9
sub rsp, 56 ; 00000038H
; 1777 : int _Result;
; 1778 : va_list _ArgList;
; 1779 : __crt_va_start(_ArgList, _Format);
lea rax, QWORD PTR _Format$[rsp+8]
mov QWORD PTR _ArgList$[rsp]... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/label.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Debug/label.asm:32 | sprintf ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT _vsprintf_l
_TEXT SEGMENT
_Buffer$ = 64
_Format$ = 72
_Locale$ = 80
_ArgList$ = 88
_vsprintf_l PROC ; COMDAT
; 1455 : {
$LN3:
mov QWORD PTR [rsp+32], r9
mov QWORD PTR ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/label.asm | 1,241 | 1,300 |
Terraspace/UASM:x64/Debug/label.asm:33 | ; Function compile flags: /Odtp
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT _vsnprintf_l
_TEXT SEGMENT
_Result$ = 48
tv74 = 52
_Buffer$ = 80
_BufferCount$ = 88
_Format$ = 96
_Locale$ = 104
_ArgList$ = 112
_vsnprintf_l PROC ; COMDAT
; 1385 : {
$LN5:
mov QWORD PTR [rsp+... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/label.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Debug/label.asm:34 | ; 1389 :
; 1390 : return _Result < 0 ? -1 : _Result;
cmp DWORD PTR _Result$[rsp], 0
jge SHORT $LN3@vsnprintf_
mov DWORD PTR tv74[rsp], -1
jmp SHORT $LN4@vsnprintf_
$LN3@vsnprintf_:
mov eax, DWORD PTR _Result$[rsp]
mov DWORD PTR tv74[rsp], eax
$LN4@vsnprintf_:
mov eax, DWORD PTR tv74[rsp]
; 1391 : }
add r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/label.asm | 1,321 | 1,356 |
Terraspace/UASM:x64/Debug/label.asm:9 | mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i$[rsp], eax
; 249 : if ( EvalOperand( &i, tokenarray, Token_Count, &opnd, 0 ) == ERROR )
mov BYTE PTR [rsp+32], 0
lea r9, QWORD PTR opnd$1[rsp]
mov r8d, DWORD PTR ModuleInfo+496
mov rdx, QWORD PTR tokenarray$[rsp]
lea rcx, QWORD PTR i$[rsp]
call EvalO... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/label.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/label.asm:11 | $LN12@LabelDirec:
; 264 : }
; 265 :
; 266 : if ( ModuleInfo.list )
mov eax, DWORD PTR ModuleInfo+408
shr eax, 11
and eax, 1
test eax, eax
je SHORT $LN13@LabelDirec
; 267 : LstWrite( LSTTYPE_LABEL, 0, NULL );
xor r8d, r8d
xor edx, edx
mov ecx, 7
call LstWrite
$LN13@LabelDirec:
; 268 :
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/label.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/label.asm:12 | mov r8d, DWORD PTR [rax+36]
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
lea rcx, OFFSET FLAT:$SG10756
call DoDebugMsg1
; 272 : /* sym->isdata must be 0, else the LABEL directive was generated within data_item()
; 273 : * and fields total_size & total_length must not be modified then!... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/label.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/label.asm:13 | mov rax, QWORD PTR sym$[rsp]
mov ecx, DWORD PTR length$[rsp]
mov DWORD PTR [rax+64], ecx
; 281 : sym->isarray = TRUE;
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+41]
or al, 2
mov rcx, QWORD PTR sym$[rsp]
mov BYTE PTR [rcx+41], al
; 282 : } else
jmp SHORT $LN17@LabelDi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/label.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/label.asm:17 | mov rcx, QWORD PTR name$[rsp]
movsx eax, BYTE PTR [rcx+rax]
cmp eax, 64 ; 00000040H
jne SHORT $LN5@CreateLabe
mov eax, 1
imul rax, rax, 2
mov rcx, QWORD PTR name$[rsp]
movsx eax, BYTE PTR [rcx+rax]
test eax, eax
jne SHORT $LN5@CreateLabe
; 102 : sprintf( buffer, "L&_%04u", ++ModuleInfo.g.anonymou... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/label.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/label.asm:18 | call SymLookup
mov QWORD PTR tv135[rsp], rax
$LN29@CreateLabe:
mov rax, QWORD PTR tv135[rsp]
mov QWORD PTR sym$[rsp], rax
; 107 : /* v2.11: SymLookup...() cannot fail */
; 108 : //if( sym == NULL ) /* name invalid or too long? */
; 109 : // return( NULL );
; 110 :
; 111 : if( Parse_Pass == P... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/label.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/label.asm:19 | movzx eax, BYTE PTR bLocal$[rsp]
test eax, eax
je SHORT $LN10@CreateLabe
cmp QWORD PTR CurrProc, 0
je SHORT $LN10@CreateLabe
$LN11@CreateLabe:
; 117 : DebugMsg(("CreateLabel(%s): error, EXTERNDEF for local label\n", sym->name));
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
lea rcx, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/label.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/label.asm:20 | mov r9d, DWORD PTR mem_type$[rsp]
mov rax, QWORD PTR sym$[rsp]
mov r8d, DWORD PTR [rax+36]
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
lea rcx, OFFSET FLAT:$SG10711
call DoDebugMsg
; 125 : EmitErr( SYMBOL_TYPE_CONFLICT, name );
mov rdx, QWORD PTR name$[rsp]
mov ecx, 136 ; 00000... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/label.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/label.asm:21 | ; 130 : sym->state = SYM_INTERNAL;
mov rax, QWORD PTR sym$[rsp]
mov DWORD PTR [rax+32], 1
; 131 : } else {
jmp SHORT $LN14@CreateLabe
$LN13@CreateLabe:
; 132 : /* v2.04: emit a more distinctive error msg */
; 133 : if ( sym->state == SYM_INTERNAL && sym->mem_type =... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/label.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/label.asm:22 | ; 140 : return( NULL );
xor eax, eax
jmp $LN1@CreateLabe
$LN14@CreateLabe:
$LN9@CreateLabe:
; 141 : }
; 142 : /* add the label to the linked list attached to curr segment */
; 143 : /* this allows to reduce the number of passes (see fixup.c) */
; 144 : ((struct dsym ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/label.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/label.asm:23 | ; 150 :
; 151 : /* v2.05: added to accept type prototypes */
; 152 : if ( mem_type == MT_PROC ) {
cmp DWORD PTR mem_type$[rsp], 128 ; 00000080H
jne $LN18@CreateLabe
; 153 : DebugMsg1(("CreateLabel(%s): memtype MT_PROC detected, sym.isproc=%u\n", sym->name, sym->isproc ));
mov rax,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/label.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/label.asm:24 | mov rax, QWORD PTR ti$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR sym$[rsp]
call CopyPrototype
$LN19@CreateLabe:
; 157 : }
; 158 : mem_type = ti->symtype->mem_type;
mov rax, QWORD PTR ti$[rsp]
mov rax, QWORD PTR [rax+8]
mov eax, DWORD PTR [rax+36]
mov DWORD PTR mem_type$[rsp],... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/label.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/label.asm:25 | mov rax, QWORD PTR sym$[rsp]
mov rcx, QWORD PTR ti$[rsp]
mov rcx, QWORD PTR [rcx+8]
mov QWORD PTR [rax+80], rcx
jmp SHORT $LN22@CreateLabe
$LN21@CreateLabe:
; 166 : else {
; 167 : sym->Ofssize = ti->Ofssize;
mov rax, QWORD PTR sym$[rsp]
mov rcx, QWORD PTR ti$[rsp]
movzx ecx, BYTE ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/label.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/label.asm:26 | mov rcx, QWORD PTR [rcx+8]
mov QWORD PTR [rax+48], rcx
; 171 : sym->ptr_memtype = ti->ptr_memtype;
mov rax, QWORD PTR sym$[rsp]
mov rcx, QWORD PTR ti$[rsp]
movzx ecx, BYTE PTR [rcx+24]
mov BYTE PTR [rax+46], cl
$LN22@CreateLabe:
$LN20@CreateLabe:
; 172 : }
; 173 : }
; 174 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/label.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/label.asm:27 | ; 183 : */
; 184 : if ( sym->isdata == FALSE )
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+41]
shr al, 2
and al, 1
movzx eax, al
test eax, eax
jne SHORT $LN23@CreateLabe
; 185 : sym->asmpass = Parse_Pass;
mov rax, QWORD PTR sym$[rsp]
movzx ecx, BYTE PTR Parse_Pass
mov BYTE PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/label.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/label.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10633 DB 'L&_%04u', 00H
$SG10658 DB 'CreateLabel(%s, memtype... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/label.asm:2 | PUBLIC __local_stdio_printf_options
PUBLIC _vsnprintf_l
PUBLIC _vsprintf_l
PUBLIC sprintf
PUBLIC LabelInit
PUBLIC GetAnonymousLabel
PUBLIC CreateLabel
PUBLIC LabelDirective
EXTRN __imp___stdio_common_vsprintf:PROC
EXTRN DoDebugMsg:PROC
EXTRN DoDebugMsg1:PROC
EXTRN EmitError:PROC
EXTRN EmitErr:PROC
EXTRN SymLookup:PROC
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/label.asm:3 | pdata SEGMENT
$pdata$__local_stdio_printf_options DD imagerel $LN3
DD imagerel $LN3+11
DD imagerel $unwind$__local_stdio_printf_options
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_vsnprintf_l DD imagerel $LN5
DD imagerel $LN5+140
DD imagerel $unwind$_vsnprintf_l
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_v... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/label.asm:4 | rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$IMZ ENDS
CONST SEGMENT
CreateLabel$rtcName$0 DB 062H
DB 075H
DB 066H
DB 066H
DB 065H
DB 072H
DB 00H
ORG $+9
CreateLabel$rtcVarDesc DD 048H
DD 014H
DQ FLAT:CreateLabel$rtcName$0
ORG $+48
CreateLabel$rtcFrameData DD 01... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/label.asm:5 | DQ FLAT:LabelDirective$rtcVarDesc
CONST ENDS
xdata SEGMENT
$unwind$LabelInit DD 010201H
DD 07002H
$unwind$GetAnonymousLabel DD 022201H
DD 0700a320eH
$unwind$CreateLabel DD 024119H
DD 07014f21bH
DD imagerel __GSHandlerCheck
DD 078H
$unwind$LabelDirective DD 032701H
DD 0260111H
DD 0700aH
xdata ENDS
; COMDAT xdata
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/label.asm:6 | ; COMDAT xdata
xdata SEGMENT
$unwind$_vsprintf_l DD 022d01H
DD 070155219H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vsnprintf_l DD 022d01H
DD 070157219H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$__local_stdio_printf_options DD 010201H
DD 07002H
xdata ENDS
; Function compile flags: /Odtp /RTCsu
; File d:... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/label.asm:7 | ; 209 : struct qualified_type ti;
; 210 : struct asym *sym;
; 211 : #if LABELARRAY
; 212 : uint_32 length;
; 213 : #endif
; 214 :
; 215 : if( i != 1 ) { /* LABEL must be preceded by an ID */
cmp DWORD PTR i$[rsp], 1
je SHORT $LN2@LabelDirec
; 216 : return( EmitErr( SYNTAX_ERROR_EX, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/label.asm:8 | ; 223 : ti.is_far = FALSE;
mov BYTE PTR ti$[rsp+21], 0
; 224 : ti.mem_type = MT_EMPTY;
mov DWORD PTR ti$[rsp+16], 192 ; 000000c0H
; 225 : ti.ptr_memtype = MT_EMPTY;
mov DWORD PTR ti$[rsp+24], 192 ; 000000c0H
; 226 : ti.symtype = NULL;
mov QWORD PTR ti$[rsp+8], 0
; 227 : ti.Ofssize... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/label.asm:9 | je SHORT $LN19@LabelDirec
mov rax, QWORD PTR ti$[rsp+8]
mov rax, QWORD PTR [rax+8]
mov QWORD PTR tv80[rsp], rax
jmp SHORT $LN20@LabelDirec
$LN19@LabelDirec:
lea rax, OFFSET FLAT:$SG10705
mov QWORD PTR tv80[rsp], rax
$LN20@LabelDirec:
movzx eax, BYTE PTR ti$[rsp+22]
movzx ecx, BYTE PTR ti$[rsp+20]
movzx edx, BY... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/label.asm:10 | and eax, 192 ; 000000c0H
cmp eax, 128 ; 00000080H
jne SHORT $LN4@LabelDirec
; 240 : /* dont allow near16/far16/near32/far32 if size won't match */
; 241 : if ( ti.Ofssize != USE_EMPTY && ModuleInfo.Ofssize != ti.Ofssize ) {
movzx eax, BYTE PTR ti$[rsp+22]
cmp eax, 254 ; 000000feH
je SH... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/label.asm:11 | imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
test eax, eax
je $LN7@LabelDirec
movzx eax, BYTE PTR Options+143
test eax, eax
jne $LN7@LabelDirec
; 247 : struct expr opnd;
; 248 : i++;
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i$[r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/label.asm:12 | cmp QWORD PTR opnd$5[rsp+80], 0
je SHORT $LN10@LabelDirec
mov rax, QWORD PTR opnd$5[rsp+80]
cmp DWORD PTR [rax+32], 0
jne SHORT $LN10@LabelDirec
; 253 : opnd.value = 1;
mov DWORD PTR opnd$5[rsp], 1
jmp SHORT $LN11@LabelDirec
$LN10@LabelDirec:
; 254 : else {
; 255 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/label.asm:13 | je SHORT $LN12@LabelDirec
; 263 : return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].tokpos ) ); /* v2.10: display tokpos */
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+24]
mov ecx, 209 ; 000000d1H
call EmitErr
jmp $LN1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/label.asm:14 | mov rcx, QWORD PTR tokenarray$[rsp]
mov rcx, QWORD PTR [rcx+rax+8]
call CreateLabel
mov QWORD PTR sym$[rsp], rax
cmp QWORD PTR sym$[rsp], 0
je $LN14@LabelDirec
; 271 : DebugMsg1(("LabelDirective(%s): label created, memtype=%Xh size=%u\n", sym->name, sym->mem_type, ti.size ));
mov r9d, DWORD PTR ti$[rsp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/label.asm:15 | je SHORT $LN16@LabelDirec
; 279 : sym->total_size = ti.size * length;
mov eax, DWORD PTR ti$[rsp]
imul eax, DWORD PTR length$[rsp]
mov rcx, QWORD PTR sym$[rsp]
mov DWORD PTR [rcx+56], eax
; 280 : sym->total_length = length;
mov rax, QWORD PTR sym$[rsp]
mov ecx, DWORD PTR leng... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/label.asm:16 | $LN17@LabelDirec:
$LN15@LabelDirec:
; 287 : }
; 288 : return( NOT_ERROR );
xor eax, eax
jmp SHORT $LN1@LabelDirec
$LN14@LabelDirec:
; 289 : }
; 290 : return( ERROR );
mov eax, -1
$LN1@LabelDirec:
; 291 : }
mov rdi, rax
mov rcx, rsp
lea rdx, OFFSET FLAT:LabelDirective$rtcFram... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/label.asm:17 | CreateLabel PROC
; 77 : {
$LN30:
mov BYTE PTR [rsp+32], r9b
mov QWORD PTR [rsp+24], r8
mov DWORD PTR [rsp+16], edx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 128 ; 00000080H
mov rdi, rsp
mov ecx, 32 ; 00000020H
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+144]
mov rax, Q... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/label.asm:18 | ; 85 : EmitError( MUST_BE_IN_SEGMENT_BLOCK );
mov ecx, 82 ; 00000052H
call EmitError
; 86 : return( NULL );
xor eax, eax
jmp $LN1@CreateLabe
$LN2@CreateLabe:
; 87 : }
; 88 : /* v2.06: don't allow a code label (NEAR, FAR, PROC) if CS is
; 89 : * assumed ERROR. This was ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/label.asm:19 | call EmitError
; 96 : return( NULL );
xor eax, eax
jmp $LN1@CreateLabe
$LN4@CreateLabe:
$LN3@CreateLabe:
; 97 : }
; 98 : }
; 99 :
; 100 : //if( strcmp( name, "@@" ) == 0 ) {
; 101 : if( name[0] == '@' && name[1] == '@' && name[2] == NULLC ) {
mov eax, 1
imul rax, rax, 0... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/label.asm:20 | lea rdx, OFFSET FLAT:$SG10664
lea rcx, QWORD PTR buffer$[rsp]
call sprintf
; 103 : name = buffer;
lea rax, QWORD PTR buffer$[rsp]
mov QWORD PTR name$[rsp], rax
$LN5@CreateLabe:
; 104 : }
; 105 :
; 106 : sym = ( bLocal ? SymLookupLocal( name ) : SymLookup( name ) );
movzx eax, BYTE PTR bLoca... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/label.asm:21 | mov rax, QWORD PTR sym$[rsp]
cmp DWORD PTR [rax+32], 2
jne $LN8@CreateLabe
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+47]
shr al, 3
and al, 1
movzx eax, al
cmp eax, 1
jne $LN8@CreateLabe
; 113 : /* don't accept EXTERNDEF for a local label! */
; 114 : /* v2.04: also never a... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/label.asm:22 | mov ecx, 143 ; 0000008fH
call EmitErr
; 119 : return( NULL );
xor eax, eax
jmp $LN1@CreateLabe
$LN10@CreateLabe:
; 120 : }
; 121 : /* ensure that type of symbol is compatible! */
; 122 : if ( sym->mem_type != MT_EMPTY &&
mov rax, QWORD PTR sym$[rsp]
cm... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/label.asm:23 | ; 127 : sym_ext2int( sym );
mov rcx, QWORD PTR sym$[rsp]
call sym_ext2int
jmp $LN9@CreateLabe
$LN8@CreateLabe:
; 128 : } else if( sym->state == SYM_UNDEFINED ) {
mov rax, QWORD PTR sym$[rsp]
cmp DWORD PTR [rax+32], 0
jne SHORT $LN13@CreateLabe
; 129 : sym_remove_table( &SymT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/label.asm:24 | mov rax, QWORD PTR sym$[rsp]
mov ecx, DWORD PTR mem_type$[rsp]
cmp DWORD PTR [rax+36], ecx
jne SHORT $LN15@CreateLabe
; 134 : /* fixme: if label has exactly the same value ( segment+offset ),
; 135 : * it's ok.
; 136 : */
; 137 : EmitErr( SYMBOL_... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/label.asm:25 | mov QWORD PTR [rcx+104], rax
; 145 : CurrSeg->e.seginfo->label_list = sym;
mov rax, QWORD PTR ModuleInfo+432
mov rax, QWORD PTR [rax+96]
mov rcx, QWORD PTR sym$[rsp]
mov QWORD PTR [rax+32], rcx
; 146 :
; 147 : /* a possible language type set by EXTERNDEF must be kept! */
; 148 : if ( ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/label.asm:26 | mov rdx, QWORD PTR [rax+8]
lea rcx, OFFSET FLAT:$SG10680
call DoDebugMsg1
; 154 : if ( sym->isproc == FALSE ) {
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+41]
shr al, 3
and al, 1
movzx eax, al
test eax, eax
jne SHORT $LN19@CreateLabe
; 155 : CreateProc( sym, NULL, SY... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/label.asm:27 | mov QWORD PTR [rax+8], 0
$LN18@CreateLabe:
; 160 : }
; 161 :
; 162 : sym->mem_type = mem_type;
mov rax, QWORD PTR sym$[rsp]
mov ecx, DWORD PTR mem_type$[rsp]
mov DWORD PTR [rax+36], ecx
; 163 : if ( ti ) {
cmp QWORD PTR ti$[rsp], 0
je $LN20@CreateLabe
; 164 : if ( mem_... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/label.asm:28 | mov rax, QWORD PTR sym$[rsp]
mov rcx, QWORD PTR ti$[rsp]
movzx ecx, BYTE PTR [rcx+20]
mov BYTE PTR [rax+45], cl
; 169 : sym->isfar = ti->is_far;
mov rax, QWORD PTR ti$[rsp]
movzx eax, BYTE PTR [rax+21]
and al, 1
shl al, 4
mov rcx, QWORD PTR sym$[rsp]
movzx ecx, BYTE PTR [rcx+47]
and cl, 239... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Debug/label.asm:29 | $LN6@CreateLabe:
; 175 : /* save old offset */
; 176 : addr = sym->offset;
mov rax, QWORD PTR sym$[rsp]
mov eax, DWORD PTR [rax+16]
mov DWORD PTR addr$[rsp], eax
$LN7@CreateLabe:
; 177 : }
; 178 :
; 179 : sym->isdefined = TRUE;
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Debug/label.asm:30 | ; 186 : SetSymSegOfs( sym );
mov rcx, QWORD PTR sym$[rsp]
call SetSymSegOfs
; 187 : // DebugMsg(("CreateLabel(%s): ofs=%X\n", sym->name, sym->offset));
; 188 :
; 189 : if( Parse_Pass != PASS_1 && sym->offset != addr ) {
cmp DWORD PTR Parse_Pass, 0
je $LN24@CreateLabe
mov rax, QWORD PTR sym$[rsp]
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Debug/label.asm:31 | ; 193 : else
; 194 : DebugMsg(("CreateLabel: pass %u, sym >%s< changed, new=%" I32_SPEC "X - old=%" I32_SPEC "X\n", Parse_Pass+1, sym->name, sym->offset, addr));
mov eax, DWORD PTR Parse_Pass
inc eax
mov ecx, DWORD PTR addr$[rsp]
mov DWORD PTR [rsp+32], ecx
mov rcx, QWORD PTR sym$[rsp]
mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Debug/label.asm:32 | mov rcx, QWORD PTR __$ArrayPad$[rsp]
xor rcx, rsp
call __security_check_cookie
add rsp, 128 ; 00000080H
pop rdi
ret 0
CreateLabel ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\label.c
_TEXT SEGMENT
buffer$ = 48
value$ = 56
GetAnonymousLabel PROC
; 63 : {
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 1,241 | 1,300 |
Terraspace/UASM:x64/Debug/label.asm:33 | mov rax, QWORD PTR buffer$[rsp]
; 66 : }
add rsp, 32 ; 00000020H
pop rdi
ret 0
GetAnonymousLabel ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\label.c
_TEXT SEGMENT
LabelInit PROC
; 57 : {
$LN3:
push rdi
; 58 : ModuleInfo.g.anonymous_label = 0... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Debug/label.asm:34 | ; 1776 : {
$LN3:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+32], r9
push rdi
sub rsp, 80 ; 00000050H
mov rdi, rsp
mov ecx, 20
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+96]
; 1777 : int _Result;
; 1778 : va_list... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 1,321 | 1,380 |
Terraspace/UASM:x64/Debug/label.asm:35 | ; 1787 : return _Result;
mov eax, DWORD PTR _Result$[rsp]
; 1788 : }
mov edi, eax
mov rcx, rsp
lea rdx, OFFSET FLAT:sprintf$rtcFrameData
call _RTC_CheckStackVars
mov eax, edi
add rsp, 80 ; 00000050H
pop rdi
ret 0
sprintf ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\program files ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 1,361 | 1,420 |
Terraspace/UASM:x64/Debug/label.asm:36 | ; 1456 : #pragma warning(push)
; 1457 : #pragma warning(disable: 4996) // Deprecation
; 1458 : return _vsnprintf_l(_Buffer, (size_t)-1, _Format, _Locale, _ArgList);
mov rax, QWORD PTR _ArgList$[rsp]
mov QWORD PTR [rsp+32], rax
mov r9, QWORD PTR _Locale$[rsp]
mov r8, QWORD PTR _Format$[rsp]
mov rdx, -1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 1,401 | 1,460 |
Terraspace/UASM:x64/Debug/label.asm:37 | mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 64 ; 00000040H
mov rdi, rsp
mov ecx, 16
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+80]
; 1386 : int const _Result = __stdio_common_vsprintf(
call __local_stdio_printf_options
mov rax, QWORD PTR [rax]
or rax, 1
mov rcx, QWORD PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 1,441 | 1,500 |
Terraspace/UASM:x64/Debug/label.asm:38 | ; 1391 : }
add rsp, 64 ; 00000040H
pop rdi
ret 0
_vsnprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\corecrt_stdio_config.h
; COMDAT __local_stdio_printf_options
_TEXT SEGMENT
__local_stdio_printf_options PROC ; COMDAT
; ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/label.asm | 1,481 | 1,510 |
Terraspace/UASM:x64/Debug/label.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10634 DB 'L&_%04u', 00H
$SG10659 DB 'CreateLabel(%s, memtype=%Xh, %Xh, %u) enter'... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/label.asm:2 | PUBLIC _vsnprintf_l
PUBLIC _vsprintf_l
PUBLIC sprintf
PUBLIC LabelInit
PUBLIC GetAnonymousLabel
PUBLIC CreateLabel
PUBLIC LabelDirective
EXTRN __imp___stdio_common_vsprintf:PROC
EXTRN DoDebugMsg:PROC
EXTRN DoDebugMsg1:PROC
EXTRN EmitError:PROC
EXTRN EmitErr:PROC
EXTRN SymLookup:PROC
EXTRN SymLookupLocal:PROC
EXTRN sym_... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/label.asm:3 | $pdata$__local_stdio_printf_options DD imagerel $LN3
DD imagerel $LN3+11
DD imagerel $unwind$__local_stdio_printf_options
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_vsnprintf_l DD imagerel $LN5
DD imagerel $LN5+140
DD imagerel $unwind$_vsnprintf_l
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_vsprintf_l DD i... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/label.asm:4 | ; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$IMZ ENDS
CONST SEGMENT
CreateLabel$rtcName$0 DB 062H
DB 075H
DB 066H
DB 066H
DB 065H
DB 072H
DB 00H
ORG $+9
CreateLabel$rtcVarDesc DD 048H
DD 014H
DQ FLAT:CreateLabel$rtcName$0
ORG $+48
CreateLabel$rtcFrameData DD 01H
DD 00H
DQ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/label.asm:5 | CONST ENDS
xdata SEGMENT
$unwind$LabelInit DD 010201H
DD 07002H
$unwind$GetAnonymousLabel DD 022201H
DD 0700a320eH
$unwind$CreateLabel DD 024119H
DD 07014f21bH
DD imagerel __GSHandlerCheck
DD 078H
$unwind$LabelDirective DD 032701H
DD 0260111H
DD 0700aH
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$sprintf DD 0... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/label.asm:6 | xdata SEGMENT
$unwind$_vsprintf_l DD 022d01H
DD 070155219H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vsnprintf_l DD 022d01H
DD 070157219H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$__local_stdio_printf_options DD 010201H
DD 07002H
xdata ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/label.asm:8 | mov BYTE PTR ti$[rsp+21], 0
; 224 : ti.mem_type = MT_EMPTY;
mov DWORD PTR ti$[rsp+16], 192 ; 000000c0H
; 225 : ti.ptr_memtype = MT_EMPTY;
mov DWORD PTR ti$[rsp+24], 192 ; 000000c0H
; 226 : ti.symtype = NULL;
mov QWORD PTR ti$[rsp+8], 0
; 227 : ti.Ofssize = ModuleInfo.Ofssize;
movzx eax... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/label.asm:9 | mov rax, QWORD PTR ti$[rsp+8]
mov rax, QWORD PTR [rax+8]
mov QWORD PTR tv80[rsp], rax
jmp SHORT $LN20@LabelDirec
$LN19@LabelDirec:
lea rax, OFFSET FLAT:$SG10706
mov QWORD PTR tv80[rsp], rax
$LN20@LabelDirec:
movzx eax, BYTE PTR ti$[rsp+22]
movzx ecx, BYTE PTR ti$[rsp+20]
movzx edx, BYTE PTR ti$[rsp+21]
mov r8d... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/label.asm:10 | cmp eax, 128 ; 00000080H
jne SHORT $LN4@LabelDirec
; 240 : /* dont allow near16/far16/near32/far32 if size won't match */
; 241 : if ( ti.Ofssize != USE_EMPTY && ModuleInfo.Ofssize != ti.Ofssize ) {
movzx eax, BYTE PTR ti$[rsp+22]
cmp eax, 254 ; 000000feH
je SHORT $LN6@LabelDirec
movzx ea... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/label.asm:11 | mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
test eax, eax
je $LN7@LabelDirec
movzx eax, BYTE PTR Options+143
test eax, eax
jne $LN7@LabelDirec
; 247 : struct expr opnd;
; 248 : i++;
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i$[rsp], eax
; 249 : if ( Ev... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/label.asm:12 | je SHORT $LN10@LabelDirec
mov rax, QWORD PTR opnd$5[rsp+80]
cmp DWORD PTR [rax+32], 0
jne SHORT $LN10@LabelDirec
; 253 : opnd.value = 1;
mov DWORD PTR opnd$5[rsp], 1
jmp SHORT $LN11@LabelDirec
$LN10@LabelDirec:
; 254 : else {
; 255 : return( EmitError( CONSTANT_EXP... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/label.asm:13 | ; 263 : return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].tokpos ) ); /* v2.10: display tokpos */
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+24]
mov ecx, 209 ; 000000d1H
call EmitErr
jmp $LN1@LabelDirec
$LN12@LabelDire... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/label.asm:14 | mov rcx, QWORD PTR [rcx+rax+8]
call CreateLabel
mov QWORD PTR sym$[rsp], rax
cmp QWORD PTR sym$[rsp], 0
je $LN14@LabelDirec
; 271 : DebugMsg1(("LabelDirective(%s): label created, memtype=%Xh size=%u\n", sym->name, sym->mem_type, ti.size ));
mov r9d, DWORD PTR ti$[rsp]
mov rax, QWORD PTR sym$[rsp]
mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/label.asm:15 | ; 279 : sym->total_size = ti.size * length;
mov eax, DWORD PTR ti$[rsp]
imul eax, DWORD PTR length$[rsp]
mov rcx, QWORD PTR sym$[rsp]
mov DWORD PTR [rcx+56], eax
; 280 : sym->total_length = length;
mov rax, QWORD PTR sym$[rsp]
mov ecx, DWORD PTR length$[rsp]
mov DWORD PTR [ra... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/label.asm:16 | $LN15@LabelDirec:
; 287 : }
; 288 : return( NOT_ERROR );
xor eax, eax
jmp SHORT $LN1@LabelDirec
$LN14@LabelDirec:
; 289 : }
; 290 : return( ERROR );
mov eax, -1
$LN1@LabelDirec:
; 291 : }
mov rdi, rax
mov rcx, rsp
lea rdx, OFFSET FLAT:LabelDirective$rtcFrameData
call _RTC_C... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/label.asm:17 | ; 77 : {
$LN30:
mov BYTE PTR [rsp+32], r9b
mov QWORD PTR [rsp+24], r8
mov DWORD PTR [rsp+16], edx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 128 ; 00000080H
mov rdi, rsp
mov ecx, 32 ; 00000020H
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+144]
mov rax, QWORD PTR __securit... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/label.asm:18 | mov ecx, 82 ; 00000052H
call EmitError
; 86 : return( NULL );
xor eax, eax
jmp $LN1@CreateLabe
$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 : * trailin... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/label.asm:19 | ; 96 : return( NULL );
xor eax, eax
jmp $LN1@CreateLabe
$LN4@CreateLabe:
$LN3@CreateLabe:
; 97 : }
; 98 : }
; 99 :
; 100 : //if( strcmp( name, "@@" ) == 0 ) {
; 101 : if( name[0] == '@' && name[1] == '@' && name[2] == NULLC ) {
mov eax, 1
imul rax, rax, 0
mov rcx, QWORD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/label.asm:20 | lea rcx, QWORD PTR buffer$[rsp]
call sprintf
; 103 : name = buffer;
lea rax, QWORD PTR buffer$[rsp]
mov QWORD PTR name$[rsp], rax
$LN5@CreateLabe:
; 104 : }
; 105 :
; 106 : sym = ( bLocal ? SymLookupLocal( name ) : SymLookup( name ) );
movzx eax, BYTE PTR bLocal$[rsp]
test eax, eax
je SHOR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/label.asm:21 | cmp DWORD PTR [rax+32], 2
jne $LN8@CreateLabe
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+47]
shr al, 3
and al, 1
movzx eax, al
cmp eax, 1
jne $LN8@CreateLabe
; 113 : /* don't accept EXTERNDEF for a local label! */
; 114 : /* v2.04: also never accept PROTOs for extern to int... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/label.asm:22 | call EmitErr
; 119 : return( NULL );
xor eax, eax
jmp $LN1@CreateLabe
$LN10@CreateLabe:
; 120 : }
; 121 : /* ensure that type of symbol is compatible! */
; 122 : if ( sym->mem_type != MT_EMPTY &&
mov rax, QWORD PTR sym$[rsp]
cmp DWORD PTR [rax+36], 192 ;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/label.asm:23 | mov rcx, QWORD PTR sym$[rsp]
call sym_ext2int
jmp $LN9@CreateLabe
$LN8@CreateLabe:
; 128 : } else if( sym->state == SYM_UNDEFINED ) {
mov rax, QWORD PTR sym$[rsp]
cmp DWORD PTR [rax+32], 0
jne SHORT $LN13@CreateLabe
; 129 : sym_remove_table( &SymTables[TAB_UNDEF], (struct dsym *)sym );
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/label.asm:24 | mov ecx, DWORD PTR mem_type$[rsp]
cmp DWORD PTR [rax+36], ecx
jne SHORT $LN15@CreateLabe
; 134 : /* fixme: if label has exactly the same value ( segment+offset ),
; 135 : * it's ok.
; 136 : */
; 137 : EmitErr( SYMBOL_ALREADY_DEFINED, name );
mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/label.asm:25 | ; 145 : CurrSeg->e.seginfo->label_list = sym;
mov rax, QWORD PTR ModuleInfo+432
mov rax, QWORD PTR [rax+96]
mov rcx, QWORD PTR sym$[rsp]
mov QWORD PTR [rax+32], rcx
; 146 :
; 147 : /* a possible language type set by EXTERNDEF must be kept! */
; 148 : if ( sym->langtype == LANG_NONE )
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/label.asm:26 | lea rcx, OFFSET FLAT:$SG10681
call DoDebugMsg1
; 154 : if ( sym->isproc == FALSE ) {
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+41]
shr al, 3
and al, 1
movzx eax, al
test eax, eax
jne SHORT $LN19@CreateLabe
; 155 : CreateProc( sym, NULL, SYM_INTERNAL );
mov r8d, 1
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/label.asm:27 | $LN18@CreateLabe:
; 160 : }
; 161 :
; 162 : sym->mem_type = mem_type;
mov rax, QWORD PTR sym$[rsp]
mov ecx, DWORD PTR mem_type$[rsp]
mov DWORD PTR [rax+36], ecx
; 163 : if ( ti ) {
cmp QWORD PTR ti$[rsp], 0
je $LN20@CreateLabe
; 164 : if ( mem_type == MT_TYPE )
cmp D... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/label.asm:28 | mov rcx, QWORD PTR ti$[rsp]
movzx ecx, BYTE PTR [rcx+20]
mov BYTE PTR [rax+45], cl
; 169 : sym->isfar = ti->is_far;
mov rax, QWORD PTR ti$[rsp]
movzx eax, BYTE PTR [rax+21]
and al, 1
shl al, 4
mov rcx, QWORD PTR sym$[rsp]
movzx ecx, BYTE PTR [rcx+47]
and cl, 239 ; 000000efH
or cl, al
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Debug/label.asm:29 | ; 175 : /* save old offset */
; 176 : addr = sym->offset;
mov rax, QWORD PTR sym$[rsp]
mov eax, DWORD PTR [rax+16]
mov DWORD PTR addr$[rsp], eax
$LN7@CreateLabe:
; 177 : }
; 178 :
; 179 : sym->isdefined = TRUE;
mov rax, QWORD PTR sym$[rsp]
movzx eax, BYTE PTR [rax+40]
or al, 2
mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Debug/label.asm:30 | ; 186 : SetSymSegOfs( sym );
mov rcx, QWORD PTR sym$[rsp]
call SetSymSegOfs
; 187 : // DebugMsg(("CreateLabel(%s): ofs=%X\n", sym->name, sym->offset));
; 188 :
; 189 : if( Parse_Pass != PASS_1 && sym->offset != addr ) {
cmp DWORD PTR Parse_Pass, 0
je $LN24@CreateLabe
mov rax, QWORD PTR sym$[rsp]
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Debug/label.asm:31 | ; 194 : DebugMsg(("CreateLabel: pass %u, sym >%s< changed, new=%" I32_SPEC "X - old=%" I32_SPEC "X\n", Parse_Pass+1, sym->name, sym->offset, addr));
mov eax, DWORD PTR Parse_Pass
inc eax
mov ecx, DWORD PTR addr$[rsp]
mov DWORD PTR [rsp+32], ecx
mov rcx, QWORD PTR sym$[rsp]
mov r9d, DWORD PTR [rcx+16... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Debug/label.asm:32 | xor rcx, rsp
call __security_check_cookie
add rsp, 128 ; 00000080H
pop rdi
ret 0
CreateLabel ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\label.c
_TEXT SEGMENT
buffer$ = 48
value$ = 56
GetAnonymousLabel PROC
; 63 : {
$LN3:
mov DWORD PTR [rsp+16], edx
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 1,241 | 1,300 |
Terraspace/UASM:x64/Debug/label.asm:33 | mov rax, QWORD PTR buffer$[rsp]
; 66 : }
add rsp, 32 ; 00000020H
pop rdi
ret 0
GetAnonymousLabel ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\label.c
_TEXT SEGMENT
LabelInit PROC
; 57 : {
$LN3:
push rdi
; 58 : ModuleInfo.g.anonymous_label = 0... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Debug/label.asm:34 | $LN3:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+32], r9
push rdi
sub rsp, 80 ; 00000050H
mov rdi, rsp
mov ecx, 20
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+96]
; 1777 : int _Result;
; 1778 : va_list _ArgList;
;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 1,321 | 1,380 |
Terraspace/UASM:x64/Debug/label.asm:35 | mov eax, DWORD PTR _Result$[rsp]
; 1788 : }
mov edi, eax
mov rcx, rsp
lea rdx, OFFSET FLAT:sprintf$rtcFrameData
call _RTC_CheckStackVars
mov eax, edi
add rsp, 80 ; 00000050H
pop rdi
ret 0
sprintf ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File c:\program files (x86)\windows kits\10\include\1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 1,361 | 1,420 |
Terraspace/UASM:x64/Debug/label.asm:36 | ; 1456 : #pragma warning(push)
; 1457 : #pragma warning(disable: 4996) // Deprecation
; 1458 : return _vsnprintf_l(_Buffer, (size_t)-1, _Format, _Locale, _ArgList);
mov rax, QWORD PTR _ArgList$[rsp]
mov QWORD PTR [rsp+32], rax
mov r9, QWORD PTR _Locale$[rsp]
mov r8, QWORD PTR _Format$[rsp]
mov rdx, -1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 1,401 | 1,460 |
Terraspace/UASM:x64/Debug/label.asm:37 | push rdi
sub rsp, 64 ; 00000040H
mov rdi, rsp
mov ecx, 16
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+80]
; 1386 : int const _Result = __stdio_common_vsprintf(
call __local_stdio_printf_options
mov rax, QWORD PTR [rax]
or rax, 1
mov rcx, QWORD PTR _ArgList$[rsp]
mov QWORD P... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/label.asm | 1,441 | 1,500 |
Terraspace/UASM:x64/Debug/label.asm:6 | xdata SEGMENT
$unwind$_vsprintf_l DD 022d01H
DD 070155219H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vsnprintf_l DD 022d01H
DD 070157219H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$__local_stdio_printf_options DD 010201H
DD 07002H
xdata ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/label.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/label.asm:7 | ; 209 : struct qualified_type ti;
; 210 : struct asym *sym;
; 211 : #if LABELARRAY
; 212 : uint_32 length;
; 213 : #endif
; 214 :
; 215 : if( i != 1 ) { /* LABEL must be preceded by an ID */
cmp DWORD PTR i$[rsp], 1
je SHORT $LN2@LabelDirec
; 216 : return( EmitErr( SYNTAX_ERROR_EX, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/label.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/label.asm | 241 | 300 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.