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/posndir.asm:9 | cmp BYTE PTR $T6[rsp], 0
jne SHORT $LN31@AlignDirec
lea rcx, OFFSET FLAT:AlignDirective$rtcName$0
call _RTC_UninitUse
$LN31@AlignDirec:
mov edx, DWORD PTR opndx$[rsp]
mov ecx, 129 ; 00000081H
call EmitErr
jmp $LN1@AlignDirec
$LN11@AlignDirec:
; 213 : }
jmp SHORT $LN10@AlignDirec
$LN9@AlignDire... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/posndir.asm:10 | call GetCurrSegAlign
mov BYTE PTR $T6[rsp], 1
mov DWORD PTR opndx$[rsp], eax
$LN15@AlignDirec:
; 220 : } else {
jmp SHORT $LN13@AlignDirec
$LN12@AlignDirec:
; 221 : return( EmitError( CONSTANT_EXPECTED ) );
mov ecx, 65 ; 00000041H
call EmitError
jmp $LN1@AlignDirec
$LN13@AlignDirec:
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/posndir.asm:11 | movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
test eax, eax
je SHORT $LN17@AlignDirec
; 230 : return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].string_ptr ) );
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/posndir.asm:12 | ; 237 : #if FASTPASS
; 238 : if ( StoreState == FALSE ) FStoreLine(0);
movzx eax, BYTE PTR StoreState
test eax, eax
jne SHORT $LN19@AlignDirec
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN20@AlignDirec
xor r8d, r8d
xor edx, edx
mov rcx, QWORD PTR ModuleInfo+464
call StoreLine
$LN20@AlignDirec:
$LN19@AlignDi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/posndir.asm:13 | $LN33@AlignDirec:
mov eax, DWORD PTR seg_align$[rsp]
cmp DWORD PTR opndx$[rsp], eax
jle SHORT $LN23@AlignDirec
; 245 : if (( Parse_Pass == PASS_1 )&& //We need 32 0r 64 bit for VEX and EVEX
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN24@AlignDirec
mov rax, QWORD PTR ModuleInfo+440
movzx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/posndir.asm:14 | ; 250 : /* v2.04: added, Skip backpatching after ALIGN occured */
; 251 : if ( Parse_Pass == PASS_1 && CurrSeg && CurrSeg->e.seginfo->FixupList.head )
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN25@AlignDirec
cmp QWORD PTR ModuleInfo+432, 0
je SHORT $LN25@AlignDirec
mov rax, QWORD PTR ModuleInfo+432
mov r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/posndir.asm:15 | mov eax, DWORD PTR CurrAddr$[rsp]
div DWORD PTR opndx$[rsp]
mov eax, edx
mov DWORD PTR seg_align$[rsp], eax
; 257 : if( seg_align ) {
cmp DWORD PTR seg_align$[rsp], 0
je SHORT $LN26@AlignDirec
; 258 : align_value -= seg_align;
cmp BYTE PTR $T6[rsp], 0
jne SHORT $LN36@AlignDirec
lea rcx, OFFSET... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/posndir.asm:16 | lea rcx, OFFSET FLAT:ModuleInfo+96
cmp QWORD PTR [rcx+rax], 0
je SHORT $LN27@AlignDirec
; 262 : LstWrite( LSTTYPE_DATA, CurrAddr, NULL );
xor r8d, r8d
mov edx, DWORD PTR CurrAddr$[rsp]
xor ecx, ecx
call LstWrite
$LN27@AlignDirec:
; 263 : }
; 264 : DebugMsg1(("AlignDirective exit\n"));
lea ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/posndir.asm:17 | _TEXT SEGMENT
i$ = 32
nop_type$ = 36
size$ = 64
fill_in_objfile_space PROC
; 132 : {
mov DWORD PTR [rsp+8], ecx
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, DWORD PTR [rsp+64]
; 133 : int i;
; 134 : int nop_type;
; 135 :
; 136... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/posndir.asm:18 | mov r9b, 1
mov r8b, 1
mov edx, DWORD PTR size$[rsp]
mov rcx, QWORD PTR ModuleInfo+432
call SetCurrOffset
jmp $LN14@fill_in_ob
$LN13@fill_in_ob:
; 146 :
; 147 : } else if( CurrSeg->e.seginfo->segtype != SEGTYPE_CODE ) {
mov rax, QWORD PTR ModuleInfo+432
mov rax, QWORD PTR [rax+96]
cmp DWORD PTR [rax+72],... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/posndir.asm:19 | movzx eax, BYTE PTR [rax+rdx]
cmp DWORD PTR size$[rsp], eax
jbe $LN3@fill_in_ob
; 155 : for( i = 1; i <= NopLists[ ModuleInfo.Ofssize ][0]; i++ ) {
mov DWORD PTR i$[rsp], 1
jmp SHORT $LN6@fill_in_ob
$LN4@fill_in_ob:
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i$[rsp], eax
$LN6@fill_in_ob:
mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/posndir.asm:20 | mov edx, 1
imul rdx, rdx, 0
mov rax, QWORD PTR [rcx+rax*8]
movzx eax, BYTE PTR [rax+rdx]
mov ecx, DWORD PTR size$[rsp]
sub ecx, eax
mov eax, ecx
mov DWORD PTR size$[rsp], eax
; 159 : }
jmp $LN2@fill_in_ob
$LN3@fill_in_ob:
; 160 : if( size == 0 ) return;
cmp DWORD PTR size$[rsp], 0
jne SH... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/posndir.asm:21 | $LN9@fill_in_ob:
mov eax, DWORD PTR size$[rsp]
cmp DWORD PTR nop_type$[rsp], eax
jbe SHORT $LN8@fill_in_ob
; 164 : i+=nop_type;
mov eax, DWORD PTR nop_type$[rsp]
mov ecx, DWORD PTR i$[rsp]
add ecx, eax
mov eax, ecx
mov DWORD PTR i$[rsp], eax
; 165 : }
jmp SHORT $LN7@fill_in_ob
$LN8@fi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/posndir.asm:22 | call OutputByte
; 169 : }
jmp SHORT $LN10@fill_in_ob
$LN11@fill_in_ob:
$LN16@fill_in_ob:
$LN14@fill_in_ob:
$LN1@fill_in_ob:
; 170 : }
; 171 : }
add rsp, 48 ; 00000030H
pop rdi
ret 0
fill_in_objfile_space ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjw... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/posndir.asm:23 | ; 95 : //struct asym *sym;
; 96 : //int_32 value = 0;
; 97 : struct expr opndx;
; 98 :
; 99 : DebugMsg1(("OrgDirective(%u) enter\n", i));
mov edx, DWORD PTR i$[rsp]
lea rcx, OFFSET FLAT:$SG10663
call DoDebugMsg1
; 100 : i++;
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/posndir.asm:24 | mov eax, -1
jmp $LN1@OrgDirecti
$LN2@OrgDirecti:
; 105 : if ( tokenarray[i].token != T_FINAL ) {
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
test eax, eax
je SHORT $LN3@OrgDirecti
; 106 : return( EmitErr( SYNTAX... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/posndir.asm:25 | $LN6@OrgDirecti:
; 111 : } else {
jmp $LN5@OrgDirecti
$LN4@OrgDirecti:
; 112 : if( CurrSeg == NULL ) {
cmp QWORD PTR ModuleInfo+432, 0
jne SHORT $LN7@OrgDirecti
; 113 : return( EmitError( MUST_BE_IN_SEGMENT_BLOCK ) );
mov ecx, 82 ; 00000052H
call EmitError
jmp $LN1@OrgDirecti
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/posndir.asm:26 | jne SHORT $LN11@OrgDirecti
mov rax, QWORD PTR ModuleInfo+432
mov rax, QWORD PTR [rax+96]
cmp QWORD PTR [rax+40], 0
je SHORT $LN11@OrgDirecti
; 120 : CurrSeg->e.seginfo->FixupList.head->orgoccured = TRUE;
mov rax, QWORD PTR ModuleInfo+432
mov rax, QWORD PTR [rax+96]
mov rax, QWORD PTR [rax+40]
mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/posndir.asm:27 | mov eax, DWORD PTR opndx$[rsp+76]
and eax, 1
test eax, eax
jne SHORT $LN14@OrgDirecti
; 125 : return( SetCurrOffset( CurrSeg, opndx.sym->offset + opndx.value, FALSE, FALSE ) );
mov rax, QWORD PTR opndx$[rsp+80]
mov eax, DWORD PTR [rax+16]
add eax, DWORD PTR opndx$[rsp]
xor r9d, r9d
xor r8d, r8d
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/posndir.asm:28 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\posndir.c
_TEXT SEGMENT
seg_align$ = 32
alignment$ = 36
CurrAddr$ = 40
tv77 = 44
value$ = 64
AlignCurrOffset PROC
; 177 : {
$LN4:
mov DWORD PTR [rsp+8], ecx
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Debug/posndir.asm:29 | xor edx, edx
mov eax, DWORD PTR CurrAddr$[rsp]
div DWORD PTR alignment$[rsp]
mov eax, edx
mov DWORD PTR seg_align$[rsp], eax
; 184 : if( seg_align ) {
cmp DWORD PTR seg_align$[rsp], 0
je SHORT $LN2@AlignCurrO
; 185 : alignment -= seg_align;
mov eax, DWORD PTR seg_align$[rsp]
mov ecx, DWORD PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 1,121 | 1,155 |
Terraspace/UASM:x64/Debug/posndir.asm:8 | ; 207 : if ( opndx.kind == EXPR_CONST ) {
cmp DWORD PTR opndx$[rsp+60], 0
jne $LN9@AlignDirec
; 208 : int_32 power;
; 209 : /* check that the parm is a power of 2 */
; 210 : for( power = 1; power < align_value; power <<= 1 );
mov DWORD PTR power$5[rsp], 1
jmp SHORT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/posndir.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/posndir.asm:9 | cmp BYTE PTR $T6[rsp], 0
jne SHORT $LN31@AlignDirec
lea rcx, OFFSET FLAT:AlignDirective$rtcName$0
call _RTC_UninitUse
$LN31@AlignDirec:
mov edx, DWORD PTR opndx$[rsp]
mov ecx, 130 ; 00000082H
call EmitErr
jmp $LN1@AlignDirec
$LN11@AlignDirec:
; 213 : }
jmp SHORT $LN10@AlignDirec
$LN9@AlignDire... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/posndir.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/posndir.asm:10 | call GetCurrSegAlign
mov BYTE PTR $T6[rsp], 1
mov DWORD PTR opndx$[rsp], eax
$LN15@AlignDirec:
; 220 : } else {
jmp SHORT $LN13@AlignDirec
$LN12@AlignDirec:
; 221 : return( EmitError( CONSTANT_EXPECTED ) );
mov ecx, 66 ; 00000042H
call EmitError
jmp $LN1@AlignDirec
$LN13@AlignDirec:
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/posndir.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/posndir.asm:11 | movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
test eax, eax
je SHORT $LN17@AlignDirec
; 230 : return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].string_ptr ) );
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/posndir.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/posndir.asm:12 | ; 237 : #if FASTPASS
; 238 : if ( StoreState == FALSE ) FStoreLine(0);
movzx eax, BYTE PTR StoreState
test eax, eax
jne SHORT $LN19@AlignDirec
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN20@AlignDirec
xor r8d, r8d
xor edx, edx
mov rcx, QWORD PTR ModuleInfo+464
call StoreLine
$LN20@AlignDirec:
$LN19@AlignDi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/posndir.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/posndir.asm:13 | $LN33@AlignDirec:
mov eax, DWORD PTR seg_align$[rsp]
cmp DWORD PTR opndx$[rsp], eax
jle SHORT $LN23@AlignDirec
; 245 : if (( Parse_Pass == PASS_1 )&& //We need 32 0r 64 bit for VEX and EVEX
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN24@AlignDirec
mov rax, QWORD PTR ModuleInfo+440
movzx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/posndir.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/posndir.asm:23 | ; 95 : //struct asym *sym;
; 96 : //int_32 value = 0;
; 97 : struct expr opndx;
; 98 :
; 99 : DebugMsg1(("OrgDirective(%u) enter\n", i));
mov edx, DWORD PTR i$[rsp]
lea rcx, OFFSET FLAT:$SG10663
call DoDebugMsg1
; 100 : i++;
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/posndir.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/posndir.asm:24 | mov eax, -1
jmp $LN1@OrgDirecti
$LN2@OrgDirecti:
; 105 : if ( tokenarray[i].token != T_FINAL ) {
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
test eax, eax
je SHORT $LN3@OrgDirecti
; 106 : return( EmitErr( SYNTAX... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/posndir.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/posndir.asm:25 | $LN6@OrgDirecti:
; 111 : } else {
jmp $LN5@OrgDirecti
$LN4@OrgDirecti:
; 112 : if( CurrSeg == NULL ) {
cmp QWORD PTR ModuleInfo+432, 0
jne SHORT $LN7@OrgDirecti
; 113 : return( EmitError( MUST_BE_IN_SEGMENT_BLOCK ) );
mov ecx, 83 ; 00000053H
call EmitError
jmp $LN1@OrgDirecti
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/posndir.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/posndir.asm:27 | mov eax, DWORD PTR opndx$[rsp+76]
and eax, 1
test eax, eax
jne SHORT $LN14@OrgDirecti
; 125 : return( SetCurrOffset( CurrSeg, opndx.sym->offset + opndx.value, FALSE, FALSE ) );
mov rax, QWORD PTR opndx$[rsp+80]
mov eax, DWORD PTR [rax+16]
add eax, DWORD PTR opndx$[rsp]
xor r9d, r9d
xor r8d, r8d
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/posndir.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/posndir.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10661 DB 'OrgDirective(%u) enter', 0aH, 00H
$SG10721 DB 'AlignDirective enter', 0aH, 00H
ORG $+... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/posndir.asm:2 | DB 02eH
DB 08dH
DB 044H
DB 020H
DB 00H
DB 08dH
DB 044H
DB 020H
DB 00H
DB 08dH
DB 040H
DB 00H
DB 08bH
DB 0ffH
DB 090H
ORG $+3
NopList64 DB 07H
DB 0fH
DB 01fH
DB 080H
DB 00H
DB 00H
DB 00H
DB 00H
DB 066H
DB 0fH
DB 01fH
DB 044H
DB 00H
DB 00H
DB 0fH
DB 01fH
DB 044H
DB 00H
DB 00H
DB 0fH
DB ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/posndir.asm:3 | DB 01fH
DB 00H
DB 066H
DB 090H
DB 090H
ORG $+3
NopLists DQ FLAT:NopList16
DQ FLAT:NopList32
DQ FLAT:NopList64
CONST ENDS
PUBLIC AlignCurrOffset
PUBLIC OrgDirective
PUBLIC AlignDirective
EXTRN DoDebugMsg1:PROC
EXTRN EmitError:PROC
EXTRN EmitErr:PROC
EXTRN EmitWarn:PROC
EXTRN OutputByte:PROC
EXTRN FillDataBytes:PR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/posndir.asm:4 | pdata SEGMENT
$pdata$AlignCurrOffset DD imagerel $LN4
DD imagerel $LN4+117
DD imagerel $unwind$AlignCurrOffset
$pdata$OrgDirective DD imagerel $LN18
DD imagerel $LN18+532
DD imagerel $unwind$OrgDirective
$pdata$fill_in_objfile_space DD imagerel fill_in_objfile_space
DD imagerel fill_in_objfile_space+459
DD imager... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/posndir.asm:5 | DB 064H
DB 078H
DB 00H
ORG $+2
AlignDirective$rtcName$1 DB 062H
DB 075H
DB 066H
DB 066H
DB 065H
DB 072H
DB 00H
ORG $+1
AlignDirective$rtcVarDesc DD 0d8H
DD 020H
DQ FLAT:AlignDirective$rtcName$1
DD 050H
DD 068H
DQ FLAT:AlignDirective$rtcName$0
ORG $+96
AlignDirective$rtcFrameData DD 02H
DD 00H
DQ FLAT:... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/posndir.asm:6 | seg_align$ = 48
opndx$ = 80
CurrAddr$ = 196
buffer$ = 216
power$5 = 260
$T6 = 272
tv69 = 276
__$ArrayPad$ = 280
i$ = 304
tokenarray$ = 312
AlignDirective PROC
; 194 : {
$LN38:
mov QWORD PTR [rsp+16], rdx
mov DWORD PTR [rsp+8], ecx
push rdi
sub rsp, 288 ; 00000120H
mov rdi, rsp
mov ecx, 72 ; 00000048H
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/posndir.asm:7 | ; 202 : switch( tokenarray[i].tokval ) {
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov eax, DWORD PTR [rcx+rax+16]
mov DWORD PTR tv69[rsp], eax
cmp DWORD PTR tv69[rsp], 434 ; 000001b2H
je SHORT $LN7@AlignDirec
cmp DWORD PTR tv69[rsp], 435 ; 000001... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/posndir.asm:8 | cmp DWORD PTR opndx$[rsp+60], 0
jne $LN9@AlignDirec
; 208 : int_32 power;
; 209 : /* check that the parm is a power of 2 */
; 210 : for( power = 1; power < align_value; power <<= 1 );
mov DWORD PTR power$5[rsp], 1
jmp SHORT $LN6@AlignDirec
$LN4@AlignDirec:
mov eax, DWORD PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/posndir.asm:9 | jne SHORT $LN31@AlignDirec
lea rcx, OFFSET FLAT:AlignDirective$rtcName$0
call _RTC_UninitUse
$LN31@AlignDirec:
mov edx, DWORD PTR opndx$[rsp]
mov ecx, 129 ; 00000081H
call EmitErr
jmp $LN1@AlignDirec
$LN11@AlignDirec:
; 213 : }
jmp SHORT $LN10@AlignDirec
$LN9@AlignDirec:
; 214 : } els... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/posndir.asm:10 | mov BYTE PTR $T6[rsp], 1
mov DWORD PTR opndx$[rsp], eax
$LN15@AlignDirec:
; 220 : } else {
jmp SHORT $LN13@AlignDirec
$LN12@AlignDirec:
; 221 : return( EmitError( CONSTANT_EXPECTED ) );
mov ecx, 65 ; 00000041H
call EmitError
jmp $LN1@AlignDirec
$LN13@AlignDirec:
$LN10@AlignDirec:
; 2... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/posndir.asm:12 | ; 238 : if ( StoreState == FALSE ) FStoreLine(0);
movzx eax, BYTE PTR StoreState
test eax, eax
jne SHORT $LN19@AlignDirec
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN20@AlignDirec
xor r8d, r8d
xor edx, edx
mov rcx, QWORD PTR ModuleInfo+464
call StoreLine
$LN20@AlignDirec:
$LN19@AlignDirec:
; 239 : #endif
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/posndir.asm:13 | mov eax, DWORD PTR seg_align$[rsp]
cmp DWORD PTR opndx$[rsp], eax
jle SHORT $LN23@AlignDirec
; 245 : if (( Parse_Pass == PASS_1 )&& //We need 32 0r 64 bit for VEX and EVEX
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN24@AlignDirec
mov rax, QWORD PTR ModuleInfo+440
movzx eax, BYTE PTR [rax... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/posndir.asm:14 | ; 251 : if ( Parse_Pass == PASS_1 && CurrSeg && CurrSeg->e.seginfo->FixupList.head )
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN25@AlignDirec
cmp QWORD PTR ModuleInfo+432, 0
je SHORT $LN25@AlignDirec
mov rax, QWORD PTR ModuleInfo+432
mov rax, QWORD PTR [rax+96]
cmp QWORD PTR [rax+40], 0
je SHORT $LN25@Align... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/posndir.asm:15 | div DWORD PTR opndx$[rsp]
mov eax, edx
mov DWORD PTR seg_align$[rsp], eax
; 257 : if( seg_align ) {
cmp DWORD PTR seg_align$[rsp], 0
je SHORT $LN26@AlignDirec
; 258 : align_value -= seg_align;
cmp BYTE PTR $T6[rsp], 0
jne SHORT $LN36@AlignDirec
lea rcx, OFFSET FLAT:AlignDirective$rtcName$0
cal... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/posndir.asm:16 | cmp QWORD PTR [rcx+rax], 0
je SHORT $LN27@AlignDirec
; 262 : LstWrite( LSTTYPE_DATA, CurrAddr, NULL );
xor r8d, r8d
mov edx, DWORD PTR CurrAddr$[rsp]
xor ecx, ecx
call LstWrite
$LN27@AlignDirec:
; 263 : }
; 264 : DebugMsg1(("AlignDirective exit\n"));
lea rcx, OFFSET FLAT:$SG10743
call DoDe... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/posndir.asm:17 | i$ = 32
nop_type$ = 36
size$ = 64
fill_in_objfile_space PROC
; 132 : {
mov DWORD PTR [rsp+8], ecx
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, DWORD PTR [rsp+64]
; 133 : int i;
; 134 : int nop_type;
; 135 :
; 136 : /* emi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/posndir.asm:18 | mov r9b, 1
mov r8b, 1
mov edx, DWORD PTR size$[rsp]
mov rcx, QWORD PTR ModuleInfo+432
call SetCurrOffset
jmp $LN14@fill_in_ob
$LN13@fill_in_ob:
; 146 :
; 147 : } else if( CurrSeg->e.seginfo->segtype != SEGTYPE_CODE ) {
mov rax, QWORD PTR ModuleInfo+432
mov rax, QWORD PTR [rax+96]
cmp DWORD PTR [rax+72],... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/posndir.asm:19 | cmp DWORD PTR size$[rsp], eax
jbe $LN3@fill_in_ob
; 155 : for( i = 1; i <= NopLists[ ModuleInfo.Ofssize ][0]; i++ ) {
mov DWORD PTR i$[rsp], 1
jmp SHORT $LN6@fill_in_ob
$LN4@fill_in_ob:
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i$[rsp], eax
$LN6@fill_in_ob:
movzx eax, BYTE PTR ModuleInfo+40... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/posndir.asm:20 | imul rdx, rdx, 0
mov rax, QWORD PTR [rcx+rax*8]
movzx eax, BYTE PTR [rax+rdx]
mov ecx, DWORD PTR size$[rsp]
sub ecx, eax
mov eax, ecx
mov DWORD PTR size$[rsp], eax
; 159 : }
jmp $LN2@fill_in_ob
$LN3@fill_in_ob:
; 160 : if( size == 0 ) return;
cmp DWORD PTR size$[rsp], 0
jne SHORT $LN17@fi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/posndir.asm:21 | mov eax, DWORD PTR size$[rsp]
cmp DWORD PTR nop_type$[rsp], eax
jbe SHORT $LN8@fill_in_ob
; 164 : i+=nop_type;
mov eax, DWORD PTR nop_type$[rsp]
mov ecx, DWORD PTR i$[rsp]
add ecx, eax
mov eax, ecx
mov DWORD PTR i$[rsp], eax
; 165 : }
jmp SHORT $LN7@fill_in_ob
$LN8@fill_in_ob:
; 166 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/posndir.asm:22 | ; 169 : }
jmp SHORT $LN10@fill_in_ob
$LN11@fill_in_ob:
$LN16@fill_in_ob:
$LN14@fill_in_ob:
$LN1@fill_in_ob:
; 170 : }
; 171 : }
add rsp, 48 ; 00000030H
pop rdi
ret 0
fill_in_objfile_space ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\posndi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/posndir.asm:23 | ; 96 : //int_32 value = 0;
; 97 : struct expr opndx;
; 98 :
; 99 : DebugMsg1(("OrgDirective(%u) enter\n", i));
mov edx, DWORD PTR i$[rsp]
lea rcx, OFFSET FLAT:$SG10661
call DoDebugMsg1
; 100 : i++;
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i$[rsp], eax
; 101 : /* v2.... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/posndir.asm:24 | jmp $LN1@OrgDirecti
$LN2@OrgDirecti:
; 105 : if ( tokenarray[i].token != T_FINAL ) {
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
test eax, eax
je SHORT $LN3@OrgDirecti
; 106 : return( EmitErr( SYNTAX_ERROR_EX, to... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/posndir.asm:25 | ; 111 : } else {
jmp $LN5@OrgDirecti
$LN4@OrgDirecti:
; 112 : if( CurrSeg == NULL ) {
cmp QWORD PTR ModuleInfo+432, 0
jne SHORT $LN7@OrgDirecti
; 113 : return( EmitError( MUST_BE_IN_SEGMENT_BLOCK ) );
mov ecx, 82 ; 00000052H
call EmitError
jmp $LN1@OrgDirecti
$LN7@OrgDirecti:
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/posndir.asm:26 | mov rax, QWORD PTR ModuleInfo+432
mov rax, QWORD PTR [rax+96]
cmp QWORD PTR [rax+40], 0
je SHORT $LN11@OrgDirecti
; 120 : CurrSeg->e.seginfo->FixupList.head->orgoccured = TRUE;
mov rax, QWORD PTR ModuleInfo+432
mov rax, QWORD PTR [rax+96]
mov rax, QWORD PTR [rax+40]
movzx eax, BYTE PTR [rax+33]
o... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/posndir.asm:27 | and eax, 1
test eax, eax
jne SHORT $LN14@OrgDirecti
; 125 : return( SetCurrOffset( CurrSeg, opndx.sym->offset + opndx.value, FALSE, FALSE ) );
mov rax, QWORD PTR opndx$[rsp+80]
mov eax, DWORD PTR [rax+16]
add eax, DWORD PTR opndx$[rsp]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, QWORD PTR Mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/posndir.asm:28 | _TEXT SEGMENT
seg_align$ = 32
alignment$ = 36
CurrAddr$ = 40
tv77 = 44
value$ = 64
AlignCurrOffset PROC
; 177 : {
$LN4:
mov DWORD PTR [rsp+8], ecx
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, DWORD PTR [rsp+64]
; 178 : int seg_align... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/posndir.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Debug/posndir.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10656 DB 'OrgDirective(%u) enter', 0aH, 00H
$SG10716 DB 'AlignDirective enter', 0aH, 00H
ORG $+... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/posndir.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/posndir.asm:6 | seg_align$ = 48
opndx$ = 80
CurrAddr$ = 196
buffer$ = 216
power$5 = 260
$T6 = 272
tv69 = 276
__$ArrayPad$ = 280
i$ = 304
tokenarray$ = 312
AlignDirective PROC
; 194 : {
$LN38:
mov QWORD PTR [rsp+16], rdx
mov DWORD PTR [rsp+8], ecx
push rdi
sub rsp, 288 ; 00000120H
mov rdi, rsp
mov ecx, 72 ; 00000048H
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/posndir.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/posndir.asm:15 | div DWORD PTR opndx$[rsp]
mov eax, edx
mov DWORD PTR seg_align$[rsp], eax
; 257 : if( seg_align ) {
cmp DWORD PTR seg_align$[rsp], 0
je SHORT $LN26@AlignDirec
; 258 : align_value -= seg_align;
cmp BYTE PTR $T6[rsp], 0
jne SHORT $LN36@AlignDirec
lea rcx, OFFSET FLAT:AlignDirective$rtcName$0
cal... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/posndir.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/posndir.asm:16 | cmp QWORD PTR [rcx+rax], 0
je SHORT $LN27@AlignDirec
; 262 : LstWrite( LSTTYPE_DATA, CurrAddr, NULL );
xor r8d, r8d
mov edx, DWORD PTR CurrAddr$[rsp]
xor ecx, ecx
call LstWrite
$LN27@AlignDirec:
; 263 : }
; 264 : DebugMsg1(("AlignDirective exit\n"));
lea rcx, OFFSET FLAT:$SG10738
call DoDe... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/posndir.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/posndir.asm:22 | ; 169 : }
jmp SHORT $LN10@fill_in_ob
$LN11@fill_in_ob:
$LN16@fill_in_ob:
$LN14@fill_in_ob:
$LN1@fill_in_ob:
; 170 : }
; 171 : }
add rsp, 48 ; 00000030H
pop rdi
ret 0
fill_in_objfile_space ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\posndi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/posndir.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/posndir.asm:23 | ; 96 : //int_32 value = 0;
; 97 : struct expr opndx;
; 98 :
; 99 : DebugMsg1(("OrgDirective(%u) enter\n", i));
mov edx, DWORD PTR i$[rsp]
lea rcx, OFFSET FLAT:$SG10656
call DoDebugMsg1
; 100 : i++;
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i$[rsp], eax
; 101 : /* v2.... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/posndir.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/preproc.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
COMM cntppl0:DWORD
COMM cntppl1:DWORD
COMM cntppl2:DWORD
_DATA ENDS
_BSS SEGMENT
$SG1092... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/preproc.asm:2 | EXTRN Parse_Pass:DWORD
EXTRN CurrIfState:DWORD
EXTRN StoreState:BYTE
EXTRN directive_tab:BYTE
pdata SEGMENT
$pdata$WriteCodeLabel DD imagerel $LN6
DD imagerel $LN6+314
DD imagerel $unwind$WriteCodeLabel
$pdata$PreprocessLine DD imagerel $LN34
DD imagerel $LN34+915
DD imagerel $unwind$PreprocessLine
pdata ENDS
xdata... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/preproc.asm:3 | ; 74 : int i;
; 75 :
; 76 : /* v2.11: GetTextLine() removed - this is now done in ProcessFile() */
; 77 :
; 78 : /* v2.08: moved here from GetTextLine() */
; 79 : ModuleInfo.CurrComment = NULL;
mov QWORD PTR ModuleInfo+472, 0
; 80 : /* v2.06: moved here from Tokenize() */
; 81 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/preproc.asm:4 | lea rcx, OFFSET FLAT:$SG10928
call DoDebugMsg1
jmp SHORT $LN5@Preprocess
$LN4@Preprocess:
; 89 : else
; 90 : DebugMsg1(("PreprocessLine(%s): >%s< cmt=%s\n", GetTopSrcName(), line, ModuleInfo.CurrComment ? ModuleInfo.CurrComment : "" ));
cmp QWORD PTR ModuleInfo+472, 0
je SHORT $LN28@Preprocess
mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/preproc.asm:5 | ; 95 : LstWriteSrcLine();
call LstWriteSrcLine
$LN6@Preprocess:
; 96 : #endif
; 97 :
; 98 : if ( Token_Count == 0 )
cmp DWORD PTR ModuleInfo+496, 0
jne SHORT $LN8@Preprocess
; 99 : return( 0 );
xor eax, eax
jmp $LN1@Preprocess
$LN8@Preprocess:
; 100 :
; 101 : #ifdef DEBUG_OUT
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/preproc.asm:6 | cmp DWORD PTR CurrIfState, 0
jne SHORT $LN10@Preprocess
; 111 : if ( ( tokenarray[Token_Count].bytval & TF3_EXPANSION ? ExpandText( line, tokenarray, TRUE ) : ExpandLine( line, tokenarray ) ) < NOT_ERROR )
movsxd rax, DWORD PTR ModuleInfo+496
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/preproc.asm:7 | inc eax
mov DWORD PTR cntppl1, eax
; 116 :
; 117 : i = 0;
mov DWORD PTR i$[rsp], 0
; 118 : if ( Token_Count > 2 && ( tokenarray[1].token == T_COLON || tokenarray[1].token == T_DBL_COLON ) )
cmp DWORD PTR ModuleInfo+496, 2
jle SHORT $LN12@Preprocess
mov eax, 32 ; 00000020H
imul rax, rax, 1
mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/preproc.asm:8 | movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
cmp eax, 3
jne SHORT $LN14@Preprocess
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax+1]
cmp eax, 3
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/preproc.asm:9 | movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax+1]
lea rcx, OFFSET FLAT:directive_tab
mov QWORD PTR tv227[rsp], rcx
mov rdx, QWORD PTR tokenarray$[rsp]
mov ecx, DWORD PTR i$[rsp]
mov r8, QWORD PTR tv227[rsp]
call QWORD PTR [r8+rax*... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/preproc.asm:10 | imul rax, rax, 1
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax+1]
mov BYTE PTR tv189[rsp], al
cmp BYTE PTR tv189[rsp], 4
jb $LN2@Preprocess
cmp BYTE PTR tv189[rsp], 6
jbe $LN26@Preprocess
cmp BYTE PTR tv189[rsp], 47 ; 0000002fH
je SHORT $LN18@Preprocess
jmp $LN2@Preprocess
$LN18@Preproces... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/preproc.asm:11 | ; 160 : if ( StoreState ) FStoreLine( 0 );
movzx eax, BYTE PTR StoreState
test eax, eax
je SHORT $LN21@Preprocess
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN22@Preprocess
xor r8d, r8d
xor edx, edx
mov rcx, QWORD PTR ModuleInfo+464
call StoreLine
$LN22@Preprocess:
$LN21@Preprocess:
; 161 :... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/preproc.asm:12 | mov rax, QWORD PTR sym$1[rsp]
cmp DWORD PTR [rax+40], 1
jne SHORT $LN32@Preprocess
mov DWORD PTR tv211[rsp], 2
jmp SHORT $LN33@Preprocess
$LN32@Preprocess:
mov DWORD PTR tv211[rsp], 3
$LN33@Preprocess:
mov r8, QWORD PTR sym$1[rsp]
xor edx, edx
mov ecx, DWORD PTR tv211[rsp]
call LstWrite
$LN25@Preprocess:
$LN19... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/preproc.asm:13 | xor eax, eax
jmp SHORT $LN1@Preprocess
$LN2@Preprocess:
$LN17@Preprocess:
; 176 : }
; 177 : }
; 178 :
; 179 : DebugCmd( cntppl2++ );
mov eax, DWORD PTR cntppl2
inc eax
mov DWORD PTR cntppl2, eax
; 180 : return( Token_Count );
mov eax, DWORD PTR ModuleInfo+496
$LN1@Preprocess:
; 181 :... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/preproc.asm:14 | mov QWORD PTR [rsp+8], rcx
sub rsp, 56 ; 00000038H
; 41 : int oldcnt;
; 42 : int oldtoken;
; 43 : char oldchar;
; 44 :
; 45 : if ( tokenarray[0].token != T_ID ) {
mov eax, 32 ; 00000020H
imul rax, rax, 0
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
cmp eax,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/preproc.asm:15 | $LN3@WriteCodeL:
; 50 : /* v2.04: call ParseLine() to parse the "label" part of the line */
; 51 : oldcnt = Token_Count;
mov eax, DWORD PTR ModuleInfo+496
mov DWORD PTR oldcnt$[rsp], eax
; 52 : oldtoken = tokenarray[2].token;
mov eax, 32 ; 00000020H
imul rax, rax, 2
mov rcx, QWORD PTR tok... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/preproc.asm:16 | mov rcx, QWORD PTR tokenarray$[rsp]
mov rax, QWORD PTR [rcx+rax+24]
mov BYTE PTR [rax], 0
; 57 : ParseLine( tokenarray );
mov rcx, QWORD PTR tokenarray$[rsp]
call ParseLine
; 58 : if ( Options.preprocessor_stdout == TRUE )
movzx eax, BYTE PTR Options+141
cmp eax, 1
jne SHORT $LN4@WriteCodeL
; 59... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 601 | 655 |
Terraspace/UASM:x64/Debug/preproc.asm:17 | movzx ecx, BYTE PTR oldchar$[rsp]
mov BYTE PTR [rax], cl
; 63 : return( NOT_ERROR );
xor eax, eax
$LN1@WriteCodeL:
; 64 : }
add rsp, 56 ; 00000038H
ret 0
WriteCodeLabel ENDP
_TEXT ENDS
END | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/preproc.asm | 641 | 655 |
Terraspace/UASM:x64/Debug/preproc.asm:10 | imul rax, rax, 1
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax+1]
mov BYTE PTR tv189[rsp], al
cmp BYTE PTR tv189[rsp], 4
jb $LN2@Preprocess
cmp BYTE PTR tv189[rsp], 6
jbe $LN26@Preprocess
cmp BYTE PTR tv189[rsp], 47 ; 0000002fH
je SHORT $LN18@Preprocess
jmp $LN2@Preprocess
$LN18@Preproces... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/preproc.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/preproc.asm:11 | ; 160 : if ( StoreState ) FStoreLine( 0 );
movzx eax, BYTE PTR StoreState
test eax, eax
je SHORT $LN21@Preprocess
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN22@Preprocess
xor r8d, r8d
xor edx, edx
mov rcx, QWORD PTR ModuleInfo+464
call StoreLine
$LN22@Preprocess:
$LN21@Preprocess:
; 161 :... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/preproc.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/preproc.asm:12 | mov rax, QWORD PTR sym$1[rsp]
cmp DWORD PTR [rax+32], 1
jne SHORT $LN32@Preprocess
mov DWORD PTR tv211[rsp], 2
jmp SHORT $LN33@Preprocess
$LN32@Preprocess:
mov DWORD PTR tv211[rsp], 3
$LN33@Preprocess:
mov r8, QWORD PTR sym$1[rsp]
xor edx, edx
mov ecx, DWORD PTR tv211[rsp]
call LstWrite
$LN25@Preprocess:
$LN19... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/preproc.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/preproc.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
COMM cntppl0:DWORD
COMM cntppl1:DWORD
COMM cntppl2:DWORD
_DATA ENDS
_BSS SEGMENT
$SG1089... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/preproc.asm:2 | EXTRN Options:BYTE
EXTRN ModuleInfo:BYTE
EXTRN Parse_Pass:DWORD
EXTRN CurrIfState:DWORD
EXTRN StoreState:BYTE
EXTRN directive_tab:BYTE
pdata SEGMENT
$pdata$WriteCodeLabel DD imagerel $LN6
DD imagerel $LN6+336
DD imagerel $unwind$WriteCodeLabel
$pdata$PreprocessLine DD imagerel $LN34
DD imagerel $LN34+937
DD imagere... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/preproc.asm:3 | tokenarray$ = 120
PreprocessLine PROC
; 73 : {
$LN34:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 96 ; 00000060H
mov rdi, rsp
mov ecx, 24
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+112]
; 74 : int i;
; 75 :
; 76 : /* v2.11: GetTextLi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/preproc.asm:4 | ; 84 :
; 85 : #ifdef DEBUG_OUT
; 86 : cntppl0++;
mov eax, DWORD PTR cntppl0
inc eax
mov DWORD PTR cntppl0, eax
; 87 : if ( ModuleInfo.GeneratedCode )
cmp DWORD PTR ModuleInfo+456, 0
je SHORT $LN4@Preprocess
; 88 : DebugMsg1(("PreprocessLine: >%s<\n", line ));
mov rdx, QWORD PTR line... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/preproc.asm:5 | ; 91 : #endif
; 92 :
; 93 : #if REMOVECOMENT == 0
; 94 : if ( Token_Count == 0 && ( CurrIfState == BLOCK_ACTIVE || ModuleInfo.listif ) )
cmp DWORD PTR ModuleInfo+496, 0
jne SHORT $LN6@Preprocess
cmp DWORD PTR CurrIfState, 0
je SHORT $LN7@Preprocess
mov eax, DWORD PTR ModuleInfo+408
shr eax, 13
and e... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/preproc.asm:6 | movzx eax, BYTE PTR Options+22
test eax, eax
je SHORT $LN9@Preprocess
; 104 : return( Token_Count );
mov eax, DWORD PTR ModuleInfo+496
jmp $LN1@Preprocess
$LN9@Preprocess:
; 105 : #endif
; 106 :
; 107 : /* CurrIfState != BLOCK_ACTIVE && Token_Count == 1 | 3 may happen
; 108 : * if a conditi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/preproc.asm:7 | $LN31@Preprocess:
cmp DWORD PTR tv135[rsp], 0
jge SHORT $LN11@Preprocess
; 112 : return( 0 );
xor eax, eax
jmp $LN1@Preprocess
$LN11@Preprocess:
$LN10@Preprocess:
; 113 : }
; 114 :
; 115 : DebugCmd( cntppl1++ );
mov eax, DWORD PTR cntppl1
inc eax
mov DWORD PTR cntppl1, eax
; 116 :
;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/preproc.asm:8 | $LN13@Preprocess:
; 119 : i = 2;
mov DWORD PTR i$[rsp], 2
$LN12@Preprocess:
; 120 :
; 121 : /* handle "preprocessor" directives:
; 122 : * IF, ELSE, ENDIF, ...
; 123 : * FOR, REPEAT, WHILE, ...
; 124 : * PURGE
; 125 : * INCLUDE
; 126 : * since v2.05, error directives are... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/preproc.asm:9 | mov rdx, QWORD PTR tokenarray$[rsp]
mov rcx, QWORD PTR line$[rsp]
call WriteCodeLabel
cmp eax, -1
jne SHORT $LN16@Preprocess
; 134 : return( 0 );
xor eax, eax
jmp $LN1@Preprocess
$LN16@Preprocess:
$LN15@Preprocess:
; 135 : }
; 136 : directive_tab[tokenarray[i].dirtype]( i, to... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/preproc.asm:10 | imul rax, rax, 0
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
cmp eax, 8
jne $LN17@Preprocess
mov eax, 32 ; 00000020H
imul rax, rax, 1
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
cmp eax, 3
jne $LN17@Preprocess
; 143 : struct asym *sym;
; 144 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/preproc.asm:11 | ; 156 : */
; 157 : if ( sym = CreateConstant( tokenarray ) ) {
mov rcx, QWORD PTR tokenarray$[rsp]
call CreateConstant
mov QWORD PTR sym$1[rsp], rax
cmp QWORD PTR sym$1[rsp], 0
je $LN19@Preprocess
; 158 : if ( sym->state != SYM_TMACRO ) {
mov rax, QWORD PTR sym$1[rsp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/preproc.asm:12 | call WritePreprocessedLine
$LN24@Preprocess:
$LN20@Preprocess:
; 164 : }
; 165 : /* v2.03: LstWrite() must be called AFTER StoreLine()! */
; 166 : if ( ModuleInfo.list == TRUE ) {
mov eax, DWORD PTR ModuleInfo+408
shr eax, 11
and eax, 1
cmp eax, 1
jne SHORT $LN2... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/preproc.asm:13 | ; 172 : case DRT_CATSTR: /* CATSTR + TEXTEQU directives */
; 173 : case DRT_SUBSTR:
; 174 : directive_tab[tokenarray[1].dirtype]( 1, tokenarray );
mov eax, 32 ; 00000020H
imul rax, rax, 1
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax+1]
lea rcx, OFFSET FLAT:di... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/preproc.asm:14 | ret 0
PreprocessLine ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\preproc.c
_TEXT SEGMENT
oldcnt$ = 32
oldtoken$ = 36
oldchar$ = 40
line$ = 64
tokenarray$ = 72
WriteCodeLabel PROC
; 40 : {
$LN6:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/preproc.asm:15 | mov eax, 32 ; 00000020H
imul rax, rax, 0
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 209 ; 000000d1H
call EmitErr
jmp $LN1@WriteCodeL
$LN2@WriteCodeL:
; 47 : }
; 48 : /* ensure the listing is written with the FULL source line */
; 49 : if ( CurrFile[LST] )... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/preproc.asm:16 | mov eax, 32 ; 00000020H
imul rax, rax, 2
mov rcx, QWORD PTR tokenarray$[rsp]
mov rax, QWORD PTR [rcx+rax+24]
movzx eax, BYTE PTR [rax]
mov BYTE PTR oldchar$[rsp], al
; 54 : Token_Count = 2;
mov DWORD PTR ModuleInfo+496, 2
; 55 : tokenarray[2].token = T_FINAL;
mov eax, 32 ; 00000020H
imul... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 601 | 660 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.