id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Terraspace/UASM:x64/Release/cpumodel.asm:33 | ; 170 :
; 171 : RunLineQueue();
call RunLineQueue
; 172 :
; 173 : if ( Parse_Pass != PASS_1 )
cmp DWORD PTR Parse_Pass, ebx
jne $LN18@SetModel
; 174 : return;
; 175 :
; 176 : /* Set @CodeSize */
; 177 : if ( SIZE_CODEPTR & ( 1 << ModuleInfo.model ) ) {
mov ecx, DWORD PTR ModuleI... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/cpumodel.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/cpumodel.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Release/cpumodel.asm:35 | ; 198 : value = 0;
; 199 : break;
; 200 : }
; 201 : sym_DataSize = AddPredefinedConstant( "@DataSize", value );
mov edx, ebx
lea rcx, OFFSET FLAT:$SG11165
call CreateVariable
test rax, rax
je SHORT $LN27@SetModel
or BYTE PTR [rax+40], 32 ; 00000020H
$LN27@SetModel:
; 202 :
; 203 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/cpumodel.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/cpumodel.asm | 1,361 | 1,420 |
Terraspace/UASM:x64/Release/cpumodel.asm:36 | ; 209 :
; 210 : #if 0
; 211 : AddPredefinedText( "@fardata", ( ModuleInfo.model == MODEL_FLAT ? "FLAT" : SimGetSegName( SIM_FARDATA ) ) );
; 212 : AddPredefinedText( "@fardata?", ( ModuleInfo.model == MODEL_FLAT ? "FLAT" : SimGetSegName( SIM_FARDATA_UN ) ) );
; 213 : #endif
; 214 :
; 215 : /* Set @Mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/cpumodel.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/cpumodel.asm | 1,401 | 1,460 |
Terraspace/UASM:x64/Release/cpumodel.asm:38 | ; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\cpumodel.c
; COMDAT SetDefaultOfssize
_TEXT SEGMENT
size$ = 8
SetDefaultOfssize PROC ; COMDAT
; 110 : /* outside any segments? */
; 111 : if( CurrSeg == NULL ) {
movzx edx, BYTE PTR ModuleInfo+405
cmp QWORD PTR ModuleInfo+43... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/cpumodel.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/cpumodel.asm | 1,481 | 1,540 |
Terraspace/UASM:x64/Release/cpumodel.asm:39 | test rax, rax
je SHORT $LN4@AddPredefi
; 101 : sym->predefined = TRUE;
or BYTE PTR [rax+40], 32 ; 00000020H
$LN4@AddPredefi:
; 102 : return(sym);
; 103 : }
add rsp, 40 ; 00000028H
ret 0
AddPredefinedConstant ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjw... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/cpumodel.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/cpumodel.asm | 1,521 | 1,580 |
Terraspace/UASM:x64/Release/cpumodel.asm:40 | test r8d, r8d
jle SHORT $LN3@FindToken
$LL4@FindToken:
; 89 : if( _stricmp( *table, token ) == 0 ) {
mov rcx, QWORD PTR [rdi]
mov rdx, rbp
call _stricmp
test eax, eax
je SHORT $LN8@FindToken
; 87 : int i;
; 88 : for( i = 0; i < size; i++, table++ ) {
inc ebx
add rdi, 8
cmp ebx, esi
j... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/cpumodel.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/cpumodel.asm | 1,561 | 1,605 |
Terraspace/UASM:x64/Release/cpumodel.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC ModelToken
PUBLIC coff64_fmtopt
PUBLIC elf64_fmtopt
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM sym_Interface:QWORD
COMM sym_Cpu:QWORD
_DATA ENDS
_DATA SEGME... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/cpumodel.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/cpumodel.asm | 1 | 60 |
Terraspace/UASM:x64/Release/cpumodel.asm:2 | $SG11156 DB '@code', 00H
ORG $+6
$SG11160 DB '@DataSize', 00H
ORG $+2
$SG11161 DB 'FLAT', 00H
ORG $+3
$SG11162 DB '@data', 00H
ORG $+2
$SG11164 DB 'STACK', 00H
ORG $+2
$SG11165 DB '@stack', 00H
ORG $+1
$SG11166 DB '@Model', 00H
ORG $+5
$SG11167 DB '@Interface', 00H
ORG $+5
$SG11169 DB '@ReservedStack', 00H
ORG... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/cpumodel.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/cpumodel.asm | 41 | 100 |
Terraspace/UASM:x64/Release/cpumodel.asm:15 | ; 441 : } else
jmp SHORT $LN35@SetCPU
$LN28@SetCPU:
; 442 : #endif
; 443 : SetDefaultOfssize( ((ModuleInfo.curr_cpu & P_CPU_MASK) >= P_386) ? USE32 : USE16 );
cmp QWORD PTR ModuleInfo+432, 0
jne SHORT $LN35@SetCPU
cmp r8d, 48 ; 00000030H
setge BYTE PTR ModuleInfo+405
$LN35@SetCPU:
ca... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/cpumodel.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/cpumodel.asm | 561 | 620 |
Terraspace/UASM:x64/Release/cpumodel.asm:33 | ; 170 :
; 171 : RunLineQueue();
call RunLineQueue
; 172 :
; 173 : if ( Parse_Pass != PASS_1 )
cmp DWORD PTR Parse_Pass, ebx
jne $LN18@SetModel
; 174 : return;
; 175 :
; 176 : /* Set @CodeSize */
; 177 : if ( SIZE_CODEPTR & ( 1 << ModuleInfo.model ) ) {
mov ecx, DWORD PTR ModuleI... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/cpumodel.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/cpumodel.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Release/cpumodel.asm:34 | ; 186 : AddPredefinedText( "@code", SimGetSegName( SIM_CODE ) );
xor ecx, ecx
mov QWORD PTR sym_CodeSize, rax
call SimGetSegName
mov rdx, rax
lea rcx, OFFSET FLAT:$SG11156
call AddPredefinedText
; 187 :
; 188 : /* Set @DataSize */
; 189 : switch( ModuleInfo.model ) {
mov ecx, DWORD PTR ModuleI... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/cpumodel.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/cpumodel.asm | 1,321 | 1,380 |
Terraspace/UASM:x64/Release/cpumodel.asm:35 | ; 198 : value = 0;
; 199 : break;
; 200 : }
; 201 : sym_DataSize = AddPredefinedConstant( "@DataSize", value );
mov edx, ebx
lea rcx, OFFSET FLAT:$SG11160
call CreateVariable
test rax, rax
je SHORT $LN27@SetModel
or BYTE PTR [rax+40], 32 ; 00000020H
$LN27@SetModel:
; 202 :
; 203 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/cpumodel.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/cpumodel.asm | 1,361 | 1,420 |
Terraspace/UASM:x64/Release/cpumodel.asm:36 | ; 209 :
; 210 : #if 0
; 211 : AddPredefinedText( "@fardata", ( ModuleInfo.model == MODEL_FLAT ? "FLAT" : SimGetSegName( SIM_FARDATA ) ) );
; 212 : AddPredefinedText( "@fardata?", ( ModuleInfo.model == MODEL_FLAT ? "FLAT" : SimGetSegName( SIM_FARDATA_UN ) ) );
; 213 : #endif
; 214 :
; 215 : /* Set @Mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/cpumodel.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/cpumodel.asm | 1,401 | 1,460 |
Terraspace/UASM:x64/Release/cpumodel.asm:37 | ; 222 : sym_ReservedStack = AddPredefinedConstant( "@ReservedStack", 0 );
xor edx, edx
lea rcx, OFFSET FLAT:$SG11169
call CreateVariable
test rax, rax
je SHORT $LN36@SetModel
or BYTE PTR [rax+40], 32 ; 00000020H
$LN36@SetModel:
mov QWORD PTR sym_ReservedStack, rax
$LN17@SetModel:
; 223 : }
; 22... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/cpumodel.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/cpumodel.asm | 1,441 | 1,500 |
Terraspace/UASM:x64/Release/directiv.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC IncludeDirective
PUBLIC StubDir
PUBLIC SegOrderDirective
PUBLIC RadixDirective
PUBLIC AliasDirective
PUBLIC EchoDirective
PUBLIC IncBinDirective
PUBLIC IncludeLibDirective
P... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1 | 60 |
Terraspace/UASM:x64/Release/directiv.asm:2 | EXTRN RecordDirective:PROC
EXTRN CommDirective:PROC
EXTRN ExternDirective:PROC
EXTRN ExterndefDirective:PROC
EXTRN ProtoDirective:PROC
EXTRN PublicDirective:PROC
EXTRN ProcDir:PROC
EXTRN EndpDir:PROC
EXTRN LocalDir:PROC
EXTRN InvokeDirective:PROC
EXTRN OrgDirective:PROC
EXTRN AlignDirective:PROC
EXTRN SegmentDir:PROC
E... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 41 | 100 |
Terraspace/UASM:x64/Release/directiv.asm:3 | DQ FLAT:CpuDirective
DQ FLAT:ListingDirective
DQ FLAT:ListMacroDirective
DQ FLAT:SegOrderDirective
DQ FLAT:SimplifiedSegDir
DQ FLAT:HllStartDir
DQ FLAT:HllExitDir
DQ FLAT:HllEndDir
DQ FLAT:StartupExitDirective
DQ FLAT:ModelDirective
DQ FLAT:RadixDirective
DQ FLAT:SafeSEHDirective
DQ FLAT:InStrDir
DQ FLAT:S... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 81 | 140 |
Terraspace/UASM:x64/Release/directiv.asm:4 | DQ FLAT:NameDirective
DQ FLAT:OptionDirective
DQ FLAT:ContextDirective
CONST ENDS
PUBLIC __local_stdio_printf_options
PUBLIC printf
EXTRN isspace:PROC
EXTRN __acrt_iob_func:PROC
EXTRN fclose:PROC
EXTRN feof:PROC
EXTRN fgetc:PROC
EXTRN fseek:PROC
EXTRN __stdio_common_vfprintf:PROC
EXTRN _strupr:PROC
EXTRN EmitError:PR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 121 | 180 |
Terraspace/UASM:x64/Release/directiv.asm:5 | ; COMDAT pdata
pdata SEGMENT
$pdata$_vfprintf_l DD imagerel $LN4
DD imagerel $LN4+80
DD imagerel $unwind$_vfprintf_l
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$printf DD imagerel $LN6
DD imagerel $LN6+83
DD imagerel $unwind$printf
pdata ENDS
pdata SEGMENT
$pdata$IncludeDirective DD imagerel $LN18
DD imagerel $... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 161 | 220 |
Terraspace/UASM:x64/Release/directiv.asm:6 | $pdata$12$AliasDirective DD imagerel $LN34+379
DD imagerel $LN34+492
DD imagerel $chain$12$AliasDirective
$pdata$14$AliasDirective DD imagerel $LN34+492
DD imagerel $LN34+543
DD imagerel $chain$14$AliasDirective
$pdata$15$AliasDirective DD imagerel $LN34+543
DD imagerel $LN34+578
DD imagerel $chain$15$AliasDirect... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 201 | 260 |
Terraspace/UASM:x64/Release/directiv.asm:7 | DD imagerel IncludeLibrary+172
DD imagerel $chain$0$IncludeLibrary
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$1$IncludeLibrary DD imagerel IncludeLibrary+172
DD imagerel IncludeLibrary+182
DD imagerel $chain$1$IncludeLibrary
pdata ENDS
; COMDAT xdata
xdata SEGMENT
$chain$1$IncludeLibrary DD 021H
DD imagerel Inc... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 241 | 300 |
Terraspace/UASM:x64/Release/directiv.asm:8 | $unwind$AliasDirective DD 020601H
DD 050023206H
$chain$0$AliasDirective DD 020521H
DD 076405H
DD imagerel $LN34
DD imagerel $LN34+99
DD imagerel $unwind$AliasDirective
$chain$3$AliasDirective DD 040921H
DD 063409H
DD 076400H
DD imagerel $LN34
DD imagerel $LN34+99
DD imagerel $unwind$AliasDirective
$chain$5$Al... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 281 | 340 |
Terraspace/UASM:x64/Release/directiv.asm:9 | DD 076400H
DD 063400H
DD imagerel $LN34
DD imagerel $LN34+99
DD imagerel $unwind$AliasDirective
$chain$15$AliasDirective DD 021H
DD imagerel $LN34
DD imagerel $LN34+99
DD imagerel $unwind$AliasDirective
$unwind$EchoDirective DD 010401H
DD 04204H
$unwind$IncBinDirective DD 071201H
DD 0195412H
DD 0183412H
DD 0... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 321 | 380 |
Terraspace/UASM:x64/Release/directiv.asm:10 | ; COMDAT xdata
xdata SEGMENT
$unwind$printf DD 041b01H
DD 07017521bH
DD 030156016H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vfprintf_l DD 081401H
DD 0a6414H
DD 095414H
DD 083414H
DD 070105214H
xdata ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\directiv.c
; COMDAT Incl... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 361 | 420 |
Terraspace/UASM:x64/Release/directiv.asm:11 | test r9, r9
je SHORT $LN3@IncludeLib
npad 11
$LL4@IncludeLib:
; 120 : //if ( _stricmp( dir->sym.name, name) == 0)
; 121 : if ( strcmp( q->value, name ) == 0 )
lea rax, QWORD PTR [r9+8]
mov r8, rbx
sub r8, rax
npad 6
$LL17@IncludeLib:
movzx edx, BYTE PTR [rax]
movzx ecx, BYTE PTR [rax+r8]
su... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 401 | 460 |
Terraspace/UASM:x64/Release/directiv.asm:12 | mov QWORD PTR [rsp+48], rdi
; 123 : }
; 124 : q = LclAlloc( sizeof( struct qitem ) + strlen( name ) );
or rcx, -1
npad 8
$LL16@IncludeLib:
inc rcx
cmp BYTE PTR [rbx+rcx], 0
jne SHORT $LL16@IncludeLib
add rcx, 16
call LclAlloc
; 125 : strcpy( q->value, name );
mov rdx, rax
sub rdx, rbx
lea r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 441 | 500 |
Terraspace/UASM:x64/Release/directiv.asm:13 | add rsp, 32 ; 00000020H
pop rbx
ret 0
$LN10@IncludeLib:
; 122 : return( q->value );
lea rax, QWORD PTR [r9+8]
; 128 : }
add rsp, 32 ; 00000020H
pop rbx
ret 0
IncludeLibrary ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\directiv.c
_TEXT SEGM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 481 | 540 |
Terraspace/UASM:x64/Release/directiv.asm:14 | ; 414 : // ModuleInfo.name[ sizeof( ModuleInfo.name ) - 1] = NULLC;
; 415 : // DebugMsg(("NameDirective: set name to >%s<\n", ModuleInfo.name ));
; 416 : DebugMsg(("NameDirective: ignored name >%s<\n", tokenarray[i].string_ptr ));
; 417 : return( NOT_ERROR );
; 418 : }
ret 0
$LN2@NameDirect:
; 384 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 521 | 580 |
Terraspace/UASM:x64/Release/directiv.asm:15 | movzx eax, BYTE PTR [rdx]
cmp al, 3
jne SHORT $LN5@NameDirect
mov eax, DWORD PTR [rdx+16]
cmp eax, 436 ; 000001b4H
je SHORT $LN4@NameDirect
add eax, -417 ; fffffe5fH
cmp eax, 4
jbe SHORT $LN4@NameDirect
; 383 : return( NOT_ERROR );
xor eax, eax
; 408 : }
; 409 :
; 410 : /* don't to... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 561 | 620 |
Terraspace/UASM:x64/Release/directiv.asm:16 | ; 401 : tokenarray[i].tokval == T_STRUCT ||
; 402 : tokenarray[i].tokval == T_STRUC ||
; 403 : tokenarray[i].tokval == T_UNION ||
; 404 : tokenarray[i].tokval == T_TYPEDEF ||
; 405 : tokenarray[i].tokval == T_RECORD)) ||
cmp al, 58 ; 0000003aH
jne SHORT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 601 | 660 |
Terraspace/UASM:x64/Release/directiv.asm:17 | je SHORT $LN5@IncludeLib
; 155 : return( NOT_ERROR );
xor eax, eax
; 184 : }
add rsp, 32 ; 00000020H
pop rdi
ret 0
$LN5@IncludeLib:
mov QWORD PTR [rsp+48], rbx
; 156 : i++; /* skip the directive */
inc ecx
mov QWORD PTR [rsp+56], rsi
; 157 : /* v2.03: library name may be just a "nu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 641 | 700 |
Terraspace/UASM:x64/Release/directiv.asm:18 | ; 164 : }
; 165 :
; 166 : if ( tokenarray[i].token == T_STRING && tokenarray[i].string_delim == '<' ) {
cmp BYTE PTR [rbx], 9
jne SHORT $LN7@IncludeLib
cmp BYTE PTR [rbx+1], 60 ; 0000003cH
jne SHORT $LN7@IncludeLib
; 167 : if ( tokenarray[i+1].token != T_FINAL ) {
lea rax, QWORD PTR [rsi+1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 681 | 740 |
Terraspace/UASM:x64/Release/directiv.asm:19 | ; 174 : } else {
jmp SHORT $LN33@IncludeLib
$LN7@IncludeLib:
; 175 : char *p;
; 176 : /* regard "everything" behind INCLUDELIB as the library name */
; 177 : name = tokenarray[i].tokpos;
; 178 : /* remove trailing white spaces */
; 179 : for ( p = tokenarray[Token_Co... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 721 | 780 |
Terraspace/UASM:x64/Release/directiv.asm:20 | mov r8, rbx
sub r8, rax
npad 3
$LL31@IncludeLib:
movzx edx, BYTE PTR [rax]
movzx ecx, BYTE PTR [rax+r8]
sub edx, ecx
jne SHORT $LN32@IncludeLib
inc rax
test ecx, ecx
jne SHORT $LL31@IncludeLib
$LN32@IncludeLib:
test edx, edx
je SHORT $LN11@IncludeLib
mov r9, QWORD PTR [r9]
test r9, r9
jne SHORT $LL14@Incl... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 761 | 820 |
Terraspace/UASM:x64/Release/directiv.asm:21 | mov rbx, QWORD PTR [rsp+48]
xor eax, eax
mov rsi, QWORD PTR [rsp+56]
; 184 : }
add rsp, 32 ; 00000020H
pop rdi
ret 0
IncludeLibDirective ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\directiv.c
_TEXT SEGMENT
opndx$ = 48
i$ = 176
tokenarray$ = 184
IncBinDirecti... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 801 | 860 |
Terraspace/UASM:x64/Release/directiv.asm:22 | ; 202 : /* v2.03: file name may be just a "number" */
; 203 : //if ( tokenarray[i].token == T_FINAL || tokenarray[i].token == T_NUM ) {
; 204 : if ( tokenarray[i].token == T_FINAL ) {
movsxd rax, ecx
xor ebp, ebp
shl rax, 5
or esi, -1 ; ffffffffH
add rdx, rax
mov DWORD PTR i$[rsp], ecx
movzx ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 841 | 900 |
Terraspace/UASM:x64/Release/directiv.asm:23 | cmp al, 60 ; 0000003cH
jne $LN6@IncBinDire
; 215 : /* v2.08: use GetLiteralValue() instead of strncpy() */
; 216 : //GetLiteralValue( StringBufferEnd, tokenarray[i].string_ptr );
; 217 : memcpy( StringBufferEnd, tokenarray[i].string_ptr, tokenarray[i].stringlen+1 );
mov r8... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 881 | 940 |
Terraspace/UASM:x64/Release/directiv.asm:24 | ; 225 : if ( tokenarray[i].token == T_COMMA ) {
movsxd rax, ecx
shl rax, 5
mov DWORD PTR i$[rsp], ecx
cmp BYTE PTR [rax+rbx], 44 ; 0000002cH
jne $LN22@IncBinDire
; 226 : i++;
; 227 : if ( EvalOperand( &i, tokenarray, Token_Count, &opndx, 0 ) == ERROR )
mov r8d, DWORD PTR ModuleInfo+496... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 921 | 980 |
Terraspace/UASM:x64/Release/directiv.asm:25 | ; 233 : }
; 234 : if ( tokenarray[i].token == T_COMMA ) {
movsxd rcx, DWORD PTR i$[rsp]
mov rax, rcx
shl rax, 5
cmp BYTE PTR [rax+rbx], 44 ; 0000002cH
jne SHORT $LN22@IncBinDire
; 235 : i++;
; 236 : if ( EvalOperand( &i, tokenarray, Token_Count, &opndx, 0 ) == ERROR ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 961 | 1,020 |
Terraspace/UASM:x64/Release/directiv.asm:26 | je SHORT $LN17@IncBinDire
$LN38@IncBinDire:
; 232 : return( EmitError( CONSTANT_EXPECTED ) );
mov ecx, 65 ; 00000041H
jmp $LN37@IncBinDire
$LN20@IncBinDire:
; 240 : } else if ( opndx.kind != EXPR_EMPTY ) {
cmp eax, -2
jne SHORT $LN38@IncBinDire
$LN35@IncBinDire:
; 241 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Release/directiv.asm:27 | ; 249 : if( CurrSeg == NULL ) {
cmp QWORD PTR ModuleInfo+432, 0
jne SHORT $LN24@IncBinDire
; 250 : return( EmitError( MUST_BE_IN_SEGMENT_BLOCK ) );
mov ecx, 82 ; 00000052H
jmp $LN37@IncBinDire
$LN24@IncBinDire:
; 251 : }
; 252 :
; 253 : /* v2.04: tell assembler that data is emitted ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Release/directiv.asm:28 | ; 262 : if ( fileoffset )
test ebp, ebp
je SHORT $LN27@IncBinDire
; 263 : fseek( file, fileoffset, SEEK_SET ); /* fixme: use fseek64() */
xor r8d, r8d
mov edx, ebp
mov rcx, rax
call fseek
$LN27@IncBinDire:
; 264 : for( ; sizemax; sizemax-- ) {
test esi, esi
je SHORT $LN36@In... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Release/directiv.asm:29 | call OutputByte
add esi, -1 ; ffffffffH
jne SHORT $LL4@IncBinDire
$LN36@IncBinDire:
; 269 : }
; 270 : fclose( file );
mov rcx, rdi
call fclose
$LN26@IncBinDire:
; 271 : }
; 272 :
; 273 : return( NOT_ERROR );
mov rdi, QWORD PTR [rsp+184]
xor eax, eax
jmp SHORT $LN1@IncBinDire
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Release/directiv.asm:30 | _TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\directiv.c
_TEXT SEGMENT
i$ = 48
tokenarray$ = 56
EchoDirective PROC
; 55 : {
$LN8:
sub rsp, 40 ; 00000028H
; 56 : if ( Parse_Pass == PASS_1 ) /* display in pass 1 only */
cmp DWORD PTR Parse_Pass, 0
mov rax, rdx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Release/directiv.asm:31 | add rsp, 40 ; 00000028H
ret 0
EchoDirective ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\directiv.c
_TEXT SEGMENT
i$ = 48
tokenarray$ = 56
AliasDirective PROC
; 293 : {
$LN34:
push rbp
sub rsp, 32 ; 00000020H
; 294 : //char *tmp;
; 295 : struct a... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Release/directiv.asm:32 | ; 304 : }
; 305 :
; 306 : /* check syntax. note that '=' is T_DIRECTIVE && DRT_EQUALSGN */
; 307 : if ( tokenarray[i+1].token != T_DIRECTIVE ||
lea rcx, QWORD PTR [r8+1]
shl rcx, 5
cmp BYTE PTR [rcx+rdx], 3
jne $LN5@AliasDirec
cmp BYTE PTR [rcx+rdx+1], 48 ; 00000030H
jne $LN5@AliasDirec
; 312 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,241 | 1,300 |
Terraspace/UASM:x64/Release/directiv.asm:33 | mov ecx, 209 ; 000000d1H
mov rsi, QWORD PTR [rsp+56]
; 375 : }
add rsp, 32 ; 00000020H
pop rbp
; 322 : return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i+3].string_ptr ) );
jmp EmitErr
$LN8@AliasDirec:
; 323 : }
; 324 :
; 325 : /* make sure <alias_name> isn't defined elsewhere */
; 326 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Release/directiv.asm:34 | $LL28@AliasDirec:
movzx edx, BYTE PTR [rcx]
movzx eax, BYTE PTR [rcx+r8]
sub edx, eax
jne SHORT $LN29@AliasDirec
inc rcx
test eax, eax
jne SHORT $LL28@AliasDirec
$LN29@AliasDirec:
test edx, edx
jne SHORT $LN17@AliasDirec
; 355 : }
; 356 : #if COFF_SUPPORT || ELF_SUPPORT
; 357 : /* for COFF+ELF, mak... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,321 | 1,380 |
Terraspace/UASM:x64/Release/directiv.asm:35 | mov rbx, QWORD PTR [rsp+48]
mov rsi, QWORD PTR [rsp+56]
; 375 : }
add rsp, 32 ; 00000020H
pop rbp
; 366 : return( EmitErr( SYMBOL_NOT_DEFINED, subst ) );
jmp EmitErr
$LN21@AliasDirec:
; 367 : } else if ( sym->substitute->state != SYM_EXTERNAL &&
cmp eax, 2
je SHORT $LN23@A... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,361 | 1,420 |
Terraspace/UASM:x64/Release/directiv.asm:36 | $LN23@AliasDirec:
mov rbx, QWORD PTR [rsp+48]
; 370 : }
; 371 : }
; 372 : }
; 373 : #endif
; 374 : return( NOT_ERROR );
xor eax, eax
mov rsi, QWORD PTR [rsp+56]
; 375 : }
add rsp, 32 ; 00000020H
pop rbp
ret 0
$LN17@AliasDirec:
; 353 : DebugMsg(("AliasDirective: ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,401 | 1,460 |
Terraspace/UASM:x64/Release/directiv.asm:37 | ; 330 : sym2 = SymSearch( subst );
mov rcx, rsi
mov QWORD PTR [rsp+64], rdi
call SymFind
mov rdi, rax
; 331 : if ( sym2 == NULL ) {
test rax, rax
jne SHORT $LN11@AliasDirec
; 332 : sym2 = SymCreate( subst );
mov rcx, rsi
call SymCreate
; 333 : sym2->state = SYM_... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,441 | 1,500 |
Terraspace/UASM:x64/Release/directiv.asm:38 | cmp DWORD PTR [rax+32], 2
jbe SHORT $LN13@AliasDirec
; 335 : } else if ( sym2->state != SYM_UNDEFINED &&
; 336 : sym2->state != SYM_INTERNAL &&
; 337 : sym2->state != SYM_EXTERNAL ) {
; 338 : return( EmitErr( MUST_BE_PUBLIC_OR_EXTERNAL, subst ) );
mov rd... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,481 | 1,540 |
Terraspace/UASM:x64/Release/directiv.asm:39 | lea rcx, OFFSET FLAT:SymTables+80
mov QWORD PTR [rbx+16], rdi
mov rdx, rbx
mov eax, DWORD PTR [rdi+76]
mov DWORD PTR [rbx+76], eax
call sym_add_table
; 350 : return( NOT_ERROR );
xor eax, eax
jmp SHORT $LN32@AliasDirec
$LN7@AliasDirec:
; 315 : tokenarray[i+2].string_delim != '<' ) {
; 316 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,521 | 1,580 |
Terraspace/UASM:x64/Release/directiv.asm:40 | ; 375 : }
add rsp, 32 ; 00000020H
pop rbp
; 308 : //tokenarray[i+1].tokval != T_EQU ||
; 309 : tokenarray[i+1].dirtype != DRT_EQUALSGN ) {
; 310 : DebugMsg(("AliasDirective: syntax error: %s\n", tokenarray[i+1].string_ptr ));
; 311 : return( EmitErr( SYNTAX_ERROR_EX, tokenar... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,561 | 1,620 |
Terraspace/UASM:x64/Release/directiv.asm:41 | lea edx, DWORD PTR [rcx+1]
mov BYTE PTR ModuleInfo+396, 10
; 432 : Tokenize( tokenarray[i].tokpos, i, tokenarray, TOK_RESCAN );
movsxd rcx, edx
mov r9d, 1
shl rcx, 5
mov r8, rdi
mov DWORD PTR i$[rsp], edx
mov rcx, QWORD PTR [rcx+rdi+24]
call Tokenize
; 433 : ModuleInfo.radix = oldradix;
; 434 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,601 | 1,660 |
Terraspace/UASM:x64/Release/directiv.asm:42 | ; 438 :
; 439 : if ( opndx.kind != EXPR_CONST ) {
cmp DWORD PTR opndx$[rsp+60], 0
je SHORT $LN3@RadixDirec
; 440 : return( EmitError( CONSTANT_EXPECTED ) );
mov ecx, 65 ; 00000041H
jmp SHORT $LN8@RadixDirec
$LN3@RadixDirec:
; 441 : }
; 442 : if ( tokenarray[i].token != T_FINAL ) {
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,641 | 1,700 |
Terraspace/UASM:x64/Release/directiv.asm:43 | ja SHORT $LN6@RadixDirec
cmp DWORD PTR opndx$[rsp+4], 0
jne SHORT $LN6@RadixDirec
; 447 : }
; 448 :
; 449 : ModuleInfo.radix = opndx.value;
mov BYTE PTR ModuleInfo+396, cl
; 450 : DebugMsg(("RadixDirective: new radix=%u\n", ModuleInfo.radix ));
; 451 :
; 452 : return( NOT_ERROR );
xor eax,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,681 | 1,740 |
Terraspace/UASM:x64/Release/directiv.asm:44 | _TEXT SEGMENT
i$ = 48
tokenarray$ = 56
SegOrderDirective PROC
; 459 : {
$LN10:
sub rsp, 40 ; 00000028H
mov r8, rdx
; 460 : if ( tokenarray[i+1].token != T_FINAL ) {
movsxd rcx, ecx
lea rdx, QWORD PTR [rcx+1]
shl rdx, 5
cmp BYTE PTR [rdx+r8], 0
je SHORT $LN2@SegOrderDi
; 461 : return( Emit... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,721 | 1,780 |
Terraspace/UASM:x64/Release/directiv.asm:45 | ; 465 : #if ELF_SUPPORT
; 466 : || Options.output_format == OFORMAT_ELF
; 467 : #endif
; 468 : #if PE_SUPPORT
; 469 : || ( Options.output_format == OFORMAT_BIN && ModuleInfo.sub_format == SFORMAT_PE )
test edx, edx
jne SHORT $LN3@SegOrderDi
cmp DWORD PTR ModuleInfo+372, 2
je SHORT $LN5@SegOrde... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,761 | 1,820 |
Terraspace/UASM:x64/Release/directiv.asm:46 | ; 473 : EmitWarn( 2, NOT_SUPPORTED_WITH_CURR_FORMAT, _strupr( tokenarray[i].string_ptr ) );
shl rcx, 5
mov rcx, QWORD PTR [rcx+r8+8]
call _strupr
mov r8, rax
mov edx, 224 ; 000000e0H
mov ecx, 2
call EmitWarn
$LN6@SegOrderDi:
; 477 :
; 478 : return( NOT_ERROR );
xor eax, eax
; 479 : }
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,801 | 1,860 |
Terraspace/UASM:x64/Release/directiv.asm:47 | tokenarray$ = 56
IncludeDirective PROC
; 70 : {
$LN18:
mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rsi
push rdi
sub rsp, 32 ; 00000020H
; 71 : char *name;
; 72 :
; 73 : DebugMsg1(("IncludeDirective enter\n"));
; 74 :
; 75 : if ( CurrFile[LST] ) {
cmp QWORD PTR ModuleInfo+112,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,841 | 1,900 |
Terraspace/UASM:x64/Release/directiv.asm:48 | lea rdi, QWORD PTR [rax+rsi]
movzx eax, BYTE PTR [rax+rsi]
test al, al
jne SHORT $LN6@IncludeDir
; 83 : return( EmitError( EXPECTED_FILE_NAME ) );
mov ecx, 112 ; 00000070H
; 103 : return( NOT_ERROR );
; 104 : }
mov rbx, QWORD PTR [rsp+48]
mov rsi, QWORD PTR [rsp+56]
add rsp, 32 ; 00000... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,881 | 1,940 |
Terraspace/UASM:x64/Release/directiv.asm:49 | ; 90 : return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i+1].tokpos ) );
mov rdx, QWORD PTR [rdx+rsi+24]
mov ecx, 209 ; 000000d1H
; 103 : return( NOT_ERROR );
; 104 : }
mov rbx, QWORD PTR [rsp+48]
mov rsi, QWORD PTR [rsp+56]
add rsp, 32 ; 00000020H
pop rdi
; 90 : return( E... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,921 | 1,980 |
Terraspace/UASM:x64/Release/directiv.asm:50 | cmp rbx, rdi
jbe SHORT $LN16@IncludeDir
npad 4
$LL4@IncludeDir:
movsx ecx, BYTE PTR [rbx]
call isspace
test eax, eax
je SHORT $LN16@IncludeDir
mov BYTE PTR [rbx], 0
dec rbx
cmp rbx, rdi
ja SHORT $LL4@IncludeDir
$LN16@IncludeDir:
; 100 : }
; 101 : if ( SearchFile( name, TRUE ) )
mov dl, 1
mov rcx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 1,961 | 2,020 |
Terraspace/UASM:x64/Release/directiv.asm:51 | ; Function compile flags: /Ogtpy
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT printf
_TEXT SEGMENT
_Format$ = 80
printf PROC ; COMDAT
; 950 : {
$LN6:
mov QWORD PTR [rsp+8], rcx
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+32], r9
push... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 2,001 | 2,060 |
Terraspace/UASM:x64/Release/directiv.asm:52 | ; 956 : return _Result;
; 957 : }
add rsp, 48 ; 00000030H
pop rdi
pop rsi
pop rbx
ret 0
printf ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT _vfprintf_l
_TEXT SEGMENT
_Stream$ = 64
_Format$ = 72
_Locale$ = 80
_Ar... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 2,041 | 2,100 |
Terraspace/UASM:x64/Release/directiv.asm:53 | mov rcx, QWORD PTR [rax]
call __stdio_common_vfprintf
; 640 : }
mov rbx, QWORD PTR [rsp+64]
mov rbp, QWORD PTR [rsp+72]
mov rsi, QWORD PTR [rsp+80]
add rsp, 48 ; 00000030H
pop rdi
ret 0
_vfprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File c:\program files (x86)\windows kits\10\include\10.0.... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/directiv.asm | Apache-2.0 | 97cf3643159debd0afec659fa2f5dacfee2e9a6f | github | assembler | https://github.com/Terraspace/UASM/blob/97cf3643159debd0afec659fa2f5dacfee2e9a6f/x64/Release/directiv.asm | 2,081 | 2,110 |
Terraspace/UASM:x64/Release/end.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_BSS SEGMENT
$SG11143 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG11049 DB 'mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 1 | 60 |
Terraspace/UASM:x64/Release/end.asm:2 | ORG $+6
$SG11062 DB 'mov %r,DGROUP', 00H
ORG $+2
$SG11063 DB 'mov %r,%r', 00H
ORG $+6
$SG11064 DB 'mov %r,%r', 00H
ORG $+6
$SG11065 DB 'sub %r,%r', 00H
ORG $+6
$SG11066 DB 'shl %r,4', 00H
ORG $+7
$SG11067 DB 'mov %r,%r', 00H
ORG $+6
$SG11068 DB 'add %r,%r', 00H
ORG $+6
$SG11070 DB 'mov %r,DGROUP', 00H
ORG $+2
$... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 41 | 100 |
Terraspace/UASM:x64/Release/end.asm:3 | StartupDosNear0 DQ FLAT:$SG11049
DW 0bH
DW 00H
ORG $+4
DQ FLAT:$SG11050
DW 01cH
DW 0bH
ORG $+4
DQ FLAT:$SG11051
DW 0cH
DW 01bH
ORG $+4
DQ FLAT:$SG11052
DW 0cH
DW 0bH
ORG $+4
DQ FLAT:$SG11053
DW 0cH
DW 00H
ORG $+4
DQ FLAT:$SG11054
DW 0cH
DW 00H
ORG $+4
DQ FLAT:$SG11055
DW 0cH
DW 00H
ORG $+4
D... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 81 | 140 |
Terraspace/UASM:x64/Release/end.asm:4 | DQ FLAT:$SG11059
DW 0dH
DW 0cH
ORG $+4
DQ FLAT:$SG11060
DW 00H
DW 00H
ORG $+4
StartupDosNear1 DQ FLAT:$SG11062
DW 09H
DW 00H
ORG $+4
DQ FLAT:$SG11063
DW 01cH
DW 09H
ORG $+4
DQ FLAT:$SG11064
DW 0cH
DW 01bH
ORG $+4
DQ FLAT:$SG11065
DW 0cH
DW 09H
ORG $+4
DQ FLAT:$SG11066
DW 0cH
DW 00H
ORG $+4
DQ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 121 | 180 |
Terraspace/UASM:x64/Release/end.asm:5 | DQ FLAT:$SG11071
DW 01cH
DW 0bH
ORG $+4
ExitOS2 DQ FLAT:$SG11073
DW 05H
DW 00H
ORG $+4
DQ FLAT:$SG11074
DW 00H
DW 00H
ORG $+4
DQ FLAT:$SG11075
DW 09H
DW 00H
ORG $+4
DQ FLAT:$SG11076
DW 00H
DW 00H
ORG $+4
ExitDos DQ FLAT:$SG11078
DW 05H
DW 00H
ORG $+4
DQ FLAT:$SG11079
DW 00H
DW 00H
ORG $+4
szSta... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 161 | 220 |
Terraspace/UASM:x64/Release/end.asm:6 | EXTRN EvalOperand:PROC
EXTRN LstWriteSrcLine:PROC
EXTRN ProcCheckOpen:PROC
EXTRN idata_fixup:PROC
EXTRN Options:BYTE
EXTRN ModuleInfo:BYTE
EXTRN Parse_Pass:DWORD
EXTRN InstrTable:BYTE
EXTRN optable_idx:BYTE
EXTRN CurrStruct:QWORD
pdata SEGMENT
$pdata$StartupExitDirective DD imagerel $LN48
DD imagerel $LN48+716
DD ima... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 201 | 260 |
Terraspace/UASM:x64/Release/end.asm:7 | $LN28:
mov QWORD PTR [rsp+16], rbx
push rbp
lea rbp, QWORD PTR [rsp-48]
sub rsp, 304 ; 00000130H
; 191 : struct expr opndx;
; 192 :
; 193 : DebugMsg1(("EndDirective enter\n"));
; 194 :
; 195 : i++; /* skip directive */
inc ecx
mov rbx, rdx
mov DWORD PTR i$[rbp-256], ecx
; 196 :
; ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 241 | 300 |
Terraspace/UASM:x64/Release/end.asm:8 | ; 206 : EmitWarn( 2, START_ADDRESS_IGNORED );
mov edx, 242 ; 000000f2H
mov ecx, 2
call EmitWarn
mov eax, DWORD PTR ModuleInfo+496
$LN5@EndDirecti:
; 207 : }
; 208 : i = Token_Count + 1;
inc eax
mov DWORD PTR i$[rbp-256], eax
; 209 : tokenarray[i].token = T_ID;
movs... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 281 | 340 |
Terraspace/UASM:x64/Release/end.asm:9 | ; 213 : Token_Count = i+1;
mov r8d, DWORD PTR i$[rbp-256]
inc r8d
mov DWORD PTR ModuleInfo+496, r8d
jmp SHORT $LN4@EndDirecti
$LN26@EndDirecti:
mov r8d, DWORD PTR ModuleInfo+496
$LN4@EndDirecti:
; 214 : }
; 215 : /* v2.11: flag EXPF_NOUNDEF added - will return ERROR if start label isn't define... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 321 | 380 |
Terraspace/UASM:x64/Release/end.asm:10 | je SHORT $LN7@EndDirecti
; 220 : return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].tokpos ) );
mov rdx, QWORD PTR [rax+rbx+24]
mov ecx, 209 ; 000000d1H
call EmitErr
; 289 : }
mov rbx, QWORD PTR [rsp+328]
add rsp, 304 ; 00000130H
pop rbp
ret 0
$LN7@EndDirecti:
; 221 : }
; 222 :
; 223 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 361 | 420 |
Terraspace/UASM:x64/Release/end.asm:11 | ; 226 : EmitErr( UNMATCHED_BLOCK_NESTING, CurrStruct->sym.name );
mov rdx, QWORD PTR [rdx+8]
mov ecx, 142 ; 0000008eH
call EmitErr
$LN8@EndDirecti:
; 227 : }
; 228 : /* v2.10: check for open PROCedures */
; 229 : ProcCheckOpen();
call ProcCheckOpen
; 230 :
; 231 : /* check type ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 401 | 460 |
Terraspace/UASM:x64/Release/end.asm:12 | ja $LN23@EndDirecti
; 235 :
; 236 : DebugMsg(("EndDirective: start label=%s, add=%" I32_SPEC "Xh\n", opndx.sym->name, opndx.value ));
; 237 :
; 238 : if ( Options.output_format == OFORMAT_OMF ) {
cmp DWORD PTR Options+144, 1
jne $LN13@EndDirecti
; 239 : struct code_info CodeInfo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 441 | 500 |
Terraspace/UASM:x64/Release/end.asm:13 | ; 252 : ModuleInfo.g.start_fixup = CodeInfo.opnd[0].InsFixup;
mov rax, QWORD PTR CodeInfo$1[rbp-208]
mov QWORD PTR ModuleInfo+208, rax
; 253 : ModuleInfo.g.start_displ = opndx.value;
mov eax, DWORD PTR opndx$[rsp]
mov DWORD PTR ModuleInfo+216, eax
$LN16@EndDirecti:
; 278 : }
; 279... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 481 | 540 |
Terraspace/UASM:x64/Release/end.asm:14 | ; 289 : }
mov rbx, QWORD PTR [rsp+328]
add rsp, 304 ; 00000130H
pop rbp
ret 0
$LN13@EndDirecti:
; 254 : } else {
; 255 : /* Masm silently ignores start for -coff if an offset was given */
; 256 : //if ( opndx.value )
; 257 : // emit a warning
; 258 :
; 259 :... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 521 | 580 |
Terraspace/UASM:x64/Release/end.asm:15 | jmp SHORT $LN16@EndDirecti
$LN9@EndDirecti:
; 265 : } else if ( opndx.kind != EXPR_EMPTY ) {
cmp eax, -2
je SHORT $LN16@EndDirecti
$LN23@EndDirecti:
; 266 : #ifdef DEBUG_OUT
; 267 : if ( opndx.kind != EXPR_ADDR || opndx.indirect == TRUE ) {
; 268 : DebugMsg(("EndDirective: start address... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 561 | 620 |
Terraspace/UASM:x64/Release/end.asm:16 | StartupExitDirective PROC
; 96 : {
$LN48:
mov DWORD PTR [rsp+8], ecx
push rsi
push r14
sub rsp, 168 ; 000000a8H
mov rsi, rdx
; 97 : int count;
; 98 : ret_code rc = NOT_ERROR;
xor r14d, r14d
; 99 : int j;
; 100 : const struct code_line *p;
; 101 : struct exp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 601 | 660 |
Terraspace/UASM:x64/Release/end.asm:17 | pop rsi
ret 0
$LN10@StartupExi:
; 107 : }
; 108 : if ( ModuleInfo.Ofssize > USE16 ) {
cmp BYTE PTR ModuleInfo+404, r14b
jbe SHORT $LN11@StartupExi
; 109 : return( EmitErr( DOES_NOT_WORK_WITH_32BIT_SEGMENTS, tokenarray[i].string_ptr ) );
movsxd rdx, DWORD PTR i$[rsp]
mov ecx, 221 ; 000000d... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 641 | 700 |
Terraspace/UASM:x64/Release/end.asm:18 | jne $LN8@StartupExi
; 113 : case T_DOT_STARTUP:
; 114 : count = 0;
; 115 : /* for tiny model, set current PC to 100h. */
; 116 : if ( ModuleInfo.model == MODEL_TINY )
cmp r8d, edx
jne SHORT $LN13@StartupExi
; 117 : AddLineQueue( "org 100h" );
lea rcx, OFFSET FLAT:$SG1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 681 | 740 |
Terraspace/UASM:x64/Release/end.asm:19 | movzx eax, BYTE PTR ModuleInfo+388
and al, 127 ; 0000007fH
cmp al, 1
jg SHORT $LN19@StartupExi
; 125 : p = StartupDosNear0;
lea rdi, OFFSET FLAT:StartupDosNear0
; 126 : count = sizeof( StartupDosNear0 ) / sizeof( StartupDosNear0[0] );
mov ebx, 12
; 127 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 721 | 780 |
Terraspace/UASM:x64/Release/end.asm:20 | $LN41@StartupExi:
; 134 : }
; 135 : for ( ; count ; count--, p++ )
; 136 : AddLineQueueX( (char *)p->src, p->r1, p->r2 );
add rdi, 8
$LL40@StartupExi:
movsx r8d, WORD PTR [rdi+2]
movsx edx, WORD PTR [rdi]
mov rcx, QWORD PTR [rdi-8]
call AddLineQueueX
lea rd... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 761 | 820 |
Terraspace/UASM:x64/Release/end.asm:21 | lea rbp, OFFSET FLAT:ExitDos
; 145 : count = sizeof( ExitDos ) / sizeof( ExitDos[0] );
lea ebx, QWORD PTR [rcx+2]
; 146 : } else {
jmp SHORT $LN23@StartupExi
$LN22@StartupExi:
; 147 : p = ExitOS2;
lea rbp, OFFSET FLAT:ExitOS2
; 148 : count = sizeof( ExitOS2 ) / ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 801 | 860 |
Terraspace/UASM:x64/Release/end.asm:22 | mov r8, QWORD PTR [rax+rsi+24]
lea edx, QWORD PTR [rcx+8]
lea rcx, OFFSET FLAT:$SG11121
call AddLineQueueX
; 154 : i = Token_Count;
mov edi, DWORD PTR ModuleInfo+496
mov DWORD PTR i$[rsp], edi
; 155 : } else {
jmp $LN29@StartupExi
$LN25@StartupExi:
; 156 : j = i... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 841 | 900 |
Terraspace/UASM:x64/Release/end.asm:23 | jge SHORT $LN28@StartupExi
; 160 : AddLineQueueX( "mov %r,4C00h + %u", T_AX, opndx.value );
mov edx, 9
lea rcx, OFFSET FLAT:$SG11125
call AddLineQueueX
; 161 : } else {
jmp SHORT $LN46@StartupExi
$LN28@StartupExi:
; 162 : AddLineQueueX( "mov %r,%s", T_... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 881 | 940 |
Terraspace/UASM:x64/Release/end.asm:24 | $LN24@StartupExi:
; 168 : }
; 169 :
; 170 : for( ; count ; count--, p++ ) {
test ebx, ebx
je SHORT $LN8@StartupExi
lea rdi, QWORD PTR [rbp+8]
npad 8
$LL9@StartupExi:
; 171 : AddLineQueueX( (char *)p->src, p->r1, p->r2 );
movsx r8d, WORD PTR [rdi+2]
movsx edx, WORD PTR [rdi]
mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 921 | 980 |
Terraspace/UASM:x64/Release/end.asm:25 | ; 177 : EmitErr( SYNTAX_ERROR_EX, tokenarray[i].tokpos );
mov rdx, QWORD PTR [rax+rsi+24]
mov ecx, 209 ; 000000d1H
call EmitErr
; 178 : rc = ERROR;
or r14d, -1
$LN30@StartupExi:
; 179 : }
; 180 :
; 181 : RunLineQueue();
call RunLineQueue
; 182 :
; 183 : return( rc );
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/end.asm | 961 | 995 |
Terraspace/UASM:x64/Release/end.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_BSS SEGMENT
$SG11120 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG11026 DB 'mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/end.asm | 1 | 60 |
Terraspace/UASM:x64/Release/end.asm:2 | ORG $+6
$SG11039 DB 'mov %r,DGROUP', 00H
ORG $+2
$SG11040 DB 'mov %r,%r', 00H
ORG $+6
$SG11041 DB 'mov %r,%r', 00H
ORG $+6
$SG11042 DB 'sub %r,%r', 00H
ORG $+6
$SG11043 DB 'shl %r,4', 00H
ORG $+7
$SG11044 DB 'mov %r,%r', 00H
ORG $+6
$SG11045 DB 'add %r,%r', 00H
ORG $+6
$SG11047 DB 'mov %r,DGROUP', 00H
ORG $+2
$... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/end.asm | 41 | 100 |
Terraspace/UASM:x64/Release/end.asm:3 | StartupDosNear0 DQ FLAT:$SG11026
DW 0bH
DW 00H
ORG $+4
DQ FLAT:$SG11027
DW 01cH
DW 0bH
ORG $+4
DQ FLAT:$SG11028
DW 0cH
DW 01bH
ORG $+4
DQ FLAT:$SG11029
DW 0cH
DW 0bH
ORG $+4
DQ FLAT:$SG11030
DW 0cH
DW 00H
ORG $+4
DQ FLAT:$SG11031
DW 0cH
DW 00H
ORG $+4
DQ FLAT:$SG11032
DW 0cH
DW 00H
ORG $+4
D... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/end.asm | 81 | 140 |
Terraspace/UASM:x64/Release/end.asm:4 | DQ FLAT:$SG11036
DW 0dH
DW 0cH
ORG $+4
DQ FLAT:$SG11037
DW 00H
DW 00H
ORG $+4
StartupDosNear1 DQ FLAT:$SG11039
DW 09H
DW 00H
ORG $+4
DQ FLAT:$SG11040
DW 01cH
DW 09H
ORG $+4
DQ FLAT:$SG11041
DW 0cH
DW 01bH
ORG $+4
DQ FLAT:$SG11042
DW 0cH
DW 09H
ORG $+4
DQ FLAT:$SG11043
DW 0cH
DW 00H
ORG $+4
DQ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/end.asm | 121 | 180 |
Terraspace/UASM:x64/Release/end.asm:5 | DQ FLAT:$SG11048
DW 01cH
DW 0bH
ORG $+4
ExitOS2 DQ FLAT:$SG11050
DW 05H
DW 00H
ORG $+4
DQ FLAT:$SG11051
DW 00H
DW 00H
ORG $+4
DQ FLAT:$SG11052
DW 09H
DW 00H
ORG $+4
DQ FLAT:$SG11053
DW 00H
DW 00H
ORG $+4
ExitDos DQ FLAT:$SG11055
DW 05H
DW 00H
ORG $+4
DQ FLAT:$SG11056
DW 00H
DW 00H
ORG $+4
szSta... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/end.asm | 161 | 220 |
Terraspace/UASM:x64/Release/end.asm:8 | ; 206 : EmitWarn( 2, START_ADDRESS_IGNORED );
mov edx, 242 ; 000000f2H
mov ecx, 2
call EmitWarn
mov eax, DWORD PTR ModuleInfo+496
$LN5@EndDirecti:
; 207 : }
; 208 : i = Token_Count + 1;
inc eax
mov DWORD PTR i$[rbp-256], eax
; 209 : tokenarray[i].token = T_ID;
movs... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/end.asm | 281 | 340 |
Terraspace/UASM:x64/Release/end.asm:12 | ja $LN23@EndDirecti
; 235 :
; 236 : DebugMsg(("EndDirective: start label=%s, add=%" I32_SPEC "Xh\n", opndx.sym->name, opndx.value ));
; 237 :
; 238 : if ( Options.output_format == OFORMAT_OMF ) {
cmp DWORD PTR Options+144, 1
jne $LN13@EndDirecti
; 239 : struct code_info CodeInfo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/end.asm | 441 | 500 |
Terraspace/UASM:x64/Release/end.asm:17 | pop rsi
ret 0
$LN10@StartupExi:
; 107 : }
; 108 : if ( ModuleInfo.Ofssize > USE16 ) {
cmp BYTE PTR ModuleInfo+404, r14b
jbe SHORT $LN11@StartupExi
; 109 : return( EmitErr( DOES_NOT_WORK_WITH_32BIT_SEGMENTS, tokenarray[i].string_ptr ) );
movsxd rdx, DWORD PTR i$[rsp]
mov ecx, 221 ; 000000d... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/end.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/end.asm | 641 | 700 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.