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/omffixup.asm:11 | mov rax, QWORD PTR fixup$[rsp]
movsx eax, BYTE PTR [rax+40]
cmp eax, 6
je SHORT $LN13@omf_fill_l
; 284 : lr->frame = fixup->frame_type;
mov rax, QWORD PTR lr$[rsp]
mov rcx, QWORD PTR fixup$[rsp]
movzx ecx, BYTE PTR [rcx+40]
mov BYTE PTR [rax], cl
; 285 : lr->frame_datum = fixup->fram... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/omffixup.asm:12 | ; 291 : } else {
jmp $LN12@omf_fill_l
$LN11@omf_fill_l:
; 292 :
; 293 : /* symbol is a label */
; 294 :
; 295 : lr->frame_datum = fixup->frame_datum;
mov rax, QWORD PTR lr$[rsp]
mov rcx, QWORD PTR fixup$[rsp]
movzx ecx, WORD PTR [rcx+42]
mov WORD PTR [rax+2], cx
; 296 : if( sy... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/omffixup.asm:13 | mov rax, QWORD PTR lr$[rsp]
mov rcx, QWORD PTR sym$[rsp]
movzx ecx, WORD PTR [rcx+88]
mov WORD PTR [rax+6], cx
; 301 :
; 302 : if( fixup->frame_type == FRAME_GRP && fixup->frame_datum == 0 ) {
mov rax, QWORD PTR fixup$[rsp]
movsx eax, BYTE PTR [rax+40]
cmp eax, 1
jne SHORT $LN17@omf_fill_l
mov r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/omffixup.asm:14 | $LN32@omf_fill_l:
mov edx, 308 ; 00000134H
lea rcx, OFFSET FLAT:$SG10739
call InternalError
mov DWORD PTR tv191[rsp], eax
$LN33@omf_fill_l:
; 309 : DebugMsg1(("omf_fill_logref: sym->state is SYM_INTERNAL, sym->segment=%s, fixup->frame/datum=%u/%u\n",
mov rax, QWORD PTR sym$[rsp]
cmp QWORD PTR [r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/omffixup.asm:15 | test eax, eax
je SHORT $LN18@omf_fill_l
; 313 : lr->target = ( fixup->frame_type == FRAME_GRP ? TARGET_GRP : TARGET_SEG );
mov rax, QWORD PTR fixup$[rsp]
movsx eax, BYTE PTR [rax+40]
cmp eax, 1
jne SHORT $LN36@omf_fill_l
mov DWORD PTR tv214[rsp], 5
jmp SHORT $LN37@omf_fill_l
$LN36@omf_fill_l:
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/omffixup.asm:16 | ; 317 : return ( 0 );
xor eax, eax
jmp $LN1@omf_fill_l
jmp SHORT $LN21@omf_fill_l
$LN20@omf_fill_l:
; 318 : #if COMDATSUPP
; 319 : } else if ( ( (struct dsym *)sym->segment)->e.seginfo->comdat_selection ) {
mov rax, QWORD PTR sym$[rsp]
mov rax, QWORD PTR [rax+24]
mov rax, QWORD P... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/omffixup.asm:17 | mov eax, 1
jmp SHORT $LN1@omf_fill_l
; 324 : #endif
; 325 : } else {
jmp SHORT $LN23@omf_fill_l
$LN22@omf_fill_l:
; 326 : lr->target = TARGET_SEG;
mov rax, QWORD PTR lr$[rsp]
mov BYTE PTR [rax+5], 4
; 327 : lr->target_datum = GetSegIdx( sym->segment );
mov rax,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/omffixup.asm:18 | mov rcx, QWORD PTR fixup$[rsp]
movzx ecx, BYTE PTR [rcx+40]
mov BYTE PTR [rax], cl
; 333 : } else {
jmp SHORT $LN25@omf_fill_l
$LN24@omf_fill_l:
; 334 : lr->frame = FRAME_TARG;
mov rax, QWORD PTR lr$[rsp]
mov BYTE PTR [rax], 5
$LN25@omf_fill_l:
$LN12@omf_fill_l:
$LN8@omf_fill_l:
$LN6@omf_... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/omffixup.asm:19 | $LN26@omf_fill_l:
; 344 : }
; 345 :
; 346 : return( 1 );
mov eax, 1
$LN1@omf_fill_l:
; 347 : }
add rsp, 80 ; 00000050H
pop rdi
ret 0
omf_fill_logref ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omffixup.c
_TEXT SEGMENT
p$ = 32
target$ = 40
t... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/omffixup.asm:20 | mov rcx, QWORD PTR [rsp+80]
; 121 : uint_8 *p;
; 122 : uint_8 target;
; 123 :
; 124 : /**/myassert( lr != NULL );
cmp QWORD PTR lr$[rsp], 0
je SHORT $LN7@TranslateL
mov DWORD PTR tv68[rsp], 0
jmp SHORT $LN8@TranslateL
$LN7@TranslateL:
mov edx, 124 ; 0000007cH
lea rcx, OFFSET FLAT:$SG10673
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/omffixup.asm:21 | mov DWORD PTR tv79[rsp], eax
jmp SHORT $LN12@TranslateL
$LN11@TranslateL:
mov DWORD PTR tv79[rsp], 0
$LN12@TranslateL:
; 127 :
; 128 : /*
; 129 : * According to the discussion on p102 of the Intel OMF document, we
; 130 : * cannot just arbitrarily write fixups without a displacment if their
; 131 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/omffixup.asm:22 | ; 138 : /* write the "Fix Data" field, FfffTPtt:
; 139 : * F : 0 = frame method is defined in fff field ( F0-F5)
; 140 : * 1 = frame is defined by a thread ( won't occur here )
; 141 : * fff: frame method
; 142 : * T : 0 = target is defined by tt
; 143 : * 1 = target is de... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/omffixup.asm:23 | call putTargetDatum
mov QWORD PTR p$[rsp], rax
; 151 : if( ( target & 0x04 ) == 0 ) {
movzx eax, BYTE PTR target$[rsp]
and eax, 4
test eax, eax
jne SHORT $LN3@TranslateL
; 152 : if( type == FIX_GEN_MS386 ) {
cmp DWORD PTR type$[rsp], 1
jne SHORT $LN4@TranslateL
; 153 : p = put32( ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/omffixup.asm:24 | ; 158 : return( p - buf );
mov rax, QWORD PTR buf$[rsp]
mov rcx, QWORD PTR p$[rsp]
sub rcx, rax
mov rax, rcx
; 159 : }
add rsp, 64 ; 00000040H
pop rdi
ret 0
TranslateLogref ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omffixup.c
_TEXT SEGMENT
p$... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/omffixup.asm:25 | ; 103 : return( putIndex( p, datum ) );
movzx edx, WORD PTR datum$[rsp]
mov rcx, QWORD PTR p$[rsp]
call putIndex
; 104 : }
add rsp, 32 ; 00000020H
pop rdi
ret 0
putTargetDatum ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omffixup.c
_TEXT SEGMENT
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/omffixup.asm:26 | jb SHORT $LN2@putFrameDa
cmp BYTE PTR tv65[rsp], 2
jbe SHORT $LN4@putFrameDa
jmp SHORT $LN2@putFrameDa
$LN4@putFrameDa:
; 82 : case FRAME_SEG:
; 83 : case FRAME_GRP:
; 84 : case FRAME_EXT:
; 85 : return( putIndex( p, datum ) );
movzx edx, WORD PTR datum$[rsp]
mov rcx, QWORD PTR p$[rsp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/omffixup.asm:27 | put32 PROC
; 73 : {
mov DWORD PTR [rsp+16], edx
mov QWORD PTR [rsp+8], rcx
push rdi
; 74 : WriteU32( p, value );
mov rax, QWORD PTR p$[rsp]
mov ecx, DWORD PTR value$[rsp]
mov DWORD PTR [rax], ecx
; 75 : return( p + sizeof( uint_32 ) );
mov rax, QWORD PTR p$[rsp]
add rax, 4
; 76 : }
pop ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/omffixup.asm:29 | mov BYTE PTR [rcx], al
mov rax, QWORD PTR p$[rsp]
inc rax
mov QWORD PTR p$[rsp], rax
$LN2@putIndex:
; 59 : }
; 60 : *p++ = index;
mov rax, QWORD PTR p$[rsp]
movzx ecx, BYTE PTR index$[rsp]
mov BYTE PTR [rax], cl
mov rax, QWORD PTR p$[rsp]
inc rax
mov QWORD PTR p$[rsp], rax
; 61 : return( p... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Debug/omffixup.asm:30 | ; 194 : {
$LN12:
mov DWORD PTR [rsp+32], r9d
mov DWORD PTR [rsp+24], r8d
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 160 ; 000000a0H
mov rdi, rsp
mov ecx, 40 ; 00000028H
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+176]
mov rax, QWORD PTR __secur... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Debug/omffixup.asm:31 | mov rax, QWORD PTR fixup$[rsp]
movzx eax, WORD PTR [rax+42]
mov WORD PTR lr$[rsp+2], ax
; 202 :
; 203 : /* symbol is always a code label (near or far), internal or external */
; 204 : /* now set Target and Frame */
; 205 :
; 206 : if( sym->state == SYM_EXTERNAL ) {
mov rax, QWORD PTR sym$[rsp]
cm... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Debug/omffixup.asm:32 | ; 212 :
; 213 : if( fixup->frame_type == FRAME_GRP && fixup->frame_datum == 0 ) {
mov rax, QWORD PTR fixup$[rsp]
movsx eax, BYTE PTR [rax+40]
cmp eax, 1
jne SHORT $LN4@OmfFixGenF
mov rax, QWORD PTR fixup$[rsp]
movzx eax, WORD PTR [rax+42]
test eax, eax
jne SHORT $LN4@OmfFixGenF
; 214 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,241 | 1,300 |
Terraspace/UASM:x64/Debug/omffixup.asm:33 | $LN9@OmfFixGenF:
mov rax, QWORD PTR fixup$[rsp]
movzx eax, WORD PTR [rax+42]
mov rcx, QWORD PTR fixup$[rsp]
movsx ecx, BYTE PTR [rcx+40]
mov rdx, QWORD PTR tv94[rsp]
mov QWORD PTR [rsp+48], rdx
mov rdx, QWORD PTR sym$[rsp]
mov edx, DWORD PTR [rdx+32]
mov DWORD PTR [rsp+40], edx
mov rdx, QWORD PTR sym$[rsp]
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Debug/omffixup.asm:34 | mov rax, QWORD PTR sym$[rsp]
mov rcx, QWORD PTR [rax+24]
call GetSegIdx
mov WORD PTR lr$[rsp+6], ax
$LN3@OmfFixGenF:
; 224 : }
; 225 :
; 226 : if( fixup->frame_type != FRAME_NONE && fixup->frame_type != FRAME_SEG ) {
mov rax, QWORD PTR fixup$[rsp]
movsx eax, BYTE PTR [rax+40]
cmp eax, 6
je SHORT $LN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,321 | 1,380 |
Terraspace/UASM:x64/Debug/omffixup.asm:35 | mov rdx, QWORD PTR buf$[rsp]
lea rcx, QWORD PTR lr$[rsp]
call TranslateLogref
; 232 : }
mov rdi, rax
mov rcx, rsp
lea rdx, OFFSET FLAT:OmfFixGenFixModend$rtcFrameData
call _RTC_CheckStackVars
mov rax, rdi
mov rcx, QWORD PTR __$ArrayPad$[rsp]
xor rcx, rsp
call __security_check_cookie
add rsp, 160 ; 0000... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,361 | 1,420 |
Terraspace/UASM:x64/Debug/omffixup.asm:36 | OmfFixGenFix PROC
; 370 : {
$LN34:
mov DWORD PTR [rsp+32], r9d
mov QWORD PTR [rsp+24], r8
mov DWORD PTR [rsp+16], edx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 144 ; 00000090H
mov rdi, rsp
mov ecx, 36 ; 00000024H
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+160]
mov rax,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,401 | 1,460 |
Terraspace/UASM:x64/Debug/omffixup.asm:37 | ; 377 : /**/myassert( buf != NULL );
cmp QWORD PTR buf$[rsp], 0
je SHORT $LN19@OmfFixGenF
mov DWORD PTR tv73[rsp], 0
jmp SHORT $LN20@OmfFixGenF
$LN19@OmfFixGenF:
mov edx, 377 ; 00000179H
lea rcx, OFFSET FLAT:$SG10774
call InternalError
mov DWORD PTR tv73[rsp], eax
$LN20@OmfFixGenF:
; 378 : /**/my... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,441 | 1,500 |
Terraspace/UASM:x64/Debug/omffixup.asm:38 | mov rax, QWORD PTR fixup$[rsp]
mov eax, DWORD PTR [rax+24]
mov DWORD PTR tv81[rsp], eax
mov eax, DWORD PTR tv81[rsp]
dec eax
mov DWORD PTR tv81[rsp], eax
cmp DWORD PTR tv81[rsp], 10
ja $LN14@OmfFixGenF
movsxd rax, DWORD PTR tv81[rsp]
lea rcx, OFFSET FLAT:__ImageBase
mov eax, DWORD PTR $LN33@OmfFixGenF[rcx+rax... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,481 | 1,540 |
Terraspace/UASM:x64/Debug/omffixup.asm:39 | ; 393 : case FIX_OFF16:
; 394 : locat1 = ( fixup->loader_resolved ? LOC_MS_LINK_OFFSET << 2 : LOC_OFFSET << 2 );
mov rax, QWORD PTR fixup$[rsp]
movzx eax, BYTE PTR [rax+33]
and al, 1
movzx eax, al
test eax, eax
je SHORT $LN23@OmfFixGenF
mov DWORD PTR tv86[rsp], 20
jmp SHORT $LN24@OmfFixGenF
$LN23... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,521 | 1,580 |
Terraspace/UASM:x64/Debug/omffixup.asm:40 | $LN25@OmfFixGenF:
mov DWORD PTR tv92[rsp], 36 ; 00000024H
$LN26@OmfFixGenF:
movzx eax, BYTE PTR tv92[rsp]
mov BYTE PTR locat1$[rsp], al
; 401 : break;
jmp SHORT $LN2@OmfFixGenF
$LN10@OmfFixGenF:
; 402 : case FIX_HIBYTE:
; 403 : locat1 = ( LOC_OFFSET_HI << 2 );
mov BYTE PTR locat1$[rsp]... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,561 | 1,620 |
Terraspace/UASM:x64/Debug/omffixup.asm:41 | ; 411 : case FIX_PTR32:
; 412 : locat1 = ( LOC_MS_BASE_OFFSET_32 << 2 );
mov BYTE PTR locat1$[rsp], 44 ; 0000002cH
; 413 : break;
jmp SHORT $LN2@OmfFixGenF
$LN14@OmfFixGenF:
; 414 : default: /* shouldn't happen. Check for valid fixup has already happened */
; 415 : EmitErr( U... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,601 | 1,660 |
Terraspace/UASM:x64/Debug/omffixup.asm:42 | ; 419 : }
; 420 : locat1 |= self_relative ? 0x80 : 0xc0; /* bit 7: 1=is a fixup subrecord */
movzx eax, BYTE PTR self_relative$[rsp]
test eax, eax
je SHORT $LN29@OmfFixGenF
mov DWORD PTR tv139[rsp], 128 ; 00000080H
jmp SHORT $LN30@OmfFixGenF
$LN29@OmfFixGenF:
mov DWORD PTR tv139[rsp], 192 ; 000000c0H... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,641 | 1,700 |
Terraspace/UASM:x64/Debug/omffixup.asm:43 | jae SHORT $LN31@OmfFixGenF
mov DWORD PTR tv153[rsp], 0
jmp SHORT $LN32@OmfFixGenF
$LN31@OmfFixGenF:
mov edx, 426 ; 000001aaH
lea rcx, OFFSET FLAT:$SG10788
call InternalError
mov DWORD PTR tv153[rsp], eax
$LN32@OmfFixGenF:
; 427 :
; 428 : /* calculate the fixup's position in current LEDATA */
; 429 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,681 | 1,740 |
Terraspace/UASM:x64/Debug/omffixup.asm:44 | mov BYTE PTR [rax+1], cl
; 434 : return( 2 + TranslateLogref( &lr, buf+2, type ) );
mov rax, QWORD PTR buf$[rsp]
add rax, 2
mov r8d, DWORD PTR type$[rsp]
mov rdx, rax
lea rcx, QWORD PTR lr$[rsp]
call TranslateLogref
add eax, 2
$LN1@OmfFixGenF:
; 435 : }
mov rdi, rax
mov rcx, rsp
lea rdx, OFFSET FLAT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omffixup.asm | 1,721 | 1,762 |
Terraspace/UASM:x64/Debug/omffixup.asm:7 | lea rcx, OFFSET FLAT:$SG10720
call DoDebugMsg
; 253 : if ( fixup->frame_type == FRAME_NONE ) /* v1.96: nothing to do without a frame */
mov rax, QWORD PTR fixup$[rsp]
movsx eax, BYTE PTR [rax+40]
cmp eax, 6
jne SHORT $LN4@omf_fill_l
; 254 : return( 0 );
xor eax, eax
jmp $LN1@omf_fill_l
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/omffixup.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/omffixup.asm:8 | mov rax, QWORD PTR sym$[rsp]
cmp DWORD PTR [rax+32], 0
jne SHORT $LN5@omf_fill_l
; 260 :
; 261 : DebugMsg(("omf_fill_logref: sym->state is SYM_UNDEFINED\n" ));
lea rcx, OFFSET FLAT:$SG10724
call DoDebugMsg
; 262 : EmitErr( SYMBOL_NOT_DEFINED, sym->name );
mov rax, QWORD PTR sym$[rsp]
mov rd... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/omffixup.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/omffixup.asm:15 | test eax, eax
je SHORT $LN18@omf_fill_l
; 313 : lr->target = ( fixup->frame_type == FRAME_GRP ? TARGET_GRP : TARGET_SEG );
mov rax, QWORD PTR fixup$[rsp]
movsx eax, BYTE PTR [rax+40]
cmp eax, 1
jne SHORT $LN36@omf_fill_l
mov DWORD PTR tv214[rsp], 5
jmp SHORT $LN37@omf_fill_l
$LN36@omf_fill_l:
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/omffixup.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/omffixup.asm:41 | ; 411 : case FIX_PTR32:
; 412 : locat1 = ( LOC_MS_BASE_OFFSET_32 << 2 );
mov BYTE PTR locat1$[rsp], 44 ; 0000002cH
; 413 : break;
jmp SHORT $LN2@OmfFixGenF
$LN14@OmfFixGenF:
; 414 : default: /* shouldn't happen. Check for valid fixup has already happened */
; 415 : EmitErr( U... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/omffixup.asm | 1,601 | 1,660 |
Terraspace/UASM:x64/Debug/omffixup.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10671 DB 'omffixup.c', 00H
ORG $+5
$SG10672 DB 'omffixup.c', 00H
ORG $+5
$SG10673 DB 'omffixup... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/omffixup.asm:2 | DB 'e_type/datum=%u/%u', 0aH, 00H
ORG $+4
$SG10737 DB 'omffixup.c', 00H
ORG $+1
$SG10738 DB 'NULL', 00H
ORG $+7
$SG10771 DB 'omffixup.c', 00H
ORG $+13
$SG10739 DB 'omf_fill_logref: sym->state is SYM_INTERNAL, sym->segmen'
DB 't=%s, fixup->frame/datum=%u/%u', 0aH, 00H
$SG10772 DB 'omffixup.c', 00H
ORG $+5
$SG10773... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/omffixup.asm:3 | $pdata$putIndex DD imagerel putIndex
DD imagerel putIndex+85
DD imagerel $unwind$putIndex
$pdata$put16 DD imagerel put16
DD imagerel put16+35
DD imagerel $unwind$put16
$pdata$put32 DD imagerel put32
DD imagerel put32+32
DD imagerel $unwind$put32
$pdata$putFrameDatum DD imagerel putFrameDatum
DD imagerel putFrame... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/omffixup.asm:4 | DD 090H
$unwind$putIndex DD 010b01H
DD 0700bH
$unwind$put16 DD 010b01H
DD 0700bH
$unwind$put32 DD 010a01H
DD 0700aH
$unwind$putFrameDatum DD 022801H
DD 070105214H
$unwind$putTargetDatum DD 022801H
DD 070103214H
$unwind$TranslateLogref DD 022801H
DD 070107214H
$unwind$omf_fill_logref DD 022301H
DD 0700b920fH
xdat... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/omffixup.asm:5 | ; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omffixup.c
_TEXT SEGMENT
sym$ = 32
tv69 = 40
tv73 = 48
tv191 = 56
tv202 = 64
tv214 = 72
fixup$ = 96
lr$ = 104
omf_fill_logref PROC
; 238 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 80 ; 000000... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/omffixup.asm:6 | mov DWORD PTR tv69[rsp], eax
jmp SHORT $LN29@omf_fill_l
$LN28@omf_fill_l:
mov DWORD PTR tv69[rsp], -1
$LN29@omf_fill_l:
cmp QWORD PTR sym$[rsp], 0
je SHORT $LN30@omf_fill_l
mov rax, QWORD PTR sym$[rsp]
mov rax, QWORD PTR [rax+8]
mov QWORD PTR tv73[rsp], rax
jmp SHORT $LN31@omf_fill_l
$LN30@omf_fill_l:
lea rax,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/omffixup.asm:7 | call DoDebugMsg
; 253 : if ( fixup->frame_type == FRAME_NONE ) /* v1.96: nothing to do without a frame */
mov rax, QWORD PTR fixup$[rsp]
movsx eax, BYTE PTR [rax+40]
cmp eax, 6
jne SHORT $LN4@omf_fill_l
; 254 : return( 0 );
xor eax, eax
jmp $LN1@omf_fill_l
$LN4@omf_fill_l:
; 255 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/omffixup.asm:8 | cmp DWORD PTR [rax+32], 0
jne SHORT $LN5@omf_fill_l
; 260 :
; 261 : DebugMsg(("omf_fill_logref: sym->state is SYM_UNDEFINED\n" ));
lea rcx, OFFSET FLAT:$SG10722
call DoDebugMsg
; 262 : EmitErr( SYMBOL_NOT_DEFINED, sym->name );
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
mov ecx,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/omffixup.asm:9 | ; 269 : lr->target_datum = ((struct dsym *)sym)->e.grpinfo->grp_idx;
mov rax, QWORD PTR sym$[rsp]
mov rax, QWORD PTR [rax+96]
mov rcx, QWORD PTR lr$[rsp]
movzx eax, WORD PTR [rax+8]
mov WORD PTR [rcx+6], ax
; 270 : if( fixup->frame_type != FRAME_NONE ) {
mov rax, QWORD PTR fixup$[rsp]
movsx ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/omffixup.asm:10 | ; 275 : lr->frame_datum = lr->target_datum;
mov rax, QWORD PTR lr$[rsp]
mov rcx, QWORD PTR lr$[rsp]
movzx ecx, WORD PTR [rcx+6]
mov WORD PTR [rax+2], cx
$LN10@omf_fill_l:
; 276 : }
jmp $LN8@omf_fill_l
$LN7@omf_fill_l:
; 277 :
; 278 : } else if( sym->state == SYM_SEG ) {
mov rax, Q... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/omffixup.asm:12 | jmp $LN12@omf_fill_l
$LN11@omf_fill_l:
; 292 :
; 293 : /* symbol is a label */
; 294 :
; 295 : lr->frame_datum = fixup->frame_datum;
mov rax, QWORD PTR lr$[rsp]
mov rcx, QWORD PTR fixup$[rsp]
movzx ecx, WORD PTR [rcx+42]
mov WORD PTR [rax+2], cx
; 296 : if( sym->state == SYM_EXTERNAL... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/omffixup.asm:13 | mov rcx, QWORD PTR sym$[rsp]
movzx ecx, WORD PTR [rcx+88]
mov WORD PTR [rax+6], cx
; 301 :
; 302 : if( fixup->frame_type == FRAME_GRP && fixup->frame_datum == 0 ) {
mov rax, QWORD PTR fixup$[rsp]
movsx eax, BYTE PTR [rax+40]
cmp eax, 1
jne SHORT $LN17@omf_fill_l
mov rax, QWORD PTR fixup$[rsp]
mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/omffixup.asm:14 | mov edx, 308 ; 00000134H
lea rcx, OFFSET FLAT:$SG10737
call InternalError
mov DWORD PTR tv191[rsp], eax
$LN33@omf_fill_l:
; 309 : DebugMsg1(("omf_fill_logref: sym->state is SYM_INTERNAL, sym->segment=%s, fixup->frame/datum=%u/%u\n",
mov rax, QWORD PTR sym$[rsp]
cmp QWORD PTR [rax+24], 0
je SHORT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/omffixup.asm:15 | je SHORT $LN18@omf_fill_l
; 313 : lr->target = ( fixup->frame_type == FRAME_GRP ? TARGET_GRP : TARGET_SEG );
mov rax, QWORD PTR fixup$[rsp]
movsx eax, BYTE PTR [rax+40]
cmp eax, 1
jne SHORT $LN36@omf_fill_l
mov DWORD PTR tv214[rsp], 5
jmp SHORT $LN37@omf_fill_l
$LN36@omf_fill_l:
mov DWORD PTR ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/omffixup.asm:16 | xor eax, eax
jmp $LN1@omf_fill_l
jmp SHORT $LN21@omf_fill_l
$LN20@omf_fill_l:
; 318 : #if COMDATSUPP
; 319 : } else if ( ( (struct dsym *)sym->segment)->e.seginfo->comdat_selection ) {
mov rax, QWORD PTR sym$[rsp]
mov rax, QWORD PTR [rax+24]
mov rax, QWORD PTR [rax+96]
movzx eax, BYTE PTR [rax+108... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/omffixup.asm:17 | mov eax, 1
jmp SHORT $LN1@omf_fill_l
; 324 : #endif
; 325 : } else {
jmp SHORT $LN23@omf_fill_l
$LN22@omf_fill_l:
; 326 : lr->target = TARGET_SEG;
mov rax, QWORD PTR lr$[rsp]
mov BYTE PTR [rax+5], 4
; 327 : lr->target_datum = GetSegIdx( sym->segment );
mov rax,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/omffixup.asm:18 | movzx ecx, BYTE PTR [rcx+40]
mov BYTE PTR [rax], cl
; 333 : } else {
jmp SHORT $LN25@omf_fill_l
$LN24@omf_fill_l:
; 334 : lr->frame = FRAME_TARG;
mov rax, QWORD PTR lr$[rsp]
mov BYTE PTR [rax], 5
$LN25@omf_fill_l:
$LN12@omf_fill_l:
$LN8@omf_fill_l:
$LN6@omf_fill_l:
$LN3@omf_fill_l:
; 335 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/omffixup.asm:19 | ; 344 : }
; 345 :
; 346 : return( 1 );
mov eax, 1
$LN1@omf_fill_l:
; 347 : }
add rsp, 80 ; 00000050H
pop rdi
ret 0
omf_fill_logref ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omffixup.c
_TEXT SEGMENT
p$ = 32
target$ = 40
tv68 = 44
tv73 = 48
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/omffixup.asm:20 | ; 121 : uint_8 *p;
; 122 : uint_8 target;
; 123 :
; 124 : /**/myassert( lr != NULL );
cmp QWORD PTR lr$[rsp], 0
je SHORT $LN7@TranslateL
mov DWORD PTR tv68[rsp], 0
jmp SHORT $LN8@TranslateL
$LN7@TranslateL:
mov edx, 124 ; 0000007cH
lea rcx, OFFSET FLAT:$SG10671
call InternalError
mov DWORD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/omffixup.asm:21 | jmp SHORT $LN12@TranslateL
$LN11@TranslateL:
mov DWORD PTR tv79[rsp], 0
$LN12@TranslateL:
; 127 :
; 128 : /*
; 129 : * According to the discussion on p102 of the Intel OMF document, we
; 130 : * cannot just arbitrarily write fixups without a displacment if their
; 131 : * displacement field is... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/omffixup.asm:22 | ; 138 : /* write the "Fix Data" field, FfffTPtt:
; 139 : * F : 0 = frame method is defined in fff field ( F0-F5)
; 140 : * 1 = frame is defined by a thread ( won't occur here )
; 141 : * fff: frame method
; 142 : * T : 0 = target is defined by tt
; 143 : * 1 = target is de... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/omffixup.asm:23 | mov QWORD PTR p$[rsp], rax
; 151 : if( ( target & 0x04 ) == 0 ) {
movzx eax, BYTE PTR target$[rsp]
and eax, 4
test eax, eax
jne SHORT $LN3@TranslateL
; 152 : if( type == FIX_GEN_MS386 ) {
cmp DWORD PTR type$[rsp], 1
jne SHORT $LN4@TranslateL
; 153 : p = put32( p, (uint_32)lr->targe... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/omffixup.asm:24 | mov rax, QWORD PTR buf$[rsp]
mov rcx, QWORD PTR p$[rsp]
sub rcx, rax
mov rax, rcx
; 159 : }
add rsp, 64 ; 00000040H
pop rdi
ret 0
TranslateLogref ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omffixup.c
_TEXT SEGMENT
p$ = 48
method$ = 56
datum$ = 64
put... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/omffixup.asm:25 | movzx edx, WORD PTR datum$[rsp]
mov rcx, QWORD PTR p$[rsp]
call putIndex
; 104 : }
add rsp, 32 ; 00000020H
pop rdi
ret 0
putTargetDatum ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omffixup.c
_TEXT SEGMENT
tv65 = 32
p$ = 64
method$ = 72
datum$ = 80
putF... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/omffixup.asm:26 | cmp BYTE PTR tv65[rsp], 2
jbe SHORT $LN4@putFrameDa
jmp SHORT $LN2@putFrameDa
$LN4@putFrameDa:
; 82 : case FRAME_SEG:
; 83 : case FRAME_GRP:
; 84 : case FRAME_EXT:
; 85 : return( putIndex( p, datum ) );
movzx edx, WORD PTR datum$[rsp]
mov rcx, QWORD PTR p$[rsp]
call putIndex
jmp SHOR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/omffixup.asm:27 | ; 73 : {
mov DWORD PTR [rsp+16], edx
mov QWORD PTR [rsp+8], rcx
push rdi
; 74 : WriteU32( p, value );
mov rax, QWORD PTR p$[rsp]
mov ecx, DWORD PTR value$[rsp]
mov DWORD PTR [rax], ecx
; 75 : return( p + sizeof( uint_32 ) );
mov rax, QWORD PTR p$[rsp]
add rax, 4
; 76 : }
pop rdi
ret 0
p... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/omffixup.asm:28 | movzx ecx, WORD PTR value$[rsp]
mov WORD PTR [rax], cx
; 68 : return( p + sizeof( uint_16 ) );
mov rax, QWORD PTR p$[rsp]
add rax, 2
; 69 : }
pop rdi
ret 0
put16 ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omffixup.c
_TEXT SEGMENT
p$ = 16
index$ =... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Debug/omffixup.asm:29 | mov rax, QWORD PTR p$[rsp]
inc rax
mov QWORD PTR p$[rsp], rax
$LN2@putIndex:
; 59 : }
; 60 : *p++ = index;
mov rax, QWORD PTR p$[rsp]
movzx ecx, BYTE PTR index$[rsp]
mov BYTE PTR [rax], cl
mov rax, QWORD PTR p$[rsp]
inc rax
mov QWORD PTR p$[rsp], rax
; 61 : return( p );
mov rax, QWORD PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Debug/omffixup.asm:30 | $LN12:
mov DWORD PTR [rsp+32], r9d
mov DWORD PTR [rsp+24], r8d
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 160 ; 000000a0H
mov rdi, rsp
mov ecx, 40 ; 00000028H
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+176]
mov rax, QWORD PTR __security_cookie
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Debug/omffixup.asm:31 | movzx eax, WORD PTR [rax+42]
mov WORD PTR lr$[rsp+2], ax
; 202 :
; 203 : /* symbol is always a code label (near or far), internal or external */
; 204 : /* now set Target and Frame */
; 205 :
; 206 : if( sym->state == SYM_EXTERNAL ) {
mov rax, QWORD PTR sym$[rsp]
cmp DWORD PTR [rax+32], 2
jne $LN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Debug/omffixup.asm:32 | ; 212 :
; 213 : if( fixup->frame_type == FRAME_GRP && fixup->frame_datum == 0 ) {
mov rax, QWORD PTR fixup$[rsp]
movsx eax, BYTE PTR [rax+40]
cmp eax, 1
jne SHORT $LN4@OmfFixGenF
mov rax, QWORD PTR fixup$[rsp]
movzx eax, WORD PTR [rax+42]
test eax, eax
jne SHORT $LN4@OmfFixGenF
; 214 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,241 | 1,300 |
Terraspace/UASM:x64/Debug/omffixup.asm:33 | mov rax, QWORD PTR fixup$[rsp]
movzx eax, WORD PTR [rax+42]
mov rcx, QWORD PTR fixup$[rsp]
movsx ecx, BYTE PTR [rcx+40]
mov rdx, QWORD PTR tv94[rsp]
mov QWORD PTR [rsp+48], rdx
mov rdx, QWORD PTR sym$[rsp]
mov edx, DWORD PTR [rdx+32]
mov DWORD PTR [rsp+40], edx
mov rdx, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Debug/omffixup.asm:34 | mov rax, QWORD PTR sym$[rsp]
mov rcx, QWORD PTR [rax+24]
call GetSegIdx
mov WORD PTR lr$[rsp+6], ax
$LN3@OmfFixGenF:
; 224 : }
; 225 :
; 226 : if( fixup->frame_type != FRAME_NONE && fixup->frame_type != FRAME_SEG ) {
mov rax, QWORD PTR fixup$[rsp]
movsx eax, BYTE PTR [rax+40]
cmp eax, 6
je SHORT $LN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,321 | 1,380 |
Terraspace/UASM:x64/Debug/omffixup.asm:35 | lea rcx, QWORD PTR lr$[rsp]
call TranslateLogref
; 232 : }
mov rdi, rax
mov rcx, rsp
lea rdx, OFFSET FLAT:OmfFixGenFixModend$rtcFrameData
call _RTC_CheckStackVars
mov rax, rdi
mov rcx, QWORD PTR __$ArrayPad$[rsp]
xor rcx, rsp
call __security_check_cookie
add rsp, 160 ; 000000a0H
pop rdi
ret 0
OmfFixGe... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,361 | 1,420 |
Terraspace/UASM:x64/Debug/omffixup.asm:36 | ; 370 : {
$LN34:
mov DWORD PTR [rsp+32], r9d
mov QWORD PTR [rsp+24], r8
mov DWORD PTR [rsp+16], edx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 144 ; 00000090H
mov rdi, rsp
mov ecx, 36 ; 00000024H
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+160]
mov rax, QWORD PTR __securi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,401 | 1,460 |
Terraspace/UASM:x64/Debug/omffixup.asm:37 | ; 377 : /**/myassert( buf != NULL );
cmp QWORD PTR buf$[rsp], 0
je SHORT $LN19@OmfFixGenF
mov DWORD PTR tv73[rsp], 0
jmp SHORT $LN20@OmfFixGenF
$LN19@OmfFixGenF:
mov edx, 377 ; 00000179H
lea rcx, OFFSET FLAT:$SG10772
call InternalError
mov DWORD PTR tv73[rsp], eax
$LN20@OmfFixGenF:
; 378 : /**/my... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,441 | 1,500 |
Terraspace/UASM:x64/Debug/omffixup.asm:38 | mov rax, QWORD PTR fixup$[rsp]
mov eax, DWORD PTR [rax+24]
mov DWORD PTR tv81[rsp], eax
mov eax, DWORD PTR tv81[rsp]
dec eax
mov DWORD PTR tv81[rsp], eax
cmp DWORD PTR tv81[rsp], 10
ja $LN14@OmfFixGenF
movsxd rax, DWORD PTR tv81[rsp]
lea rcx, OFFSET FLAT:__ImageBase
mov eax, DWORD PTR $LN33@OmfFixGenF[rcx+rax... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,481 | 1,540 |
Terraspace/UASM:x64/Debug/omffixup.asm:39 | ; 394 : locat1 = ( fixup->loader_resolved ? LOC_MS_LINK_OFFSET << 2 : LOC_OFFSET << 2 );
mov rax, QWORD PTR fixup$[rsp]
movzx eax, BYTE PTR [rax+33]
and al, 1
movzx eax, al
test eax, eax
je SHORT $LN23@OmfFixGenF
mov DWORD PTR tv86[rsp], 20
jmp SHORT $LN24@OmfFixGenF
$LN23@OmfFixGenF:
mov DWORD PTR t... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,521 | 1,580 |
Terraspace/UASM:x64/Debug/omffixup.asm:40 | mov DWORD PTR tv92[rsp], 36 ; 00000024H
$LN26@OmfFixGenF:
movzx eax, BYTE PTR tv92[rsp]
mov BYTE PTR locat1$[rsp], al
; 401 : break;
jmp SHORT $LN2@OmfFixGenF
$LN10@OmfFixGenF:
; 402 : case FIX_HIBYTE:
; 403 : locat1 = ( LOC_OFFSET_HI << 2 );
mov BYTE PTR locat1$[rsp], 16
; 404 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,561 | 1,620 |
Terraspace/UASM:x64/Debug/omffixup.asm:41 | ; 411 : case FIX_PTR32:
; 412 : locat1 = ( LOC_MS_BASE_OFFSET_32 << 2 );
mov BYTE PTR locat1$[rsp], 44 ; 0000002cH
; 413 : break;
jmp SHORT $LN2@OmfFixGenF
$LN14@OmfFixGenF:
; 414 : default: /* shouldn't happen. Check for valid fixup has already happened */
; 415 : EmitErr( U... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,601 | 1,660 |
Terraspace/UASM:x64/Debug/omffixup.asm:42 | ; 419 : }
; 420 : locat1 |= self_relative ? 0x80 : 0xc0; /* bit 7: 1=is a fixup subrecord */
movzx eax, BYTE PTR self_relative$[rsp]
test eax, eax
je SHORT $LN29@OmfFixGenF
mov DWORD PTR tv139[rsp], 128 ; 00000080H
jmp SHORT $LN30@OmfFixGenF
$LN29@OmfFixGenF:
mov DWORD PTR tv139[rsp], 192 ; 000000c0H... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,641 | 1,700 |
Terraspace/UASM:x64/Debug/omffixup.asm:43 | mov DWORD PTR tv153[rsp], 0
jmp SHORT $LN32@OmfFixGenF
$LN31@OmfFixGenF:
mov edx, 426 ; 000001aaH
lea rcx, OFFSET FLAT:$SG10786
call InternalError
mov DWORD PTR tv153[rsp], eax
$LN32@OmfFixGenF:
; 427 :
; 428 : /* calculate the fixup's position in current LEDATA */
; 429 : data_rec_offset = fixup->l... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,681 | 1,740 |
Terraspace/UASM:x64/Debug/omffixup.asm:44 | ; 434 : return( 2 + TranslateLogref( &lr, buf+2, type ) );
mov rax, QWORD PTR buf$[rsp]
add rax, 2
mov r8d, DWORD PTR type$[rsp]
mov rdx, rax
lea rcx, QWORD PTR lr$[rsp]
call TranslateLogref
add eax, 2
$LN1@OmfFixGenF:
; 435 : }
mov rdi, rax
mov rcx, rsp
lea rdx, OFFSET FLAT:OmfFixGenFix$rtcFrameData... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omffixup.asm | 1,721 | 1,761 |
Terraspace/UASM:x64/Debug/omffixup.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10666 DB 'omffixup.c', 00H
ORG $+5
$SG10667 DB 'omffixup.c', 00H
ORG $+5
$SG10668 DB 'omffixup... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/omffixup.asm:2 | DB 'e_type/datum=%u/%u', 0aH, 00H
ORG $+4
$SG10732 DB 'omffixup.c', 00H
ORG $+1
$SG10733 DB 'NULL', 00H
ORG $+7
$SG10766 DB 'omffixup.c', 00H
ORG $+13
$SG10734 DB 'omf_fill_logref: sym->state is SYM_INTERNAL, sym->segmen'
DB 't=%s, fixup->frame/datum=%u/%u', 0aH, 00H
$SG10767 DB 'omffixup.c', 00H
ORG $+5
$SG10768... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/omffixup.asm:5 | ; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omffixup.c
_TEXT SEGMENT
sym$ = 32
tv69 = 40
tv73 = 48
tv191 = 56
tv202 = 64
tv214 = 72
fixup$ = 96
lr$ = 104
omf_fill_logref PROC
; 238 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 80 ; 000000... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/omffixup.asm:6 | mov DWORD PTR tv69[rsp], eax
jmp SHORT $LN29@omf_fill_l
$LN28@omf_fill_l:
mov DWORD PTR tv69[rsp], -1
$LN29@omf_fill_l:
cmp QWORD PTR sym$[rsp], 0
je SHORT $LN30@omf_fill_l
mov rax, QWORD PTR sym$[rsp]
mov rax, QWORD PTR [rax+8]
mov QWORD PTR tv73[rsp], rax
jmp SHORT $LN31@omf_fill_l
$LN30@omf_fill_l:
lea rax,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/omffixup.asm:7 | call DoDebugMsg
; 253 : if ( fixup->frame_type == FRAME_NONE ) /* v1.96: nothing to do without a frame */
mov rax, QWORD PTR fixup$[rsp]
movsx eax, BYTE PTR [rax+40]
cmp eax, 6
jne SHORT $LN4@omf_fill_l
; 254 : return( 0 );
xor eax, eax
jmp $LN1@omf_fill_l
$LN4@omf_fill_l:
; 255 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/omffixup.asm:8 | cmp DWORD PTR [rax+32], 0
jne SHORT $LN5@omf_fill_l
; 260 :
; 261 : DebugMsg(("omf_fill_logref: sym->state is SYM_UNDEFINED\n" ));
lea rcx, OFFSET FLAT:$SG10717
call DoDebugMsg
; 262 : EmitErr( SYMBOL_NOT_DEFINED, sym->name );
mov rax, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR [rax+8]
mov ecx,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/omffixup.asm:10 | ; 275 : lr->frame_datum = lr->target_datum;
mov rax, QWORD PTR lr$[rsp]
mov rcx, QWORD PTR lr$[rsp]
movzx ecx, WORD PTR [rcx+6]
mov WORD PTR [rax+2], cx
$LN10@omf_fill_l:
; 276 : }
jmp $LN8@omf_fill_l
$LN7@omf_fill_l:
; 277 :
; 278 : } else if( sym->state == SYM_SEG ) {
mov rax, Q... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/omffixup.asm:12 | jmp $LN12@omf_fill_l
$LN11@omf_fill_l:
; 292 :
; 293 : /* symbol is a label */
; 294 :
; 295 : lr->frame_datum = fixup->frame_datum;
mov rax, QWORD PTR lr$[rsp]
mov rcx, QWORD PTR fixup$[rsp]
movzx ecx, WORD PTR [rcx+42]
mov WORD PTR [rax+2], cx
; 296 : if( sym->state == SYM_EXTERNAL... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/omffixup.asm:13 | mov rcx, QWORD PTR sym$[rsp]
movzx ecx, WORD PTR [rcx+88]
mov WORD PTR [rax+6], cx
; 301 :
; 302 : if( fixup->frame_type == FRAME_GRP && fixup->frame_datum == 0 ) {
mov rax, QWORD PTR fixup$[rsp]
movsx eax, BYTE PTR [rax+40]
cmp eax, 1
jne SHORT $LN17@omf_fill_l
mov rax, QWORD PTR fixup$[rsp]
mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/omffixup.asm:14 | mov edx, 308 ; 00000134H
lea rcx, OFFSET FLAT:$SG10732
call InternalError
mov DWORD PTR tv191[rsp], eax
$LN33@omf_fill_l:
; 309 : DebugMsg1(("omf_fill_logref: sym->state is SYM_INTERNAL, sym->segment=%s, fixup->frame/datum=%u/%u\n",
mov rax, QWORD PTR sym$[rsp]
cmp QWORD PTR [rax+24], 0
je SHORT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/omffixup.asm:19 | ; 344 : }
; 345 :
; 346 : return( 1 );
mov eax, 1
$LN1@omf_fill_l:
; 347 : }
add rsp, 80 ; 00000050H
pop rdi
ret 0
omf_fill_logref ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omffixup.c
_TEXT SEGMENT
p$ = 32
target$ = 40
tv68 = 44
tv73 = 48
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/omffixup.asm:20 | ; 121 : uint_8 *p;
; 122 : uint_8 target;
; 123 :
; 124 : /**/myassert( lr != NULL );
cmp QWORD PTR lr$[rsp], 0
je SHORT $LN7@TranslateL
mov DWORD PTR tv68[rsp], 0
jmp SHORT $LN8@TranslateL
$LN7@TranslateL:
mov edx, 124 ; 0000007cH
lea rcx, OFFSET FLAT:$SG10666
call InternalError
mov DWORD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/omffixup.asm:31 | movzx eax, WORD PTR [rax+42]
mov WORD PTR lr$[rsp+2], ax
; 202 :
; 203 : /* symbol is always a code label (near or far), internal or external */
; 204 : /* now set Target and Frame */
; 205 :
; 206 : if( sym->state == SYM_EXTERNAL ) {
mov rax, QWORD PTR sym$[rsp]
cmp DWORD PTR [rax+32], 2
jne $LN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Debug/omffixup.asm:32 | ; 212 :
; 213 : if( fixup->frame_type == FRAME_GRP && fixup->frame_datum == 0 ) {
mov rax, QWORD PTR fixup$[rsp]
movsx eax, BYTE PTR [rax+40]
cmp eax, 1
jne SHORT $LN4@OmfFixGenF
mov rax, QWORD PTR fixup$[rsp]
movzx eax, WORD PTR [rax+42]
test eax, eax
jne SHORT $LN4@OmfFixGenF
; 214 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 1,241 | 1,300 |
Terraspace/UASM:x64/Debug/omffixup.asm:33 | mov rax, QWORD PTR fixup$[rsp]
movzx eax, WORD PTR [rax+42]
mov rcx, QWORD PTR fixup$[rsp]
movsx ecx, BYTE PTR [rcx+40]
mov rdx, QWORD PTR tv94[rsp]
mov QWORD PTR [rsp+48], rdx
mov rdx, QWORD PTR sym$[rsp]
mov edx, DWORD PTR [rdx+32]
mov DWORD PTR [rsp+40], edx
mov rdx, QWORD PTR sym$[rsp]
mov rdx, QWORD PTR ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Debug/omffixup.asm:36 | ; 370 : {
$LN34:
mov DWORD PTR [rsp+32], r9d
mov QWORD PTR [rsp+24], r8
mov DWORD PTR [rsp+16], edx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 144 ; 00000090H
mov rdi, rsp
mov ecx, 36 ; 00000024H
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+160]
mov rax, QWORD PTR __securi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 1,401 | 1,460 |
Terraspace/UASM:x64/Debug/omffixup.asm:37 | ; 377 : /**/myassert( buf != NULL );
cmp QWORD PTR buf$[rsp], 0
je SHORT $LN19@OmfFixGenF
mov DWORD PTR tv73[rsp], 0
jmp SHORT $LN20@OmfFixGenF
$LN19@OmfFixGenF:
mov edx, 377 ; 00000179H
lea rcx, OFFSET FLAT:$SG10767
call InternalError
mov DWORD PTR tv73[rsp], eax
$LN20@OmfFixGenF:
; 378 : /**/my... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 1,441 | 1,500 |
Terraspace/UASM:x64/Debug/omffixup.asm:42 | ; 419 : }
; 420 : locat1 |= self_relative ? 0x80 : 0xc0; /* bit 7: 1=is a fixup subrecord */
movzx eax, BYTE PTR self_relative$[rsp]
test eax, eax
je SHORT $LN29@OmfFixGenF
mov DWORD PTR tv139[rsp], 128 ; 00000080H
jmp SHORT $LN30@OmfFixGenF
$LN29@OmfFixGenF:
mov DWORD PTR tv139[rsp], 192 ; 000000c0H... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 1,641 | 1,700 |
Terraspace/UASM:x64/Debug/omffixup.asm:43 | mov DWORD PTR tv153[rsp], 0
jmp SHORT $LN32@OmfFixGenF
$LN31@OmfFixGenF:
mov edx, 426 ; 000001aaH
lea rcx, OFFSET FLAT:$SG10781
call InternalError
mov DWORD PTR tv153[rsp], eax
$LN32@OmfFixGenF:
; 427 :
; 428 : /* calculate the fixup's position in current LEDATA */
; 429 : data_rec_offset = fixup->l... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omffixup.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omffixup.asm | 1,681 | 1,740 |
Terraspace/UASM:x64/Debug/omfint.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
myFuncs DQ FLAT:writeUnexp
DQ FLAT:writeMisc
DQ FLAT:writeMis... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/omfint.asm | 1 | 60 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.