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/simsegm.asm:21
lea rcx, OFFSET FLAT:SegmNames mov r8d, 437 ; 000001b5H mov rdx, QWORD PTR [rcx+rax*8] lea rcx, OFFSET FLAT:$SG10965 call AddLineQueueX ; 167 : return; ; 168 : } add rsp, 32 ; 00000020H pop rdi ret 0 EndSimSeg ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu ; File d:\hjwasm\hjwasm2.13.1s\hj...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
801
860
Terraspace/UASM:x64/Debug/simsegm.asm:22
; 98 : char *pAlign = "WORD"; lea rax, OFFSET FLAT:$SG10933 mov QWORD PTR pAlign$[rsp], rax ; 99 : char *pAlignSt = "PARA"; lea rax, OFFSET FLAT:$SG10934 mov QWORD PTR pAlignSt$[rsp], rax ; 100 : char *pUse = ""; lea rax, OFFSET FLAT:$SG10935 mov QWORD PTR pUse$[rsp], rax ; 101 : struc...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
841
900
Terraspace/UASM:x64/Debug/simsegm.asm:23
lea rax, OFFSET FLAT:$SG10940 mov QWORD PTR pUse$[rsp], rax $LN4@SetSimSeg: ; 110 : if (( ModuleInfo.curr_cpu & P_CPU_MASK ) <= P_386 ) mov eax, DWORD PTR ModuleInfo+392 and eax, 240 ; 000000f0H cmp eax, 48 ; 00000030H jg SHORT $LN5@SetSimSeg ; 111 : pAlign = "DWORD"; lea rax, OFF...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
881
940
Terraspace/UASM:x64/Debug/simsegm.asm:24
call GetCodeClass mov QWORD PTR pClass$[rsp], rax jmp SHORT $LN8@SetSimSeg $LN7@SetSimSeg: ; 119 : else ; 120 : pClass = SegmClass[segm]; movsxd rax, DWORD PTR segm$[rsp] lea rcx, OFFSET FLAT:SegmClass mov rax, QWORD PTR [rcx+rax*8] mov QWORD PTR pClass$[rsp], rax $LN8@SetSimSeg: ; 121 : ; 122 ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
921
980
Terraspace/UASM:x64/Debug/simsegm.asm:25
cmp QWORD PTR name$[rsp], 0 jne $LN11@SetSimSeg ; 127 : name = SegmNames[segm]; movsxd rax, DWORD PTR segm$[rsp] lea rcx, OFFSET FLAT:SegmNames mov rax, QWORD PTR [rcx+rax*8] mov QWORD PTR name$[rsp], rax ; 128 : if ( ModuleInfo.simseg_init & ( 1 << segm ) ) movzx eax, BYTE PTR ModuleInfo+42...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
961
1,020
Terraspace/UASM:x64/Debug/simsegm.asm:26
mov BYTE PTR ModuleInfo+420, al ; 132 : /* v2.05: if segment exists already, use the current attribs. ; 133 : * This allows a better mix of full and simplified segment ; 134 : * directives. Masm behaves differently: the attributes ; 135 : * of the simplified segme...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,001
1,060
Terraspace/UASM:x64/Debug/simsegm.asm:27
movzx ecx, al mov eax, DWORD PTR tv200[rsp] shl eax, cl movzx ecx, BYTE PTR ModuleInfo+421 or ecx, eax mov eax, ecx mov BYTE PTR ModuleInfo+421, al $LN16@SetSimSeg: $LN15@SetSimSeg: ; 143 : } ; 144 : if ( ModuleInfo.simseg_defd & ( 1 << segm ) ) movzx eax, BYTE PTR ModuleInfo+421 mov...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,041
1,100
Terraspace/UASM:x64/Debug/simsegm.asm:28
; 149 : /* v2.04: testing for state SYM_SEG isn't enough. The segment ; 150 : * might have been "defined" by a GROUP directive. Additional ; 151 : * check for segment's lname index is needed. ; 152 : * v2.12: check 'isdefined' member instead of 'lname_idx' ; 153 : */ ; 1...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,081
1,140
Terraspace/UASM:x64/Debug/simsegm.asm:29
mov QWORD PTR [rsp+32], rax mov r9, QWORD PTR pAlign$[rsp] mov r8d, 436 ; 000001b4H mov rdx, QWORD PTR name$[rsp] mov rcx, QWORD PTR pFmt$[rsp] call AddLineQueueX ; 160 : return; ; 161 : } add rsp, 128 ; 00000080H pop rdi ret 0 SetSimSeg ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu ; Fil...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,121
1,180
Terraspace/UASM:x64/Debug/simsegm.asm:30
; 87 : AddLineQueueX( "%s %r", CurrSeg->sym.name, T_ENDS ); mov r8d, 437 ; 000001b5H mov rax, QWORD PTR ModuleInfo+432 mov rdx, QWORD PTR [rax+8] lea rcx, OFFSET FLAT:$SG10919 call AddLineQueueX $LN2@close_curr: ; 88 : } ; 89 : } add rsp, 32 ; 00000020H pop rdi ret 0 close_currseg EN...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,161
1,220
Terraspace/UASM:x64/Debug/simsegm.asm:31
; 66 : || Options.output_format == OFORMAT_COFF ; 67 : #endif ; 68 : #if ELF_SUPPORT ; 69 : || Options.output_format == OFORMAT_ELF cmp DWORD PTR ModuleInfo+360, 7 je SHORT $LN3@AddToDgrou cmp DWORD PTR Options+160, 2 je SHORT $LN3@AddToDgrou cmp DWORD PTR Options+160, 3 jne SHORT $LN2@AddT...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,201
1,260
Terraspace/UASM:x64/Debug/simsegm.asm:32
lea rcx, OFFSET FLAT:$SG10913 call AddLineQueueX $LN1@AddToDgrou: ; 78 : } add rsp, 32 ; 00000020H pop rdi ret 0 AddToDgroup ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\simsegm.c _TEXT SEGMENT tv83 = 32 tv190 = 40 tv91 = 48 tv140 = 56 tv158 = 64 SetMod...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,241
1,300
Terraspace/UASM:x64/Debug/simsegm.asm:33
; 295 : /* option -nt set? */ ; 296 : if( Options.names[OPTN_TEXT_SEG] ) { mov eax, 8 imul rax, rax, 6 lea rcx, OFFSET FLAT:Options+32 cmp QWORD PTR [rcx+rax], 0 je SHORT $LN2@SetModelDe ; 297 : SegmNames[SIM_CODE] = LclAlloc( strlen( Options.names[OPTN_TEXT_SEG] ) + 1 ); mov eax, 8 imul ra...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,281
1,340
Terraspace/UASM:x64/Debug/simsegm.asm:35
lea rdx, OFFSET FLAT:ModuleInfo+512 mov rcx, QWORD PTR [rcx+rax] call strcpy ; 304 : strcat( SegmNames[SIM_CODE], SegmNamesDef[SIM_CODE] ); mov eax, 8 imul rax, rax, 0 lea rcx, OFFSET FLAT:SegmNamesDef mov edx, 8 imul rdx, rdx, 0 mov QWORD PTR tv140[rsp], rdx lea r8, OFFSET FLAT:SegmNames mov r...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,361
1,420
Terraspace/UASM:x64/Debug/simsegm.asm:36
mov rcx, rax call LclAlloc mov ecx, 8 imul rcx, rcx, 2 lea rdx, OFFSET FLAT:SegmNames mov QWORD PTR [rdx+rcx], rax ; 311 : strcpy( SegmNames[SIM_DATA], Options.names[OPTN_DATA_SEG] ); mov eax, 8 imul rax, rax, 7 lea rcx, OFFSET FLAT:Options+32 mov edx, 8 imul rdx, rdx, 2 mov QWORD PTR tv158[rsp], ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,401
1,460
Terraspace/UASM:x64/Debug/simsegm.asm:37
sub rsp, 32 ; 00000020H mov rdi, rsp mov ecx, 8 mov eax, -858993460 ; ccccccccH rep stosd ; 362 : /* a model is set. Close current segment if one is open. */ ; 363 : if ( CurrSeg ) { cmp QWORD PTR ModuleInfo+432, 0 je SHORT $LN2@ModelSimSe ; 364 : close_currseg(); call close_currseg...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,441
1,500
Terraspace/UASM:x64/Debug/simsegm.asm:38
mov DWORD PTR [rsp+8], ecx push rdi sub rsp, 112 ; 00000070H mov rdi, rsp mov ecx, 28 mov eax, -858993460 ; ccccccccH rep stosd mov ecx, DWORD PTR [rsp+128] mov rax, QWORD PTR __security_cookie xor rax, rsp mov QWORD PTR __$ArrayPad$[rsp], rax ; 324 : char buffer[20]; ; 325 : ; 326 : ModuleI...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,481
1,540
Terraspace/UASM:x64/Debug/simsegm.asm:39
xor edx, edx mov ecx, 2 call SetSimSeg ; 336 : EndSimSeg( SIM_DATA ); mov ecx, 2 call EndSimSeg ; 337 : ; 338 : /* create DGROUP for BIN/OMF if model isn't FLAT */ ; 339 : if( model != MODEL_FLAT && cmp DWORD PTR model$[rsp], 7 je $LN2@ModelSimSe cmp DWORD PTR Options+160, 1 je S...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,521
1,580
Terraspace/UASM:x64/Debug/simsegm.asm:40
lea rdx, OFFSET FLAT:$SG11039 lea rcx, QWORD PTR buffer$[rsp] call strcat ; 348 : AddLineQueueX( buffer, szDgroup, T_GROUP, SegmNames[SIM_CODE], SegmNames[SIM_DATA] ); mov eax, 8 imul rax, rax, 2 lea rcx, OFFSET FLAT:SegmNames mov edx, 8 imul rdx, rdx, 0 lea r8, OFFSET FLAT:SegmNames mov rax...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,561
1,620
Terraspace/UASM:x64/Debug/simsegm.asm:41
lea rcx, OFFSET FLAT:$SG11040 call DoDebugMsg1 ; 353 : //} ; 354 : return( NOT_ERROR ); xor eax, eax ; 355 : } mov edi, eax mov rcx, rsp lea rdx, OFFSET FLAT:ModelSimSegmInit$rtcFrameData call _RTC_CheckStackVars mov eax, edi mov rcx, QWORD PTR __$ArrayPad$[rsp] xor rcx, rsp call __security_che...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,601
1,660
Terraspace/UASM:x64/Debug/simsegm.asm:42
cmp QWORD PTR [rcx+rax], 0 je SHORT $LN2@GetCodeCla ; 53 : return( Options.names[OPTN_CODE_CLASS] ); mov eax, 8 imul rax, rax, 8 lea rcx, OFFSET FLAT:Options+32 mov rax, QWORD PTR [rcx+rax] jmp SHORT $LN1@GetCodeCla $LN2@GetCodeCla: ; 54 : ; 55 : return( SegmClass[SIM_CODE] ); mov eax, 8 i...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,641
1,692
Terraspace/UASM:x64/Debug/simsegm.asm:43
movsxd rax, DWORD PTR segno$[rsp] lea rcx, OFFSET FLAT:SegmNames mov rax, QWORD PTR [rcx+rax*8] ; 46 : } pop rdi ret 0 SimGetSegName ENDP _TEXT ENDS END
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
44b156da77c15b4906319aecb4db33b45ed939cb
github
assembler
https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/simsegm.asm
1,681
1,692
Terraspace/UASM:x64/Debug/simsegm.asm:8
; 176 : { $LN37: mov QWORD PTR [rsp+16], rdx mov DWORD PTR [rsp+8], ecx push rdi sub rsp, 208 ; 000000d0H mov rdi, rsp mov ecx, 52 ; 00000034H mov eax, -858993460 ; ccccccccH rep stosd mov ecx, DWORD PTR [rsp+224] mov BYTE PTR $T6[rsp], 0 mov BYTE PTR $T5[rsp], 0 ; 177 : const char *name =...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
17413bab2400c29ab34e6d2fd2427efa2c6eb1d3
github
assembler
https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/simsegm.asm
281
340
Terraspace/UASM:x64/Debug/simsegm.asm:9
; 185 : ; 186 : if( ModuleInfo.model == MODEL_NONE ) { cmp DWORD PTR ModuleInfo+360, 0 jne SHORT $LN4@Simplified ; 187 : EmitError( MODEL_IS_NOT_DECLARED ); mov ecx, 97 ; 00000061H call EmitError ; 188 : return( ERROR ); mov eax, -1 jmp $LN1@Simplified $LN4@Simplified: ; 189 : ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
17413bab2400c29ab34e6d2fd2427efa2c6eb1d3
github
assembler
https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/simsegm.asm
321
380
Terraspace/UASM:x64/Debug/simsegm.asm:10
cmp DWORD PTR type$[rsp], 1 jne SHORT $LN5@Simplified ; 196 : if ( EvalOperand( &i, tokenarray, Token_Count, &opndx, 0 ) == ERROR ) mov BYTE PTR $T5[rsp], 1 mov BYTE PTR [rsp+32], 0 lea r9, QWORD PTR opndx$[rsp] mov r8d, DWORD PTR ModuleInfo+496 mov rdx, QWORD PTR tokenarray$[rsp] lea rcx, QWORD PTR i...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
17413bab2400c29ab34e6d2fd2427efa2c6eb1d3
github
assembler
https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/simsegm.asm
361
420
Terraspace/UASM:x64/Debug/simsegm.asm:11
mov ecx, 66 ; 00000042H call EmitError ; 202 : return( ERROR ); mov eax, -1 jmp $LN1@Simplified $LN10@Simplified: $LN9@Simplified: ; 203 : } ; 204 : } else { jmp $LN6@Simplified $LN5@Simplified: ; 205 : /* Masm accepts a name argument for .CODE and .FARDATA[?] only. ; 20...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
17413bab2400c29ab34e6d2fd2427efa2c6eb1d3
github
assembler
https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/simsegm.asm
401
460
Terraspace/UASM:x64/Debug/simsegm.asm:12
je SHORT $LN13@Simplified cmp DWORD PTR type$[rsp], 6 jne SHORT $LN11@Simplified $LN13@Simplified: $LN12@Simplified: ; 210 : ( type == SIM_CODE || type == SIM_FARDATA || type == SIM_FARDATA_UN ; 211 : || ( Options.strict_masm_compat == FALSE && ; 212 : ( type == SIM_DATA || ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
17413bab2400c29ab34e6d2fd2427efa2c6eb1d3
github
assembler
https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/simsegm.asm
441
500
Terraspace/UASM:x64/Debug/simsegm.asm:13
mov rcx, QWORD PTR tokenarray$[rsp] mov rdx, QWORD PTR [rcx+rax+8] mov ecx, 210 ; 000000d2H call EmitErr ; 219 : return( ERROR ); mov eax, -1 jmp $LN1@Simplified $LN14@Simplified: ; 220 : } ; 221 : ; 222 : if( type != SIM_STACK ) cmp DWORD PTR type$[rsp], 1 je SHORT $LN15@Simplified ;...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
17413bab2400c29ab34e6d2fd2427efa2c6eb1d3
github
assembler
https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/simsegm.asm
481
540
Terraspace/UASM:x64/Debug/simsegm.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 _BSS SEGMENT $SG10933 DB 01H DUP (?) _BSS ENDS _DATA SEGMENT $SG10872 DB '_TEXT', 00H ORG $+2 $SG10873 DB 'STACK...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1
60
Terraspace/UASM:x64/Debug/simsegm.asm:2
ORG $+5 $SG10885 DB 'FAR_BSS', 00H $SG10889 DB 'STACK', 00H ORG $+2 $SG10890 DB 'PUBLIC', 00H ORG $+1 $SG10891 DB 'PUBLIC', 00H ORG $+1 $SG10892 DB 'PRIVATE', 00H $SG10893 DB 'PRIVATE', 00H $SG10894 DB 'PUBLIC', 00H ORG $+1 $SG10911 DB '%s %r %s', 00H ORG $+7 $SG10916 DB 'close_currseg: current seg=%s', 0aH, 00H ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
41
100
Terraspace/UASM:x64/Debug/simsegm.asm:3
$SG11003 DB 'FLAT', 00H ORG $+7 $SG11005 DB '%r %r:%s', 00H ORG $+7 $SG11007 DB 'ORG 0%xh', 00H ORG $+7 $SG11011 DB '%r %r:ERROR', 00H ORG $+4 $SG11015 DB '%r %r:ERROR', 00H ORG $+4 $SG11017 DB 'simsegm.c', 00H ORG $+6 $SG11018 DB 'SimplifiedSegDir exit', 0aH, 00H ORG $+1 $SG11031 DB 'ModelSimSegmInit() enter, p...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
81
140
Terraspace/UASM:x64/Debug/simsegm.asm:4
DQ FLAT:$SG10891 DQ FLAT:$SG10892 DQ FLAT:$SG10893 DQ FLAT:$SG10894 CONST ENDS PUBLIC SimGetSegName PUBLIC GetCodeClass PUBLIC ModelSimSegmInit PUBLIC ModelSimSegmExit PUBLIC SetModelDefaultSegNames PUBLIC SimplifiedSegDir EXTRN memcpy:PROC EXTRN strcat:PROC EXTRN strcpy:PROC EXTRN strlen:PROC EXTRN DoDebugMsg1:PROC...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
121
180
Terraspace/UASM:x64/Debug/simsegm.asm:5
SegmNames DQ 07H DUP (?) _BSS ENDS pdata SEGMENT $pdata$SimGetSegName DD imagerel $LN3 DD imagerel $LN3+23 DD imagerel $unwind$SimGetSegName $pdata$GetCodeClass DD imagerel $LN4 DD imagerel $LN4+69 DD imagerel $unwind$GetCodeClass $pdata$ModelSimSegmInit DD imagerel $LN7 DD imagerel $LN7+348 DD imagerel $unwind$M...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
161
220
Terraspace/UASM:x64/Debug/simsegm.asm:6
rtc$IMZ SEGMENT _RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase rtc$IMZ ENDS CONST SEGMENT ModelSimSegmInit$rtcName$0 DB 062H DB 075H DB 066H DB 066H DB 065H DB 072H DB 00H ORG $+1 ModelSimSegmInit$rtcVarDesc DD 038H DD 014H DQ FLAT:ModelSimSegmInit$rtcName$0 ORG $+48 ModelSimSegmInit$rtcFrameData DD 01H DD 00H ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
201
260
Terraspace/UASM:x64/Debug/simsegm.asm:7
xdata SEGMENT $unwind$SimGetSegName DD 010501H DD 07005H $unwind$GetCodeClass DD 010201H DD 07002H $unwind$ModelSimSegmInit DD 022e19H DD 07005d209H DD imagerel __GSHandlerCheck DD 060H $unwind$ModelSimSegmExit DD 021501H DD 070023206H $unwind$SetModelDefaultSegNames DD 021501H DD 070029206H $unwind$AddToDgroup ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
241
300
Terraspace/UASM:x64/Debug/simsegm.asm:8
$LN37: mov QWORD PTR [rsp+16], rdx mov DWORD PTR [rsp+8], ecx push rdi sub rsp, 208 ; 000000d0H mov rdi, rsp mov ecx, 52 ; 00000034H mov eax, -858993460 ; ccccccccH rep stosd mov ecx, DWORD PTR [rsp+224] mov BYTE PTR $T6[rsp], 0 mov BYTE PTR $T5[rsp], 0 ; 177 : const char *name = NULL; mov...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
281
340
Terraspace/UASM:x64/Debug/simsegm.asm:9
; 186 : if( ModuleInfo.model == MODEL_NONE ) { cmp DWORD PTR ModuleInfo+360, 0 jne SHORT $LN4@Simplified ; 187 : EmitError( MODEL_IS_NOT_DECLARED ); mov ecx, 96 ; 00000060H call EmitError ; 188 : return( ERROR ); mov eax, -1 jmp $LN1@Simplified $LN4@Simplified: ; 189 : } ; 19...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
321
380
Terraspace/UASM:x64/Debug/simsegm.asm:10
jne SHORT $LN5@Simplified ; 196 : if ( EvalOperand( &i, tokenarray, Token_Count, &opndx, 0 ) == ERROR ) mov BYTE PTR $T5[rsp], 1 mov BYTE PTR [rsp+32], 0 lea r9, QWORD PTR opndx$[rsp] mov r8d, DWORD PTR ModuleInfo+496 mov rdx, QWORD PTR tokenarray$[rsp] lea rcx, QWORD PTR i$[rsp] call EvalOperand cmp...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
361
420
Terraspace/UASM:x64/Debug/simsegm.asm:11
call EmitError ; 202 : return( ERROR ); mov eax, -1 jmp $LN1@Simplified $LN10@Simplified: $LN9@Simplified: ; 203 : } ; 204 : } else { jmp $LN6@Simplified $LN5@Simplified: ; 205 : /* Masm accepts a name argument for .CODE and .FARDATA[?] only. ; 206 : * HJWasm also a...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
401
460
Terraspace/UASM:x64/Debug/simsegm.asm:12
cmp DWORD PTR type$[rsp], 6 jne SHORT $LN11@Simplified $LN13@Simplified: $LN12@Simplified: ; 210 : ( type == SIM_CODE || type == SIM_FARDATA || type == SIM_FARDATA_UN ; 211 : || ( Options.strict_masm_compat == FALSE && ; 212 : ( type == SIM_DATA || type == SIM_DATA_UN || type...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
441
500
Terraspace/UASM:x64/Debug/simsegm.asm:13
mov rdx, QWORD PTR [rcx+rax+8] mov ecx, 209 ; 000000d1H call EmitErr ; 219 : return( ERROR ); mov eax, -1 jmp $LN1@Simplified $LN14@Simplified: ; 220 : } ; 221 : ; 222 : if( type != SIM_STACK ) cmp DWORD PTR type$[rsp], 1 je SHORT $LN15@Simplified ; 223 : close_currseg(); /* ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
481
540
Terraspace/UASM:x64/Debug/simsegm.asm:14
; 227 : ; 228 : switch( type ) { mov eax, DWORD PTR type$[rsp] mov DWORD PTR tv164[rsp], eax cmp DWORD PTR tv164[rsp], 6 ja $LN31@Simplified movsxd rax, DWORD PTR tv164[rsp] lea rcx, OFFSET FLAT:__ImageBase mov eax, DWORD PTR $LN36@Simplified[rcx+rax*4] add rax, rcx jmp rax $LN17@Simplified: ; 229 : ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
521
580
Terraspace/UASM:x64/Debug/simsegm.asm:15
; 236 : name = szDgroup; lea rax, OFFSET FLAT:szDgroup mov QWORD PTR name$[rsp], rax jmp SHORT $LN19@Simplified $LN18@Simplified: ; 237 : } else if( ModuleInfo.model == MODEL_FLAT ) { cmp DWORD PTR ModuleInfo+360, 7 jne SHORT $LN21@Simplified ; 238 : name = "FLAT"; lea rax,...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
561
620
Terraspace/UASM:x64/Debug/simsegm.asm:16
mov r9, QWORD PTR name$[rsp] mov r8d, 26 mov edx, 439 ; 000001b7H lea rcx, OFFSET FLAT:$SG11005 call AddLineQueueX ; 244 : break; jmp $LN2@Simplified $LN24@Simplified: ; 245 : case SIM_STACK: /* .stack */ ; 246 : /* if code is generated which does "emit" bytes, ; 247 : * the ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
601
660
Terraspace/UASM:x64/Debug/simsegm.asm:17
; 255 : /* add stack to dgroup for some segmented models */ ; 256 : if ( !init ) cmp BYTE PTR $T6[rsp], 0 jne SHORT $LN34@Simplified lea rcx, OFFSET FLAT:SimplifiedSegDir$rtcName$1 call _RTC_UninitUse $LN34@Simplified: movsx eax, BYTE PTR init$[rsp] test eax, eax jne SHORT $LN25@Simplified ; ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
641
700
Terraspace/UASM:x64/Debug/simsegm.asm:18
; 264 : AddLineQueueX( "%r %r:ERROR", T_ASSUME, T_CS ); mov r8d, 26 mov edx, 439 ; 000001b7H lea rcx, OFFSET FLAT:$SG11011 call AddLineQueueX ; 265 : if ( name || (!init) ) cmp QWORD PTR name$[rsp], 0 jne SHORT $LN29@Simplified cmp BYTE PTR $T6[rsp], 0 jne SHORT $LN35@Simplified lea rcx...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
681
740
Terraspace/UASM:x64/Debug/simsegm.asm:19
; 271 : AddLineQueueX( "%r %r:ERROR", T_ASSUME, T_CS ); mov r8d, 26 mov edx, 439 ; 000001b7H lea rcx, OFFSET FLAT:$SG11015 call AddLineQueueX ; 272 : break; jmp SHORT $LN2@Simplified $LN31@Simplified: ; 273 : default: /* shouldn't happen */ ; 274 : /**/myassert( 0 ); mov ed...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
721
780
Terraspace/UASM:x64/Debug/simsegm.asm:20
mov rdi, rax mov rcx, rsp lea rdx, OFFSET FLAT:SimplifiedSegDir$rtcFrameData call _RTC_CheckStackVars mov rax, rdi add rsp, 208 ; 000000d0H pop rdi ret 0 $LN36@Simplified: DD $LN17@Simplified DD $LN24@Simplified DD $LN27@Simplified DD $LN27@Simplified DD $LN30@Simplified DD $LN30@Simplified DD $LN27@Si...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
761
820
Terraspace/UASM:x64/Debug/simsegm.asm:21
mov r8d, 437 ; 000001b5H mov rdx, QWORD PTR [rcx+rax*8] lea rcx, OFFSET FLAT:$SG10963 call AddLineQueueX ; 167 : return; ; 168 : } add rsp, 32 ; 00000020H pop rdi ret 0 EndSimSeg ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\simsegm.c _TEXT SEGM...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
801
860
Terraspace/UASM:x64/Debug/simsegm.asm:22
; 98 : char *pAlign = "WORD"; lea rax, OFFSET FLAT:$SG10931 mov QWORD PTR pAlign$[rsp], rax ; 99 : char *pAlignSt = "PARA"; lea rax, OFFSET FLAT:$SG10932 mov QWORD PTR pAlignSt$[rsp], rax ; 100 : char *pUse = ""; lea rax, OFFSET FLAT:$SG10933 mov QWORD PTR pUse$[rsp], rax ; 101 : struc...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
841
900
Terraspace/UASM:x64/Debug/simsegm.asm:23
lea rax, OFFSET FLAT:$SG10938 mov QWORD PTR pUse$[rsp], rax $LN4@SetSimSeg: ; 110 : if (( ModuleInfo.curr_cpu & P_CPU_MASK ) <= P_386 ) mov eax, DWORD PTR ModuleInfo+392 and eax, 240 ; 000000f0H cmp eax, 48 ; 00000030H jg SHORT $LN5@SetSimSeg ; 111 : pAlign = "DWORD"; lea rax, OFF...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
881
940
Terraspace/UASM:x64/Debug/simsegm.asm:24
call GetCodeClass mov QWORD PTR pClass$[rsp], rax jmp SHORT $LN8@SetSimSeg $LN7@SetSimSeg: ; 119 : else ; 120 : pClass = SegmClass[segm]; movsxd rax, DWORD PTR segm$[rsp] lea rcx, OFFSET FLAT:SegmClass mov rax, QWORD PTR [rcx+rax*8] mov QWORD PTR pClass$[rsp], rax $LN8@SetSimSeg: ; 121 : ; 122 ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
921
980
Terraspace/UASM:x64/Debug/simsegm.asm:25
jne $LN11@SetSimSeg ; 127 : name = SegmNames[segm]; movsxd rax, DWORD PTR segm$[rsp] lea rcx, OFFSET FLAT:SegmNames mov rax, QWORD PTR [rcx+rax*8] mov QWORD PTR name$[rsp], rax ; 128 : if ( ModuleInfo.simseg_init & ( 1 << segm ) ) movzx eax, BYTE PTR ModuleInfo+420 mov ecx, DWORD PTR segm$[r...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
961
1,020
Terraspace/UASM:x64/Debug/simsegm.asm:26
; 132 : /* v2.05: if segment exists already, use the current attribs. ; 133 : * This allows a better mix of full and simplified segment ; 134 : * directives. Masm behaves differently: the attributes ; 135 : * of the simplified segment directives have highest priori...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,001
1,060
Terraspace/UASM:x64/Debug/simsegm.asm:27
mov eax, DWORD PTR tv200[rsp] shl eax, cl movzx ecx, BYTE PTR ModuleInfo+421 or ecx, eax mov eax, ecx mov BYTE PTR ModuleInfo+421, al $LN16@SetSimSeg: $LN15@SetSimSeg: ; 143 : } ; 144 : if ( ModuleInfo.simseg_defd & ( 1 << segm ) ) movzx eax, BYTE PTR ModuleInfo+421 mov ecx, DWORD PTR...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,041
1,100
Terraspace/UASM:x64/Debug/simsegm.asm:28
; 149 : /* v2.04: testing for state SYM_SEG isn't enough. The segment ; 150 : * might have been "defined" by a GROUP directive. Additional ; 151 : * check for segment's lname index is needed. ; 152 : * v2.12: check 'isdefined' member instead of 'lname_idx' ; 153 : */ ; 1...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,081
1,140
Terraspace/UASM:x64/Debug/simsegm.asm:29
mov r9, QWORD PTR pAlign$[rsp] mov r8d, 436 ; 000001b4H mov rdx, QWORD PTR name$[rsp] mov rcx, QWORD PTR pFmt$[rsp] call AddLineQueueX ; 160 : return; ; 161 : } add rsp, 128 ; 00000080H pop rdi ret 0 SetSimSeg ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu ; File d:\hjwasm\hjwasm2.13.1s\hjw...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,121
1,180
Terraspace/UASM:x64/Debug/simsegm.asm:30
; 87 : AddLineQueueX( "%s %r", CurrSeg->sym.name, T_ENDS ); mov r8d, 437 ; 000001b5H mov rax, QWORD PTR ModuleInfo+432 mov rdx, QWORD PTR [rax+8] lea rcx, OFFSET FLAT:$SG10917 call AddLineQueueX $LN2@close_curr: ; 88 : } ; 89 : } add rsp, 32 ; 00000020H pop rdi ret 0 close_currseg EN...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,161
1,220
Terraspace/UASM:x64/Debug/simsegm.asm:31
; 67 : #endif ; 68 : #if ELF_SUPPORT ; 69 : || Options.output_format == OFORMAT_ELF cmp DWORD PTR ModuleInfo+360, 7 je SHORT $LN3@AddToDgrou cmp DWORD PTR Options+160, 2 je SHORT $LN3@AddToDgrou cmp DWORD PTR Options+160, 3 jne SHORT $LN2@AddToDgrou $LN3@AddToDgrou: ; 70 : #endif ; 71 : )...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,201
1,260
Terraspace/UASM:x64/Debug/simsegm.asm:32
call AddLineQueueX $LN1@AddToDgrou: ; 78 : } add rsp, 32 ; 00000020H pop rdi ret 0 AddToDgroup ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\simsegm.c _TEXT SEGMENT tv83 = 32 tv190 = 40 tv91 = 48 tv140 = 56 tv158 = 64 SetModelDefaultSegNames PROC ; 291 ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,241
1,300
Terraspace/UASM:x64/Debug/simsegm.asm:33
; 296 : if( Options.names[OPTN_TEXT_SEG] ) { mov eax, 8 imul rax, rax, 6 lea rcx, OFFSET FLAT:Options+32 cmp QWORD PTR [rcx+rax], 0 je SHORT $LN2@SetModelDe ; 297 : SegmNames[SIM_CODE] = LclAlloc( strlen( Options.names[OPTN_TEXT_SEG] ) + 1 ); mov eax, 8 imul rax, rax, 6 lea rcx, OFFSET FLAT:Opt...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,281
1,340
Terraspace/UASM:x64/Debug/simsegm.asm:34
$LN2@SetModelDe: ; 300 : if ( SIZE_CODEPTR & ( 1 << ModuleInfo.model ) ) { mov eax, DWORD PTR ModuleInfo+360 mov ecx, 1 mov DWORD PTR tv190[rsp], ecx movzx ecx, al mov eax, DWORD PTR tv190[rsp] shl eax, cl and eax, 112 ; 00000070H test eax, eax je $LN4@SetModelDe ; 301 : /* for some...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,321
1,380
Terraspace/UASM:x64/Debug/simsegm.asm:35
mov rcx, QWORD PTR [rcx+rax] call strcpy ; 304 : strcat( SegmNames[SIM_CODE], SegmNamesDef[SIM_CODE] ); mov eax, 8 imul rax, rax, 0 lea rcx, OFFSET FLAT:SegmNamesDef mov edx, 8 imul rdx, rdx, 0 mov QWORD PTR tv140[rsp], rdx lea r8, OFFSET FLAT:SegmNames mov rdx, QWORD PTR [rcx+rax] mov rax, QWO...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,361
1,420
Terraspace/UASM:x64/Debug/simsegm.asm:36
call LclAlloc mov ecx, 8 imul rcx, rcx, 2 lea rdx, OFFSET FLAT:SegmNames mov QWORD PTR [rdx+rcx], rax ; 311 : strcpy( SegmNames[SIM_DATA], Options.names[OPTN_DATA_SEG] ); mov eax, 8 imul rax, rax, 7 lea rcx, OFFSET FLAT:Options+32 mov edx, 8 imul rdx, rdx, 2 mov QWORD PTR tv158[rsp], rdx lea r8, O...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,401
1,460
Terraspace/UASM:x64/Debug/simsegm.asm:37
mov rdi, rsp mov ecx, 8 mov eax, -858993460 ; ccccccccH rep stosd ; 362 : /* a model is set. Close current segment if one is open. */ ; 363 : if ( CurrSeg ) { cmp QWORD PTR ModuleInfo+432, 0 je SHORT $LN2@ModelSimSe ; 364 : close_currseg(); call close_currseg ; 365 : RunLineQue...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,441
1,500
Terraspace/UASM:x64/Debug/simsegm.asm:38
push rdi sub rsp, 112 ; 00000070H mov rdi, rsp mov ecx, 28 mov eax, -858993460 ; ccccccccH rep stosd mov ecx, DWORD PTR [rsp+128] mov rax, QWORD PTR __security_cookie xor rax, rsp mov QWORD PTR __$ArrayPad$[rsp], rax ; 324 : char buffer[20]; ; 325 : ; 326 : ModuleInfo.simseg_init = 0; /* v2.0...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,481
1,540
Terraspace/UASM:x64/Debug/simsegm.asm:39
xor edx, edx mov ecx, 2 call SetSimSeg ; 336 : EndSimSeg( SIM_DATA ); mov ecx, 2 call EndSimSeg ; 337 : ; 338 : /* create DGROUP for BIN/OMF if model isn't FLAT */ ; 339 : if( model != MODEL_FLAT && cmp DWORD PTR model$[rsp], 7 je $LN2@ModelSimSe cmp DWORD PTR Options+160, 1 je S...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,521
1,580
Terraspace/UASM:x64/Debug/simsegm.asm:40
lea rcx, QWORD PTR buffer$[rsp] call strcat ; 348 : AddLineQueueX( buffer, szDgroup, T_GROUP, SegmNames[SIM_CODE], SegmNames[SIM_DATA] ); mov eax, 8 imul rax, rax, 2 lea rcx, OFFSET FLAT:SegmNames mov edx, 8 imul rdx, rdx, 0 lea r8, OFFSET FLAT:SegmNames mov rax, QWORD PTR [rcx+rax] mov QWOR...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,561
1,620
Terraspace/UASM:x64/Debug/simsegm.asm:41
lea rcx, OFFSET FLAT:$SG11038 call DoDebugMsg1 ; 353 : //} ; 354 : return( NOT_ERROR ); xor eax, eax ; 355 : } mov edi, eax mov rcx, rsp lea rdx, OFFSET FLAT:ModelSimSegmInit$rtcFrameData call _RTC_CheckStackVars mov eax, edi mov rcx, QWORD PTR __$ArrayPad$[rsp] xor rcx, rsp call __security_che...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,601
1,660
Terraspace/UASM:x64/Debug/simsegm.asm:42
je SHORT $LN2@GetCodeCla ; 53 : return( Options.names[OPTN_CODE_CLASS] ); mov eax, 8 imul rax, rax, 8 lea rcx, OFFSET FLAT:Options+32 mov rax, QWORD PTR [rcx+rax] jmp SHORT $LN1@GetCodeCla $LN2@GetCodeCla: ; 54 : ; 55 : return( SegmClass[SIM_CODE] ); mov eax, 8 imul rax, rax, 0 lea rcx, OF...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
475976341f6684b892aa560a460b653239cfaf89
github
assembler
https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/simsegm.asm
1,641
1,691
Terraspace/UASM:x64/Debug/simsegm.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 _BSS SEGMENT $SG10928 DB 01H DUP (?) _BSS ENDS _DATA SEGMENT $SG10867 DB '_TEXT', 00H ORG $+2 $SG10868 DB 'STACK...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
1
60
Terraspace/UASM:x64/Debug/simsegm.asm:2
ORG $+5 $SG10880 DB 'FAR_BSS', 00H $SG10884 DB 'STACK', 00H ORG $+2 $SG10885 DB 'PUBLIC', 00H ORG $+1 $SG10886 DB 'PUBLIC', 00H ORG $+1 $SG10887 DB 'PRIVATE', 00H $SG10888 DB 'PRIVATE', 00H $SG10889 DB 'PUBLIC', 00H ORG $+1 $SG10906 DB '%s %r %s', 00H ORG $+7 $SG10911 DB 'close_currseg: current seg=%s', 0aH, 00H ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
41
100
Terraspace/UASM:x64/Debug/simsegm.asm:3
$SG10998 DB 'FLAT', 00H ORG $+7 $SG11000 DB '%r %r:%s', 00H ORG $+7 $SG11002 DB 'ORG 0%xh', 00H ORG $+7 $SG11006 DB '%r %r:ERROR', 00H ORG $+4 $SG11010 DB '%r %r:ERROR', 00H ORG $+4 $SG11012 DB 'simsegm.c', 00H ORG $+6 $SG11013 DB 'SimplifiedSegDir exit', 0aH, 00H ORG $+1 $SG11026 DB 'ModelSimSegmInit() enter, p...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
81
140
Terraspace/UASM:x64/Debug/simsegm.asm:4
DQ FLAT:$SG10886 DQ FLAT:$SG10887 DQ FLAT:$SG10888 DQ FLAT:$SG10889 CONST ENDS PUBLIC SimGetSegName PUBLIC GetCodeClass PUBLIC ModelSimSegmInit PUBLIC ModelSimSegmExit PUBLIC SetModelDefaultSegNames PUBLIC SimplifiedSegDir EXTRN memcpy:PROC EXTRN strcat:PROC EXTRN strcpy:PROC EXTRN strlen:PROC EXTRN DoDebugMsg1:PROC...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
121
180
Terraspace/UASM:x64/Debug/simsegm.asm:8
$LN37: mov QWORD PTR [rsp+16], rdx mov DWORD PTR [rsp+8], ecx push rdi sub rsp, 208 ; 000000d0H mov rdi, rsp mov ecx, 52 ; 00000034H mov eax, -858993460 ; ccccccccH rep stosd mov ecx, DWORD PTR [rsp+224] mov BYTE PTR $T6[rsp], 0 mov BYTE PTR $T5[rsp], 0 ; 177 : const char *name = NULL; mov...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
281
340
Terraspace/UASM:x64/Debug/simsegm.asm:14
; 227 : ; 228 : switch( type ) { mov eax, DWORD PTR type$[rsp] mov DWORD PTR tv164[rsp], eax cmp DWORD PTR tv164[rsp], 6 ja $LN31@Simplified movsxd rax, DWORD PTR tv164[rsp] lea rcx, OFFSET FLAT:__ImageBase mov eax, DWORD PTR $LN36@Simplified[rcx+rax*4] add rax, rcx jmp rax $LN17@Simplified: ; 229 : ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
521
580
Terraspace/UASM:x64/Debug/simsegm.asm:15
; 236 : name = szDgroup; lea rax, OFFSET FLAT:szDgroup mov QWORD PTR name$[rsp], rax jmp SHORT $LN19@Simplified $LN18@Simplified: ; 237 : } else if( ModuleInfo.model == MODEL_FLAT ) { cmp DWORD PTR ModuleInfo+360, 7 jne SHORT $LN21@Simplified ; 238 : name = "FLAT"; lea rax,...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
561
620
Terraspace/UASM:x64/Debug/simsegm.asm:16
mov r9, QWORD PTR name$[rsp] mov r8d, 26 mov edx, 439 ; 000001b7H lea rcx, OFFSET FLAT:$SG11000 call AddLineQueueX ; 244 : break; jmp $LN2@Simplified $LN24@Simplified: ; 245 : case SIM_STACK: /* .stack */ ; 246 : /* if code is generated which does "emit" bytes, ; 247 : * the ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
601
660
Terraspace/UASM:x64/Debug/simsegm.asm:17
; 255 : /* add stack to dgroup for some segmented models */ ; 256 : if ( !init ) cmp BYTE PTR $T6[rsp], 0 jne SHORT $LN34@Simplified lea rcx, OFFSET FLAT:SimplifiedSegDir$rtcName$1 call _RTC_UninitUse $LN34@Simplified: movsx eax, BYTE PTR init$[rsp] test eax, eax jne SHORT $LN25@Simplified ; ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
641
700
Terraspace/UASM:x64/Debug/simsegm.asm:18
; 264 : AddLineQueueX( "%r %r:ERROR", T_ASSUME, T_CS ); mov r8d, 26 mov edx, 439 ; 000001b7H lea rcx, OFFSET FLAT:$SG11006 call AddLineQueueX ; 265 : if ( name || (!init) ) cmp QWORD PTR name$[rsp], 0 jne SHORT $LN29@Simplified cmp BYTE PTR $T6[rsp], 0 jne SHORT $LN35@Simplified lea rcx...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
681
740
Terraspace/UASM:x64/Debug/simsegm.asm:19
; 271 : AddLineQueueX( "%r %r:ERROR", T_ASSUME, T_CS ); mov r8d, 26 mov edx, 439 ; 000001b7H lea rcx, OFFSET FLAT:$SG11010 call AddLineQueueX ; 272 : break; jmp SHORT $LN2@Simplified $LN31@Simplified: ; 273 : default: /* shouldn't happen */ ; 274 : /**/myassert( 0 ); mov ed...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
721
780
Terraspace/UASM:x64/Debug/simsegm.asm:20
mov rdi, rax mov rcx, rsp lea rdx, OFFSET FLAT:SimplifiedSegDir$rtcFrameData call _RTC_CheckStackVars mov rax, rdi add rsp, 208 ; 000000d0H pop rdi ret 0 $LN36@Simplified: DD $LN17@Simplified DD $LN24@Simplified DD $LN27@Simplified DD $LN27@Simplified DD $LN30@Simplified DD $LN30@Simplified DD $LN27@Si...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
761
820
Terraspace/UASM:x64/Debug/simsegm.asm:21
mov r8d, 437 ; 000001b5H mov rdx, QWORD PTR [rcx+rax*8] lea rcx, OFFSET FLAT:$SG10958 call AddLineQueueX ; 167 : return; ; 168 : } add rsp, 32 ; 00000020H pop rdi ret 0 EndSimSeg ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\simsegm.c _TEXT SEGM...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
801
860
Terraspace/UASM:x64/Debug/simsegm.asm:22
; 98 : char *pAlign = "WORD"; lea rax, OFFSET FLAT:$SG10926 mov QWORD PTR pAlign$[rsp], rax ; 99 : char *pAlignSt = "PARA"; lea rax, OFFSET FLAT:$SG10927 mov QWORD PTR pAlignSt$[rsp], rax ; 100 : char *pUse = ""; lea rax, OFFSET FLAT:$SG10928 mov QWORD PTR pUse$[rsp], rax ; 101 : struc...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
841
900
Terraspace/UASM:x64/Debug/simsegm.asm:23
lea rax, OFFSET FLAT:$SG10933 mov QWORD PTR pUse$[rsp], rax $LN4@SetSimSeg: ; 110 : if (( ModuleInfo.curr_cpu & P_CPU_MASK ) <= P_386 ) mov eax, DWORD PTR ModuleInfo+392 and eax, 240 ; 000000f0H cmp eax, 48 ; 00000030H jg SHORT $LN5@SetSimSeg ; 111 : pAlign = "DWORD"; lea rax, OFF...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
881
940
Terraspace/UASM:x64/Debug/simsegm.asm:24
call GetCodeClass mov QWORD PTR pClass$[rsp], rax jmp SHORT $LN8@SetSimSeg $LN7@SetSimSeg: ; 119 : else ; 120 : pClass = SegmClass[segm]; movsxd rax, DWORD PTR segm$[rsp] lea rcx, OFFSET FLAT:SegmClass mov rax, QWORD PTR [rcx+rax*8] mov QWORD PTR pClass$[rsp], rax $LN8@SetSimSeg: ; 121 : ; 122 ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
921
980
Terraspace/UASM:x64/Debug/simsegm.asm:25
jne $LN11@SetSimSeg ; 127 : name = SegmNames[segm]; movsxd rax, DWORD PTR segm$[rsp] lea rcx, OFFSET FLAT:SegmNames mov rax, QWORD PTR [rcx+rax*8] mov QWORD PTR name$[rsp], rax ; 128 : if ( ModuleInfo.simseg_init & ( 1 << segm ) ) movzx eax, BYTE PTR ModuleInfo+420 mov ecx, DWORD PTR segm$[r...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
961
1,020
Terraspace/UASM:x64/Debug/simsegm.asm:27
mov eax, DWORD PTR tv200[rsp] shl eax, cl movzx ecx, BYTE PTR ModuleInfo+421 or ecx, eax mov eax, ecx mov BYTE PTR ModuleInfo+421, al $LN16@SetSimSeg: $LN15@SetSimSeg: ; 143 : } ; 144 : if ( ModuleInfo.simseg_defd & ( 1 << segm ) ) movzx eax, BYTE PTR ModuleInfo+421 mov ecx, DWORD PTR...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
1,041
1,100
Terraspace/UASM:x64/Debug/simsegm.asm:28
; 149 : /* v2.04: testing for state SYM_SEG isn't enough. The segment ; 150 : * might have been "defined" by a GROUP directive. Additional ; 151 : * check for segment's lname index is needed. ; 152 : * v2.12: check 'isdefined' member instead of 'lname_idx' ; 153 : */ ; 1...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
1,081
1,140
Terraspace/UASM:x64/Debug/simsegm.asm:29
mov r9, QWORD PTR pAlign$[rsp] mov r8d, 436 ; 000001b4H mov rdx, QWORD PTR name$[rsp] mov rcx, QWORD PTR pFmt$[rsp] call AddLineQueueX ; 160 : return; ; 161 : } add rsp, 128 ; 00000080H pop rdi ret 0 SetSimSeg ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu ; File d:\hjwasm\hjwasm2.13.1s\hjw...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
1,121
1,180
Terraspace/UASM:x64/Debug/simsegm.asm:30
; 87 : AddLineQueueX( "%s %r", CurrSeg->sym.name, T_ENDS ); mov r8d, 437 ; 000001b5H mov rax, QWORD PTR ModuleInfo+432 mov rdx, QWORD PTR [rax+8] lea rcx, OFFSET FLAT:$SG10912 call AddLineQueueX $LN2@close_curr: ; 88 : } ; 89 : } add rsp, 32 ; 00000020H pop rdi ret 0 close_currseg EN...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
1,161
1,220
Terraspace/UASM:x64/Debug/simsegm.asm:31
; 67 : #endif ; 68 : #if ELF_SUPPORT ; 69 : || Options.output_format == OFORMAT_ELF cmp DWORD PTR ModuleInfo+360, 7 je SHORT $LN3@AddToDgrou cmp DWORD PTR Options+160, 2 je SHORT $LN3@AddToDgrou cmp DWORD PTR Options+160, 3 jne SHORT $LN2@AddToDgrou $LN3@AddToDgrou: ; 70 : #endif ; 71 : )...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
1,201
1,260
Terraspace/UASM:x64/Debug/simsegm.asm:38
push rdi sub rsp, 112 ; 00000070H mov rdi, rsp mov ecx, 28 mov eax, -858993460 ; ccccccccH rep stosd mov ecx, DWORD PTR [rsp+128] mov rax, QWORD PTR __security_cookie xor rax, rsp mov QWORD PTR __$ArrayPad$[rsp], rax ; 324 : char buffer[20]; ; 325 : ; 326 : ModuleInfo.simseg_init = 0; /* v2.0...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
1,481
1,540
Terraspace/UASM:x64/Debug/simsegm.asm:39
xor edx, edx mov ecx, 2 call SetSimSeg ; 336 : EndSimSeg( SIM_DATA ); mov ecx, 2 call EndSimSeg ; 337 : ; 338 : /* create DGROUP for BIN/OMF if model isn't FLAT */ ; 339 : if( model != MODEL_FLAT && cmp DWORD PTR model$[rsp], 7 je $LN2@ModelSimSe cmp DWORD PTR Options+160, 1 je S...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
1,521
1,580
Terraspace/UASM:x64/Debug/simsegm.asm:40
lea rcx, QWORD PTR buffer$[rsp] call strcat ; 348 : AddLineQueueX( buffer, szDgroup, T_GROUP, SegmNames[SIM_CODE], SegmNames[SIM_DATA] ); mov eax, 8 imul rax, rax, 2 lea rcx, OFFSET FLAT:SegmNames mov edx, 8 imul rdx, rdx, 0 lea r8, OFFSET FLAT:SegmNames mov rax, QWORD PTR [rcx+rax] mov QWOR...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
1,561
1,620
Terraspace/UASM:x64/Debug/simsegm.asm:41
lea rcx, OFFSET FLAT:$SG11033 call DoDebugMsg1 ; 353 : //} ; 354 : return( NOT_ERROR ); xor eax, eax ; 355 : } mov edi, eax mov rcx, rsp lea rdx, OFFSET FLAT:ModelSimSegmInit$rtcFrameData call _RTC_CheckStackVars mov eax, edi mov rcx, QWORD PTR __$ArrayPad$[rsp] xor rcx, rsp call __security_che...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/simsegm.asm
Apache-2.0
6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc
github
assembler
https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/simsegm.asm
1,601
1,660
Terraspace/UASM:x64/Debug/tbyte.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 _DATA ENDS CONST SEGMENT tab_plus_exp DD 00H DD 00H DD 0a0000000H DW 04002H ORG $+2 ...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/tbyte.asm
Apache-2.0
ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08
github
assembler
https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/tbyte.asm
1
60
Terraspace/UASM:x64/Debug/tbyte.asm:2
DD 02b70b59dH DD 09dc5ada8H DW 04069H ORG $+2 DD 03cbf6b71H DD 0ffcfa6d5H DD 0c2781f49H DW 040d3H ORG $+2 DD 0c66f336bH DD 080e98cdfH DD 093ba47c9H DW 041a8H ORG $+2 DD 0ddbb9018H DD 09df9de8dH DD 0aa7eebfbH DW 04351H ORG $+2 DD 0cc655c4bH DD 0a60e91c6H DD 0e319a0aeH DW 046a3H ORG $+2 DD 0650d3d...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/tbyte.asm
Apache-2.0
ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08
github
assembler
https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/tbyte.asm
41
100
Terraspace/UASM:x64/Debug/tbyte.asm:3
DD 0ccccccccH DD 0ccccccccH DW 03ffbH ORG $+2 DD 03d70a3d7H DD 070a3d70aH DD 0a3d70a3dH DW 03ff8H ORG $+2 DD 0d3c36113H DD 0e219652bH DD 0d1b71758H DW 03ff1H ORG $+2 DD 0fdc20d2aH DD 08461cefcH DD 0abcc7711H DW 03fe4H ORG $+2 DD 04c2ebe65H DD 0c44de15bH DD 0e69594beH DW 03fc9H ORG $+2 DD 067de18...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/tbyte.asm
Apache-2.0
ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08
github
assembler
https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/tbyte.asm
81
140
Terraspace/UASM:x64/Debug/tbyte.asm:4
DD 0637a1939H DD 0c0314325H DW 03cacH ORG $+2 DD 07132d2e4H DD 0db23d21cH DD 09049ee32H DW 0395aH ORG $+2 DD 087a600a6H DD 0da57c0bdH DD 0a2a682a5H DW 032b5H ORG $+2 DD 04925110fH DD 034362de4H DD 0ceae534fH DW 0256bH ORG $+2 DD 02de37e46H DD 0d2ce9fdeH DD 0a6dd04c8H DW 0ad8H ORG $+2 CONST ENDS P...
x86_64
masm-like
handwritten
Terraspace/UASM
x64/Debug/tbyte.asm
Apache-2.0
ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08
github
assembler
https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/tbyte.asm
121
180