id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Terraspace/UASM:x64/Release/fastpass.asm:16 | mov rbx, QWORD PTR LineStoreCurr
mov rdi, QWORD PTR [rsp+56]
add rbx, 16
cmp BYTE PTR [rbx], 0
je SHORT $LN28@StoreLine
$LL4@StoreLine:
movsx ecx, BYTE PTR [rbx]
call isspace
test eax, eax
je SHORT $LN28@StoreLine
inc rbx
cmp BYTE PTR [rbx], 0
jne SHORT $LL4@StoreLine
$LN28@StoreLine:
; 103 : if (*p ==... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 601 | 660 |
Terraspace/UASM:x64/Release/fastpass.asm:17 | mov BYTE PTR [rbx], 32 ; 00000020H
$LN11@StoreLine:
; 105 :
; 106 : #ifdef DEBUG_OUT
; 107 : if ( Options.print_linestore )
; 108 : printf("%s\n", LineStoreCurr->line );
; 109 : #endif
; 110 : if ( LineStore.head )
cmp QWORD PTR LineStore, 0
mov rbx, QWORD PTR [rsp+48]
je SHORT $LN14@StoreL... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 641 | 700 |
Terraspace/UASM:x64/Release/fastpass.asm:18 | pop r14
ret 0
StoreLine ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\fastpass.c
_TEXT SEGMENT
FastpassInit PROC
; 223 : {
xorps xmm0, xmm0
; 224 : StoreState = FALSE;
mov BYTE PTR StoreState, 0
movdqu XMMWORD PTR LineStore, xmm0
; 225 : modstate.init ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 681 | 714 |
Terraspace/UASM:x64/Release/fastpass.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM LineStoreCurr:QWORD
COMM StoreState:BYTE
COMM UseSavedState:BYTE
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SE... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/fastpass.asm | 1 | 60 |
Terraspace/UASM:x64/Release/fastpass.asm:16 | mov rbx, QWORD PTR LineStoreCurr
mov rdi, QWORD PTR [rsp+56]
add rbx, 16
cmp BYTE PTR [rbx], 0
je SHORT $LN28@StoreLine
$LL4@StoreLine:
movsx ecx, BYTE PTR [rbx]
call isspace
test eax, eax
je SHORT $LN28@StoreLine
inc rbx
cmp BYTE PTR [rbx], 0
jne SHORT $LL4@StoreLine
$LN28@StoreLine:
; 103 : if (*p ==... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/fastpass.asm | 601 | 660 |
Terraspace/UASM:x64/Release/fastpass.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM LineStoreCurr:QWORD
COMM StoreState:BYTE
COMM UseSavedState:BYTE
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SE... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 28b09fcf7ca2f77034c045fe6612c4a02ec747a9 | github | assembler | https://github.com/Terraspace/UASM/blob/28b09fcf7ca2f77034c045fe6612c4a02ec747a9/x64/Release/fastpass.asm | 1 | 60 |
Terraspace/UASM:x64/Release/fastpass.asm:16 | mov rbx, QWORD PTR LineStoreCurr
mov rdi, QWORD PTR [rsp+56]
add rbx, 16
cmp BYTE PTR [rbx], 0
je SHORT $LN28@StoreLine
$LL4@StoreLine:
movsx ecx, BYTE PTR [rbx]
call isspace
test eax, eax
je SHORT $LN28@StoreLine
inc rbx
cmp BYTE PTR [rbx], 0
jne SHORT $LL4@StoreLine
$LN28@StoreLine:
; 103 : if (*p ==... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 28b09fcf7ca2f77034c045fe6612c4a02ec747a9 | github | assembler | https://github.com/Terraspace/UASM/blob/28b09fcf7ca2f77034c045fe6612c4a02ec747a9/x64/Release/fastpass.asm | 601 | 660 |
Terraspace/UASM:x64/Release/fastpass.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM LineStoreCurr:QWORD
COMM StoreState:BYTE
COMM UseSavedState:BYTE
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SE... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/fastpass.asm | 1 | 60 |
Terraspace/UASM:x64/Release/fastpass.asm:16 | mov rbx, QWORD PTR LineStoreCurr
mov rdi, QWORD PTR [rsp+56]
add rbx, 16
cmp BYTE PTR [rbx], 0
je SHORT $LN28@StoreLine
$LL4@StoreLine:
movsx ecx, BYTE PTR [rbx]
call isspace
test eax, eax
je SHORT $LN28@StoreLine
inc rbx
cmp BYTE PTR [rbx], 0
jne SHORT $LL4@StoreLine
$LN28@StoreLine:
; 103 : if (*p ==... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/fastpass.asm | 601 | 660 |
Terraspace/UASM:x64/Release/fastpass.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM LineStoreCurr:QWORD
COMM StoreState:BYTE
COMM UseSavedState:BYTE
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SE... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/fastpass.asm | 1 | 60 |
Terraspace/UASM:x64/Release/fastpass.asm:16 | mov rbx, QWORD PTR LineStoreCurr
mov rdi, QWORD PTR [rsp+56]
add rbx, 16
cmp BYTE PTR [rbx], 0
je SHORT $LN28@StoreLine
$LL4@StoreLine:
movsx ecx, BYTE PTR [rbx]
call isspace
test eax, eax
je SHORT $LN28@StoreLine
inc rbx
cmp BYTE PTR [rbx], 0
jne SHORT $LL4@StoreLine
$LN28@StoreLine:
; 103 : if (*p ==... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/fastpass.asm | 601 | 660 |
Terraspace/UASM:x64/Release/fastpass.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM LineStoreCurr:QWORD
COMM StoreState:BYTE
COMM UseSavedState:BYTE
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SE... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fastpass.asm | 1 | 60 |
Terraspace/UASM:x64/Release/fastpass.asm:16 | mov rbx, QWORD PTR LineStoreCurr
mov rdi, QWORD PTR [rsp+56]
add rbx, 16
cmp BYTE PTR [rbx], 0
je SHORT $LN28@StoreLine
$LL4@StoreLine:
movsx ecx, BYTE PTR [rbx]
call isspace
test eax, eax
je SHORT $LN28@StoreLine
inc rbx
cmp BYTE PTR [rbx], 0
jne SHORT $LL4@StoreLine
$LN28@StoreLine:
; 103 : if (*p ==... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fastpass.asm | 601 | 660 |
Terraspace/UASM:x64/Release/fastpass.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM LineStoreCurr:QWORD
COMM StoreState:BYTE
COMM UseSavedState:BYTE
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10796 DB 'OU... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 1 | 60 |
Terraspace/UASM:x64/Release/fastpass.asm:2 | LineStore DB 010H DUP (?)
_BSS ENDS
pdata SEGMENT
$pdata$StoreLine DD imagerel $LN31
DD imagerel $LN31+45
DD imagerel $unwind$StoreLine
$pdata$0$StoreLine DD imagerel $LN31+45
DD imagerel $LN31+50
DD imagerel $chain$0$StoreLine
$pdata$1$StoreLine DD imagerel $LN31+50
DD imagerel $LN31+326
DD imagerel $chain$1$Sto... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 41 | 100 |
Terraspace/UASM:x64/Release/fastpass.asm:3 | DD 0e00c3210H
$chain$0$StoreLine DD 020521H
DD 063405H
DD imagerel $LN31
DD imagerel $LN31+45
DD imagerel $unwind$StoreLine
$chain$1$StoreLine DD 020521H
DD 077405H
DD imagerel $LN31+45
DD imagerel $LN31+50
DD imagerel $chain$0$StoreLine
$chain$2$StoreLine DD 021H
DD imagerel $LN31+45
DD imagerel $LN31+50
DD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 81 | 140 |
Terraspace/UASM:x64/Release/fastpass.asm:4 | xor eax, eax
mov BYTE PTR StoreState, 1
mov QWORD PTR modstate+16, rax
; 57 :
; 58 : memcpy( &modstate.modinfo, (uint_8 *)&ModuleInfo + sizeof( struct module_vars ), sizeof( modstate.modinfo ) );
lea rdx, OFFSET FLAT:modstate+24
mov QWORD PTR modstate+8, rax
mov ecx, 3
lea rax, OFFSET FLAT:ModuleInfo+32... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 121 | 180 |
Terraspace/UASM:x64/Release/fastpass.asm:5 | movups XMMWORD PTR [rdx+16], xmm1
movups xmm1, XMMWORD PTR [rax+48]
movups XMMWORD PTR [rdx+32], xmm0
movups XMMWORD PTR [rdx+48], xmm1
mov QWORD PTR [rdx+64], rcx
; 59 :
; 60 : SegmentSaveState();
call SegmentSaveState
; 61 : AssumeSaveState();
call AssumeSaveState
; 63 :
; 64 : DebugM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 161 | 220 |
Terraspace/UASM:x64/Release/fastpass.asm:6 | ; 144 : DebugMsg1(( "SaveVariableState(%s)=%d\n", sym->name, sym->value ));
; 145 : sym->issaved = TRUE; /* don't try to save this symbol (anymore) */
or BYTE PTR [rcx+41], 16
mov rbx, rcx
; 146 : p = LclAlloc( sizeof( struct equ_item ) );
mov ecx, 32 ; 00000020H
call LclAlloc
; 147 : p-... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 201 | 260 |
Terraspace/UASM:x64/Release/fastpass.asm:7 | ; 153 : if ( modstate.Equ.tail ) {
mov rcx, QWORD PTR modstate+16
test rcx, rcx
je SHORT $LN2@SaveVariab
; 154 : modstate.Equ.tail->next = p;
mov QWORD PTR [rcx], rax
; 155 : modstate.Equ.tail = p;
; 156 : } else {
; 157 : modstate.Equ.head = modstate.Equ.tail = p;
mov QWO... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 241 | 300 |
Terraspace/UASM:x64/Release/fastpass.asm:8 | SaveVariableState ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\fastpass.c
_TEXT SEGMENT
RestoreState PROC
; 164 : {
$LN14:
sub rsp, 40 ; 00000028H
; 165 : DebugMsg1(("RestoreState enter\n"));
; 166 : if ( modstate.init ) {
cmp BYTE PTR modstate, 0
j... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 281 | 340 |
Terraspace/UASM:x64/Release/fastpass.asm:9 | mov eax, DWORD PTR [rdx+20]
mov DWORD PTR [rcx+56], eax
; 175 : curr->sym->mem_type = curr->mem_type; /* v2.07: added */
mov rcx, QWORD PTR [rdx+8]
mov eax, DWORD PTR [rdx+24]
mov DWORD PTR [rcx+36], eax
; 176 : curr->sym->isdefined = curr->isdefined;
mov rcx, QWORD PTR [rdx+... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 321 | 380 |
Terraspace/UASM:x64/Release/fastpass.asm:10 | movups xmm0, XMMWORD PTR [rax-96]
movups XMMWORD PTR [rdx-112], xmm1
movups xmm1, XMMWORD PTR [rax-80]
movups XMMWORD PTR [rdx-96], xmm0
movups xmm0, XMMWORD PTR [rax-64]
movups XMMWORD PTR [rdx-80], xmm1
movups xmm1, XMMWORD PTR [rax-48]
movups XMMWORD PTR [rdx-64], xmm0
movups xmm0, XMMWORD PTR [rax-32]
movu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 361 | 420 |
Terraspace/UASM:x64/Release/fastpass.asm:11 | ; 191 : struct line_item *endl = LclAlloc( sizeof( struct line_item ) + 3 );
; 192 : endl->next = NULL;
; 193 : endl->srcfile = 0;
; 194 : endl->lineno = GetLineNumber();
; 195 : endl->list_pos = 0;
; 196 : strcpy( endl->line, "END");
; 197 : LineStore.head... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 401 | 460 |
Terraspace/UASM:x64/Release/fastpass.asm:12 | lst_position$ = 64
StoreLine PROC
; 69 : {
$LN31:
mov QWORD PTR [rsp+24], rbp
mov QWORD PTR [rsp+32], rsi
push r14
sub rsp, 32 ; 00000020H
; 70 : int i,j;
; 71 : char *p;
; 72 :
; 73 : #ifdef DEBUG_OUT
; 74 : if ( Options.nofastpass )
; 75 : return;
; 76 : #endif
; 77 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 441 | 500 |
Terraspace/UASM:x64/Release/fastpass.asm:13 | ; 82 : i = strlen( srcline );
or rdi, -1
mov rbx, rdi
$LL25@StoreLine:
inc rbx
cmp BYTE PTR [rsi+rbx], 0
jne SHORT $LL25@StoreLine
; 83 : j = ( ( ( flags & 1 ) && ModuleInfo.CurrComment ) ? strlen( ModuleInfo.CurrComment ) : 0 );
test r14b, 1
je SHORT $LN17@StoreLine
mov rax, QWORD PTR ModuleInfo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 481 | 540 |
Terraspace/UASM:x64/Release/fastpass.asm:14 | mov rdx, QWORD PTR LineStoreCurr
mov ecx, DWORD PTR [rdx+8]
xor ecx, eax
and ecx, 1048575 ; 000fffffH
xor DWORD PTR [rdx+8], ecx
; 87 : if ( MacroLevel ) {
cmp BYTE PTR MacroLevel, 0
je SHORT $LN7@StoreLine
; 88 : LineStoreCurr->srcfile = 0xfff;
mov rax, QWORD PTR LineStoreCurr
or DWORD P... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 521 | 580 |
Terraspace/UASM:x64/Release/fastpass.asm:15 | ; 94 : memcpy( LineStoreCurr->line, srcline, i );
mov rdx, rsi
cmovne ecx, ebp
mov DWORD PTR [rax+12], ecx
mov rcx, QWORD PTR LineStoreCurr
add rcx, 16
test edi, edi
je SHORT $LN9@StoreLine
movsxd rbx, ebx
mov r8, rbx
call memcpy
; 95 : memcpy( LineStoreCurr->line + i, ModuleInfo.CurrCom... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 561 | 620 |
Terraspace/UASM:x64/Release/fastpass.asm:16 | mov rdi, QWORD PTR [rsp+56]
add rbx, 16
cmp BYTE PTR [rbx], 0
je SHORT $LN28@StoreLine
$LL4@StoreLine:
movsx ecx, BYTE PTR [rbx]
call isspace
test eax, eax
je SHORT $LN28@StoreLine
inc rbx
cmp BYTE PTR [rbx], 0
jne SHORT $LL4@StoreLine
$LN28@StoreLine:
; 103 : if (*p == '%' && ( _memicmp( p+1, "OUT", 3 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 601 | 660 |
Terraspace/UASM:x64/Release/fastpass.asm:17 | $LN11@StoreLine:
; 105 :
; 106 : #ifdef DEBUG_OUT
; 107 : if ( Options.print_linestore )
; 108 : printf("%s\n", LineStoreCurr->line );
; 109 : #endif
; 110 : if ( LineStore.head )
cmp QWORD PTR LineStore, 0
mov rbx, QWORD PTR [rsp+48]
je SHORT $LN14@StoreLine
; 111 : LineStore.tail-... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 641 | 700 |
Terraspace/UASM:x64/Release/fastpass.asm:18 | ret 0
StoreLine ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\fastpass.c
_TEXT SEGMENT
FastpassInit PROC
; 223 : {
xorps xmm0, xmm0
; 224 : StoreState = FALSE;
mov BYTE PTR StoreState, 0
movdqu XMMWORD PTR LineStore, xmm0
; 225 : modstate.init = FALSE;
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fastpass.asm | 681 | 713 |
Terraspace/UASM:x64/Release/fastpass.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM LineStoreCurr:QWORD
COMM StoreState:BYTE
COMM UseSavedState:BYTE
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10794 DB 'OUT', 00H
_DATA E... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 1 | 60 |
Terraspace/UASM:x64/Release/fastpass.asm:2 | _BSS ENDS
pdata SEGMENT
$pdata$StoreLine DD imagerel $LN31
DD imagerel $LN31+45
DD imagerel $unwind$StoreLine
$pdata$0$StoreLine DD imagerel $LN31+45
DD imagerel $LN31+50
DD imagerel $chain$0$StoreLine
$pdata$1$StoreLine DD imagerel $LN31+50
DD imagerel $LN31+326
DD imagerel $chain$1$StoreLine
$pdata$2$StoreLine ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 41 | 100 |
Terraspace/UASM:x64/Release/fastpass.asm:3 | $chain$0$StoreLine DD 020521H
DD 063405H
DD imagerel $LN31
DD imagerel $LN31+45
DD imagerel $unwind$StoreLine
$chain$1$StoreLine DD 020521H
DD 077405H
DD imagerel $LN31+45
DD imagerel $LN31+50
DD imagerel $chain$0$StoreLine
$chain$2$StoreLine DD 021H
DD imagerel $LN31+45
DD imagerel $LN31+50
DD imagerel $cha... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 81 | 140 |
Terraspace/UASM:x64/Release/fastpass.asm:4 | mov BYTE PTR StoreState, 1
mov QWORD PTR modstate+16, rax
; 57 :
; 58 : memcpy( &modstate.modinfo, (uint_8 *)&ModuleInfo + sizeof( struct module_vars ), sizeof( modstate.modinfo ) );
lea rdx, OFFSET FLAT:modstate+24
mov QWORD PTR modstate+8, rax
mov ecx, 3
lea rax, OFFSET FLAT:ModuleInfo+320
mov BYTE PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 121 | 180 |
Terraspace/UASM:x64/Release/fastpass.asm:5 | movups xmm1, XMMWORD PTR [rax+48]
movups XMMWORD PTR [rdx+32], xmm0
movups XMMWORD PTR [rdx+48], xmm1
mov QWORD PTR [rdx+64], rcx
; 59 :
; 60 : SegmentSaveState();
call SegmentSaveState
; 61 : AssumeSaveState();
call AssumeSaveState
; 63 :
; 64 : DebugMsg(( "SaveState exit\n" ));
; 65 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 161 | 220 |
Terraspace/UASM:x64/Release/fastpass.asm:6 | ; 145 : sym->issaved = TRUE; /* don't try to save this symbol (anymore) */
or BYTE PTR [rcx+41], 16
mov rbx, rcx
; 146 : p = LclAlloc( sizeof( struct equ_item ) );
mov ecx, 32 ; 00000020H
call LclAlloc
; 147 : p->next = NULL;
mov QWORD PTR [rax], 0
; 148 : p->sym = sym;
mov QWORD PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 201 | 260 |
Terraspace/UASM:x64/Release/fastpass.asm:7 | ; 153 : if ( modstate.Equ.tail ) {
mov rcx, QWORD PTR modstate+16
test rcx, rcx
je SHORT $LN2@SaveVariab
; 154 : modstate.Equ.tail->next = p;
mov QWORD PTR [rcx], rax
; 155 : modstate.Equ.tail = p;
; 156 : } else {
; 157 : modstate.Equ.head = modstate.Equ.tail = p;
mov QWO... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 241 | 300 |
Terraspace/UASM:x64/Release/fastpass.asm:8 | _TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\fastpass.c
_TEXT SEGMENT
RestoreState PROC
; 164 : {
$LN14:
sub rsp, 40 ; 00000028H
; 165 : DebugMsg1(("RestoreState enter\n"));
; 166 : if ( modstate.init ) {
cmp BYTE PTR modstate, 0
je $LN12@RestoreSta
; 1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 281 | 340 |
Terraspace/UASM:x64/Release/fastpass.asm:9 | mov DWORD PTR [rcx+56], eax
; 175 : curr->sym->mem_type = curr->mem_type; /* v2.07: added */
mov rcx, QWORD PTR [rdx+8]
mov eax, DWORD PTR [rdx+24]
mov DWORD PTR [rcx+36], eax
; 176 : curr->sym->isdefined = curr->isdefined;
mov rcx, QWORD PTR [rdx+8]
movzx eax, BYTE PTR [rdx+... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 321 | 380 |
Terraspace/UASM:x64/Release/fastpass.asm:10 | movups XMMWORD PTR [rdx-112], xmm1
movups xmm1, XMMWORD PTR [rax-80]
movups XMMWORD PTR [rdx-96], xmm0
movups xmm0, XMMWORD PTR [rax-64]
movups XMMWORD PTR [rdx-80], xmm1
movups xmm1, XMMWORD PTR [rax-48]
movups XMMWORD PTR [rdx-64], xmm0
movups xmm0, XMMWORD PTR [rax-32]
movups XMMWORD PTR [rdx-48], xmm1
movu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 361 | 420 |
Terraspace/UASM:x64/Release/fastpass.asm:11 | ; 192 : endl->next = NULL;
; 193 : endl->srcfile = 0;
; 194 : endl->lineno = GetLineNumber();
; 195 : endl->list_pos = 0;
; 196 : strcpy( endl->line, "END");
; 197 : LineStore.head = endl;
; 198 : DebugMsg(("RestoreState: LineStore.head was NULL !!!\n" ));
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 401 | 460 |
Terraspace/UASM:x64/Release/fastpass.asm:12 | StoreLine PROC
; 69 : {
$LN31:
mov QWORD PTR [rsp+24], rbp
mov QWORD PTR [rsp+32], rsi
push r14
sub rsp, 32 ; 00000020H
; 70 : int i,j;
; 71 : char *p;
; 72 :
; 73 : #ifdef DEBUG_OUT
; 74 : if ( Options.nofastpass )
; 75 : return;
; 76 : #endif
; 77 : if ( ModuleInfo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 441 | 500 |
Terraspace/UASM:x64/Release/fastpass.asm:13 | or rdi, -1
mov rbx, rdi
$LL25@StoreLine:
inc rbx
cmp BYTE PTR [rsi+rbx], 0
jne SHORT $LL25@StoreLine
; 83 : j = ( ( ( flags & 1 ) && ModuleInfo.CurrComment ) ? strlen( ModuleInfo.CurrComment ) : 0 );
test r14b, 1
je SHORT $LN17@StoreLine
mov rax, QWORD PTR ModuleInfo+472
test rax, rax
je SHORT $LN17@St... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 481 | 540 |
Terraspace/UASM:x64/Release/fastpass.asm:14 | mov ecx, DWORD PTR [rdx+8]
xor ecx, eax
and ecx, 1048575 ; 000fffffH
xor DWORD PTR [rdx+8], ecx
; 87 : if ( MacroLevel ) {
cmp BYTE PTR MacroLevel, 0
je SHORT $LN7@StoreLine
; 88 : LineStoreCurr->srcfile = 0xfff;
mov rax, QWORD PTR LineStoreCurr
or DWORD PTR [rax+8], -1048576 ; fff00000H
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 521 | 580 |
Terraspace/UASM:x64/Release/fastpass.asm:15 | mov rdx, rsi
cmovne ecx, ebp
mov DWORD PTR [rax+12], ecx
mov rcx, QWORD PTR LineStoreCurr
add rcx, 16
test edi, edi
je SHORT $LN9@StoreLine
movsxd rbx, ebx
mov r8, rbx
call memcpy
; 95 : memcpy( LineStoreCurr->line + i, ModuleInfo.CurrComment, j + 1 );
mov rcx, QWORD PTR LineStoreCurr
lea eax, DW... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 561 | 620 |
Terraspace/UASM:x64/Release/fastpass.asm:16 | add rbx, 16
cmp BYTE PTR [rbx], 0
je SHORT $LN28@StoreLine
$LL4@StoreLine:
movsx ecx, BYTE PTR [rbx]
call isspace
test eax, eax
je SHORT $LN28@StoreLine
inc rbx
cmp BYTE PTR [rbx], 0
jne SHORT $LL4@StoreLine
$LN28@StoreLine:
; 103 : if (*p == '%' && ( _memicmp( p+1, "OUT", 3 ) || is_valid_id_char( *(p+4)... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 601 | 660 |
Terraspace/UASM:x64/Release/fastpass.asm:17 | ; 105 :
; 106 : #ifdef DEBUG_OUT
; 107 : if ( Options.print_linestore )
; 108 : printf("%s\n", LineStoreCurr->line );
; 109 : #endif
; 110 : if ( LineStore.head )
cmp QWORD PTR LineStore, 0
mov rbx, QWORD PTR [rsp+48]
je SHORT $LN14@StoreLine
; 111 : LineStore.tail->next = LineStoreC... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 641 | 700 |
Terraspace/UASM:x64/Release/fastpass.asm:18 | StoreLine ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\fastpass.c
_TEXT SEGMENT
FastpassInit PROC
; 223 : {
xorps xmm0, xmm0
; 224 : StoreState = FALSE;
mov BYTE PTR StoreState, 0
movdqu XMMWORD PTR LineStore, xmm0
; 225 : modstate.init = FALSE;
mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/fastpass.asm | 681 | 712 |
Terraspace/UASM:x64/Release/fastpass.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM LineStoreCurr:QWORD
COMM StoreState:BYTE
COMM UseSavedState:BYTE
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10789 DB 'OUT', 00H
_DATA E... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fastpass.asm | 1 | 60 |
Terraspace/UASM:x64/Release/fastpass.asm:15 | mov rdx, rsi
cmovne ecx, ebp
mov DWORD PTR [rax+12], ecx
mov rcx, QWORD PTR LineStoreCurr
add rcx, 16
test edi, edi
je SHORT $LN9@StoreLine
movsxd rbx, ebx
mov r8, rbx
call memcpy
; 95 : memcpy( LineStoreCurr->line + i, ModuleInfo.CurrComment, j + 1 );
mov rcx, QWORD PTR LineStoreCurr
lea eax, DW... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fastpass.asm | 561 | 620 |
Terraspace/UASM:x64/Release/fastpass.asm:16 | add rbx, 16
cmp BYTE PTR [rbx], 0
je SHORT $LN28@StoreLine
$LL4@StoreLine:
movsx ecx, BYTE PTR [rbx]
call isspace
test eax, eax
je SHORT $LN28@StoreLine
inc rbx
cmp BYTE PTR [rbx], 0
jne SHORT $LL4@StoreLine
$LN28@StoreLine:
; 103 : if (*p == '%' && ( _memicmp( p+1, "OUT", 3 ) || is_valid_id_char( *(p+4)... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fastpass.asm | 601 | 660 |
Terraspace/UASM:x64/Release/fixup.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
COMM Frame_Type:BYTE
COMM Frame_Datum:WORD
_DATA ENDS
PUBLIC CreateFixup
PUBLIC SetFixupF... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 1 | 60 |
Terraspace/UASM:x64/Release/fixup.asm:2 | $unwind$SetFixupFrame DD 020e01H
DD 0300a320eH
xdata ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\fixup.c
_TEXT SEGMENT
fixup$ = 8
seg$ = 16
pdata$ = 24
store_fixup PROC
; 197 : //struct fixup *fixup;
; 198 :
; 199 : //fixup = CodeInfo->InsFixup[index];
; 200 :
; ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 41 | 100 |
Terraspace/UASM:x64/Release/fixup.asm:3 | ; 218 : * codegen() and data_item().
; 219 : */
; 220 : if ( ( 1 << fixup->type ) & ModuleInfo.fmtopt->invalid_fixup_type ) {
; 221 : EmitErr( UNSUPPORTED_FIXUP_TYPE,
; 222 : ModuleInfo.fmtopt->formatname,
; 223 : fixup->sym ? fixup->sym->name : szNull );
; 224 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 81 | 140 |
Terraspace/UASM:x64/Release/fixup.asm:4 | cmp eax, 3
jne SHORT $LN12@store_fixu
; 238 : /* v2.07: inline addend for ELF32 only.
; 239 : * Also, in 64-bit, pdata may be a int_64 pointer (FIX_OFF64)!
; 240 : */
; 241 : #if AMD64_SUPPORT
; 242 : if ( ModuleInfo.defOfssize == USE64 ) {
cmp BYTE PTR ModuleI... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 121 | 180 |
Terraspace/UASM:x64/Release/fixup.asm:5 | jne SHORT $LN10@store_fixu
; 258 : *pdata = -2;
mov DWORD PTR [r8], -2
jmp SHORT $LN12@store_fixu
$LN10@store_fixu:
; 259 : else if ( fixup->type == FIX_RELOFF8 )
cmp eax, 1
jne SHORT $LN12@store_fixu
; 260 : *pdata = -1;
mov DWORD PTR [r8], -1
$LN12@store_fixu:... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 161 | 220 |
Terraspace/UASM:x64/Release/fixup.asm:6 | je SHORT $LN13@store_fixu
test BYTE PTR [rax+40], 64 ; 00000040H
je SHORT $LN13@store_fixu
; 280 : /* add symbol's offset to the fixup location and fixup's offset */
; 281 : *pdata += fixup->sym->offset;
mov eax, DWORD PTR [rax+16]
add DWORD PTR [r8], eax
; 282 : fixup->o... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 201 | 260 |
Terraspace/UASM:x64/Release/fixup.asm:7 | ; 297 : seg->e.seginfo->FixupList.tail = fixup;
mov rax, QWORD PTR [rdx+96]
mov QWORD PTR [rax+48], r9
; 298 : }
; 299 : return;
; 300 : }
ret 0
$LN14@store_fixu:
; 295 : } else {
; 296 : seg->e.seginfo->FixupList.tail->nextrlc = fixup;
mov rax, QWORD PTR [rax+48]
mov QWORD P... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 241 | 300 |
Terraspace/UASM:x64/Release/fixup.asm:8 | ; 123 : if ( Parse_Pass == PASS_1 ) {
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN3@FreeFixup
; 124 : dir = fixup->def_seg;
mov rax, QWORD PTR [rcx+48]
; 125 : if ( dir ) {
test rax, rax
je SHORT $LN3@FreeFixup
; 126 : if ( fixup == dir->e.seginfo->FixupList.head ) {
mov r8... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 281 | 340 |
Terraspace/UASM:x64/Release/fixup.asm:9 | test rdx, rdx
je SHORT $LN3@FreeFixup
npad 3
$LL4@FreeFixup:
; 130 : if ( fixup2->nextrlc == fixup ) {
mov rax, QWORD PTR [rdx+8]
cmp rax, rcx
je SHORT $LN12@FreeFixup
; 128 : } else {
; 129 : for ( fixup2 = dir->e.seginfo->FixupList.head; fixup2; fixup2 = fixu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 321 | 380 |
Terraspace/UASM:x64/Release/fixup.asm:10 | ; 135 : }
; 136 : }
; 137 : }
; 138 : LclFree( fixup );
; 139 : }
ret 0
FreeFixup ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\fixup.c
_TEXT SEGMENT
sym$ = 48
ign_grp$ = 56
SetFixupFrame PROC
; 150 : {
$LN15:
; 151 : struct dsy... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 361 | 420 |
Terraspace/UASM:x64/Release/fixup.asm:11 | jne $LN8@SetFixupFr
; 170 : break;
; 171 : case SYM_GRP:
; 172 : Frame_Type = FRAME_GRP;
mov BYTE PTR Frame_Type, 1
; 173 : Frame_Datum = ((struct dsym *)sym)->e.grpinfo->grp_idx;
mov rax, QWORD PTR [rcx+96]
movzx ecx, WORD PTR [rax+8]
mov WORD PTR Frame_Datum, cx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 401 | 460 |
Terraspace/UASM:x64/Release/fixup.asm:12 | ; 169 : Frame_Datum = GetSegIdx( sym->segment );
mov rcx, QWORD PTR [rcx+24]
call GetSegIdx
mov WORD PTR Frame_Datum, ax
; 174 : break;
; 175 : #ifdef DEBUG_OUT
; 176 : case SYM_UNDEFINED:
; 177 : case SYM_STACK:
; 178 : break;
; 179 : default:
; 1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 441 | 500 |
Terraspace/UASM:x64/Release/fixup.asm:13 | ; 159 : Frame_Type = FRAME_GRP;
mov BYTE PTR Frame_Type, 1
; 160 : Frame_Datum = grp->e.grpinfo->grp_idx;
mov rax, QWORD PTR [rax+96]
movzx ecx, WORD PTR [rax+8]
mov WORD PTR Frame_Datum, cx
; 174 : break;
; 175 : #ifdef DEBUG_OUT
; 176 : case SYM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 481 | 540 |
Terraspace/UASM:x64/Release/fixup.asm:14 | $LN8@SetFixupFr:
; 174 : break;
; 175 : #ifdef DEBUG_OUT
; 176 : case SYM_UNDEFINED:
; 177 : case SYM_STACK:
; 178 : break;
; 179 : default:
; 180 : DebugMsg(("SetFixupFrame(%s): unexpected state=%u\n", sym->name, sym->state ));
; 181 : /*... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 521 | 580 |
Terraspace/UASM:x64/Release/fixup.asm:15 | ; 62 : #ifdef DEBUG_OUT
; 63 : static uint_32 cnt = 0;
; 64 : #endif
; 65 : struct fixup *fixup;
; 66 :
; 67 : fixup = LclAlloc( sizeof( struct fixup ) );
mov ecx, 64 ; 00000040H
mov ebp, edx
call LclAlloc
; 68 : #ifdef TRMEM
; 69 : fixup->marker = 'XF';
; 70 : DebugMs... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 561 | 620 |
Terraspace/UASM:x64/Release/fixup.asm:16 | mov QWORD PTR [rdi+88], rax
$LN3@CreateFixu:
; 83 : }
; 84 : /* v2.03: in pass one, create a linked list of
; 85 : * fixup locations for a segment. This is to improve
; 86 : * backpatching, because it allows to adjust fixup locations
; 87 : * after a distance has ch... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 601 | 660 |
Terraspace/UASM:x64/Release/fixup.asm:17 | mov DWORD PTR [rbx+20], eax
; 101 : fixup->offset = 0;
xor eax, eax
mov DWORD PTR [rbx+16], eax
; 102 : fixup->type = type;
; 103 : fixup->option = option;
; 104 : fixup->flags = 0;
mov WORD PTR [rbx+32], ax
mov DWORD PTR [rbx+24], ebp
; 105 : fixup->frame_type = Frame_Type; /* thi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/fixup.asm | 641 | 682 |
Terraspace/UASM:x64/Release/fixup.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM Frame_Type:BYTE
COMM Frame_Datum:WORD
_DATA ENDS
PUBLIC CreateFixup
PUBLIC SetFixupFrame
PUBLIC FreeFixup... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fixup.asm | 1 | 60 |
Terraspace/UASM:x64/Release/fixup.asm:2 | DD 0300a320eH
xdata ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\fixup.c
_TEXT SEGMENT
fixup$ = 8
seg$ = 16
pdata$ = 24
store_fixup PROC
; 197 : //struct fixup *fixup;
; 198 :
; 199 : //fixup = CodeInfo->InsFixup[index];
; 200 :
; 201 : //CodeInfo->data[index]... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fixup.asm | 41 | 100 |
Terraspace/UASM:x64/Release/fixup.asm:3 | ; 219 : */
; 220 : if ( ( 1 << fixup->type ) & ModuleInfo.fmtopt->invalid_fixup_type ) {
; 221 : EmitErr( UNSUPPORTED_FIXUP_TYPE,
; 222 : ModuleInfo.fmtopt->formatname,
; 223 : fixup->sym ? fixup->sym->name : szNull );
; 224 : return( ERROR );
; 225 : }
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fixup.asm | 81 | 140 |
Terraspace/UASM:x64/Release/fixup.asm:4 | cmp eax, 3
jne SHORT $LN12@store_fixu
; 238 : /* v2.07: inline addend for ELF32 only.
; 239 : * Also, in 64-bit, pdata may be a int_64 pointer (FIX_OFF64)!
; 240 : */
; 241 : #if AMD64_SUPPORT
; 242 : if ( ModuleInfo.defOfssize == USE64 ) {
cmp BYTE PTR ModuleI... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fixup.asm | 121 | 180 |
Terraspace/UASM:x64/Release/fixup.asm:5 | ; 258 : *pdata = -2;
mov DWORD PTR [r8], -2
jmp SHORT $LN12@store_fixu
$LN10@store_fixu:
; 259 : else if ( fixup->type == FIX_RELOFF8 )
cmp eax, 1
jne SHORT $LN12@store_fixu
; 260 : *pdata = -1;
mov DWORD PTR [r8], -1
$LN12@store_fixu:
; 261 : #endif
; 262 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fixup.asm | 161 | 220 |
Terraspace/UASM:x64/Release/fixup.asm:6 | test BYTE PTR [rax+40], 64 ; 00000040H
je SHORT $LN13@store_fixu
; 280 : /* add symbol's offset to the fixup location and fixup's offset */
; 281 : *pdata += fixup->sym->offset;
mov eax, DWORD PTR [rax+16]
add DWORD PTR [r8], eax
; 282 : fixup->offset += fixup->sym... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fixup.asm | 201 | 260 |
Terraspace/UASM:x64/Release/fixup.asm:8 | cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN3@FreeFixup
; 124 : dir = fixup->def_seg;
mov rax, QWORD PTR [rcx+48]
; 125 : if ( dir ) {
test rax, rax
je SHORT $LN3@FreeFixup
; 126 : if ( fixup == dir->e.seginfo->FixupList.head ) {
mov r8, QWORD PTR [rax+96]
mov rdx, QWORD PTR [r8+... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fixup.asm | 281 | 340 |
Terraspace/UASM:x64/Release/fixup.asm:9 | test rdx, rdx
je SHORT $LN3@FreeFixup
npad 3
$LL4@FreeFixup:
; 130 : if ( fixup2->nextrlc == fixup ) {
mov rax, QWORD PTR [rdx+8]
cmp rax, rcx
je SHORT $LN12@FreeFixup
; 128 : } else {
; 129 : for ( fixup2 = dir->e.seginfo->FixupList.head; fixup2; fixup2 = fixu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fixup.asm | 321 | 380 |
Terraspace/UASM:x64/Release/fixup.asm:10 | ; 136 : }
; 137 : }
; 138 : LclFree( fixup );
; 139 : }
ret 0
FreeFixup ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\fixup.c
_TEXT SEGMENT
sym$ = 48
ign_grp$ = 56
SetFixupFrame PROC
; 150 : {
$LN15:
; 151 : struct dsym *grp;
; 152 :
; 153 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fixup.asm | 361 | 420 |
Terraspace/UASM:x64/Release/fixup.asm:11 | ; 170 : break;
; 171 : case SYM_GRP:
; 172 : Frame_Type = FRAME_GRP;
mov BYTE PTR Frame_Type, 1
; 173 : Frame_Datum = ((struct dsym *)sym)->e.grpinfo->grp_idx;
mov rax, QWORD PTR [rcx+96]
movzx ecx, WORD PTR [rax+8]
mov WORD PTR Frame_Datum, cx
; 174 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fixup.asm | 401 | 460 |
Terraspace/UASM:x64/Release/fixup.asm:12 | ; 169 : Frame_Datum = GetSegIdx( sym->segment );
mov rcx, QWORD PTR [rcx+24]
call GetSegIdx
mov WORD PTR Frame_Datum, ax
; 174 : break;
; 175 : #ifdef DEBUG_OUT
; 176 : case SYM_UNDEFINED:
; 177 : case SYM_STACK:
; 178 : break;
; 179 : default:
; 1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fixup.asm | 441 | 500 |
Terraspace/UASM:x64/Release/fixup.asm:13 | ; 159 : Frame_Type = FRAME_GRP;
mov BYTE PTR Frame_Type, 1
; 160 : Frame_Datum = grp->e.grpinfo->grp_idx;
mov rax, QWORD PTR [rax+96]
movzx ecx, WORD PTR [rax+8]
mov WORD PTR Frame_Datum, cx
; 174 : break;
; 175 : #ifdef DEBUG_OUT
; 176 : case SYM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fixup.asm | 481 | 540 |
Terraspace/UASM:x64/Release/fixup.asm:14 | ; 174 : break;
; 175 : #ifdef DEBUG_OUT
; 176 : case SYM_UNDEFINED:
; 177 : case SYM_STACK:
; 178 : break;
; 179 : default:
; 180 : DebugMsg(("SetFixupFrame(%s): unexpected state=%u\n", sym->name, sym->state ));
; 181 : /**/myassert( 0 );
;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fixup.asm | 521 | 580 |
Terraspace/UASM:x64/Release/fixup.asm:16 | mov QWORD PTR [rdi+88], rax
$LN3@CreateFixu:
; 83 : }
; 84 : /* v2.03: in pass one, create a linked list of
; 85 : * fixup locations for a segment. This is to improve
; 86 : * backpatching, because it allows to adjust fixup locations
; 87 : * after a distance has ch... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fixup.asm | 601 | 660 |
Terraspace/UASM:x64/Release/fixup.asm:17 | ; 101 : fixup->offset = 0;
xor eax, eax
mov DWORD PTR [rbx+16], eax
; 102 : fixup->type = type;
; 103 : fixup->option = option;
; 104 : fixup->flags = 0;
mov WORD PTR [rbx+32], ax
mov DWORD PTR [rbx+24], ebp
; 105 : fixup->frame_type = Frame_Type; /* this is just a guess */
; 106 :... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/fixup.asm | 641 | 681 |
Terraspace/UASM:x64/Release/fixup.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM Frame_Type:BYTE
COMM Frame_Datum:WORD
_DATA ENDS
PUBLIC CreateFixup
PUBLIC SetFixupFrame
PUBLIC FreeFixup
PUBLIC store_f... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fixup.asm | 1 | 60 |
Terraspace/UASM:x64/Release/fixup.asm:2 | xdata ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\fixup.c
_TEXT SEGMENT
fixup$ = 8
seg$ = 16
pdata$ = 24
store_fixup PROC
; 197 : //struct fixup *fixup;
; 198 :
; 199 : //fixup = CodeInfo->InsFixup[index];
; 200 :
; 201 : //CodeInfo->data[index] = CodeInfo->d... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fixup.asm | 41 | 100 |
Terraspace/UASM:x64/Release/fixup.asm:3 | ; 220 : if ( ( 1 << fixup->type ) & ModuleInfo.fmtopt->invalid_fixup_type ) {
; 221 : EmitErr( UNSUPPORTED_FIXUP_TYPE,
; 222 : ModuleInfo.fmtopt->formatname,
; 223 : fixup->sym ? fixup->sym->name : szNull );
; 224 : return( ERROR );
; 225 : }
; 226 : #endif
;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fixup.asm | 81 | 140 |
Terraspace/UASM:x64/Release/fixup.asm:4 | jne SHORT $LN12@store_fixu
; 238 : /* v2.07: inline addend for ELF32 only.
; 239 : * Also, in 64-bit, pdata may be a int_64 pointer (FIX_OFF64)!
; 240 : */
; 241 : #if AMD64_SUPPORT
; 242 : if ( ModuleInfo.defOfssize == USE64 ) {
cmp BYTE PTR ModuleInfo+405, 2
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fixup.asm | 121 | 180 |
Terraspace/UASM:x64/Release/fixup.asm:5 | ; 258 : *pdata = -2;
mov DWORD PTR [r8], -2
jmp SHORT $LN12@store_fixu
$LN10@store_fixu:
; 259 : else if ( fixup->type == FIX_RELOFF8 )
cmp eax, 1
jne SHORT $LN12@store_fixu
; 260 : *pdata = -1;
mov DWORD PTR [r8], -1
$LN12@store_fixu:
; 261 : #endif
; 262 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fixup.asm | 161 | 220 |
Terraspace/UASM:x64/Release/fixup.asm:6 | je SHORT $LN13@store_fixu
; 280 : /* add symbol's offset to the fixup location and fixup's offset */
; 281 : *pdata += fixup->sym->offset;
mov eax, DWORD PTR [rax+16]
add DWORD PTR [r8], eax
; 282 : fixup->offset += fixup->sym->offset;
mov rcx, QWORD PTR [rcx+56]
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fixup.asm | 201 | 260 |
Terraspace/UASM:x64/Release/fixup.asm:7 | mov rax, QWORD PTR [rdx+96]
mov QWORD PTR [rax+48], r9
; 298 : }
; 299 : return;
; 300 : }
ret 0
$LN14@store_fixu:
; 295 : } else {
; 296 : seg->e.seginfo->FixupList.tail->nextrlc = fixup;
mov rax, QWORD PTR [rax+48]
mov QWORD PTR [rax+8], r9
; 297 : seg->e.seginfo->FixupList.... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fixup.asm | 241 | 300 |
Terraspace/UASM:x64/Release/fixup.asm:8 | cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN3@FreeFixup
; 124 : dir = fixup->def_seg;
mov rax, QWORD PTR [rcx+48]
; 125 : if ( dir ) {
test rax, rax
je SHORT $LN3@FreeFixup
; 126 : if ( fixup == dir->e.seginfo->FixupList.head ) {
mov r8, QWORD PTR [rax+96]
mov rdx, QWORD PTR [r8+... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fixup.asm | 281 | 340 |
Terraspace/UASM:x64/Release/fixup.asm:9 | je SHORT $LN3@FreeFixup
npad 3
$LL4@FreeFixup:
; 130 : if ( fixup2->nextrlc == fixup ) {
mov rax, QWORD PTR [rdx+8]
cmp rax, rcx
je SHORT $LN12@FreeFixup
; 128 : } else {
; 129 : for ( fixup2 = dir->e.seginfo->FixupList.head; fixup2; fixup2 = fixup2->nextrlc ) {... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fixup.asm | 321 | 380 |
Terraspace/UASM:x64/Release/fixup.asm:10 | ; 137 : }
; 138 : LclFree( fixup );
; 139 : }
ret 0
FreeFixup ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\fixup.c
_TEXT SEGMENT
sym$ = 48
ign_grp$ = 56
SetFixupFrame PROC
; 150 : {
$LN15:
; 151 : struct dsym *grp;
; 152 :
; 153 : if( sym ) {
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fixup.asm | 361 | 420 |
Terraspace/UASM:x64/Release/fixup.asm:11 | ; 170 : break;
; 171 : case SYM_GRP:
; 172 : Frame_Type = FRAME_GRP;
mov BYTE PTR Frame_Type, 1
; 173 : Frame_Datum = ((struct dsym *)sym)->e.grpinfo->grp_idx;
mov rax, QWORD PTR [rcx+96]
movzx ecx, WORD PTR [rax+8]
mov WORD PTR Frame_Datum, cx
; 174 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fixup.asm | 401 | 460 |
Terraspace/UASM:x64/Release/fixup.asm:12 | mov rcx, QWORD PTR [rcx+24]
call GetSegIdx
mov WORD PTR Frame_Datum, ax
; 174 : break;
; 175 : #ifdef DEBUG_OUT
; 176 : case SYM_UNDEFINED:
; 177 : case SYM_STACK:
; 178 : break;
; 179 : default:
; 180 : DebugMsg(("SetFixupFrame(%s): unexpected state... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fixup.asm | 441 | 500 |
Terraspace/UASM:x64/Release/fixup.asm:13 | mov BYTE PTR Frame_Type, 1
; 160 : Frame_Datum = grp->e.grpinfo->grp_idx;
mov rax, QWORD PTR [rax+96]
movzx ecx, WORD PTR [rax+8]
mov WORD PTR Frame_Datum, cx
; 174 : break;
; 175 : #ifdef DEBUG_OUT
; 176 : case SYM_UNDEFINED:
; 177 : case SYM_STACK:
; 178 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fixup.asm | 481 | 540 |
Terraspace/UASM:x64/Release/fixup.asm:15 | ; 63 : static uint_32 cnt = 0;
; 64 : #endif
; 65 : struct fixup *fixup;
; 66 :
; 67 : fixup = LclAlloc( sizeof( struct fixup ) );
mov ecx, 64 ; 00000040H
mov ebp, edx
call LclAlloc
; 68 : #ifdef TRMEM
; 69 : fixup->marker = 'XF';
; 70 : DebugMsg1(("CreateFixup, pass=%u:... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fixup.asm | 561 | 620 |
Terraspace/UASM:x64/Release/fixup.asm:16 | $LN3@CreateFixu:
; 83 : }
; 84 : /* v2.03: in pass one, create a linked list of
; 85 : * fixup locations for a segment. This is to improve
; 86 : * backpatching, because it allows to adjust fixup locations
; 87 : * after a distance has changed from short to near
; 8... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fixup.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/fixup.asm | 601 | 660 |
Terraspace/UASM:x64/Release/fpfixup.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10626 DB 'F__RQQ', 00H
_DATA ENDS
PUBLIC AddFloatingPointEmul... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fpfixup.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fpfixup.asm | 1 | 60 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.