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/omfint.asm:2 | DB 02H
DB 00H
DB 04H
DB 04H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
DB 02H
DB 01H
DB 08H
DB 01H
DB 00H
DB 01H
DB 00H
DB 00H
DB 0aH
DB 0bH
DB 01H
DB 02H
DB 01H
CONST ENDS
_DATA SEGMENT
$SG7712 DB 'omfint.c', 00H
ORG $+7
$SG7754 DB 'PutMem: buffer overflow error [length=%u, free=%u]', 0aH... | 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 | 41 | 100 |
Terraspace/UASM:x64/Debug/omfint.asm:3 | ORG $+7
$SG7805 DB 'omfint.c', 00H
ORG $+7
$SG7815 DB 'omfint.c', 00H
ORG $+7
$SG7825 DB 'omfint.c', 00H
ORG $+7
$SG7842 DB 'omfint.c', 00H
ORG $+7
$SG7850 DB 'omfint.c', 00H
ORG $+7
$SG7858 DB 'omfint.c', 00H
ORG $+7
$SG7869 DB 'omfint.c', 00H
ORG $+7
$SG7876 DB 'unexpected OMF record type 0x%02X', 0aH, 00H
OR... | 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 | 81 | 140 |
Terraspace/UASM:x64/Debug/omfint.asm:4 | $pdata$safeWrite DD imagerel safeWrite
DD imagerel safeWrite+65
DD imagerel $unwind$safeWrite
$pdata$WEndRec DD imagerel WEndRec
DD imagerel WEndRec+306
DD imagerel $unwind$WEndRec
$pdata$PutIndex DD imagerel PutIndex
DD imagerel PutIndex+77
DD imagerel $unwind$PutIndex
$pdata$PutMem DD imagerel PutMem
DD imager... | 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 | 121 | 180 |
Terraspace/UASM:x64/Debug/omfint.asm:5 | DD imagerel writeLinnum+154
DD imagerel $unwind$writeLinnum
$pdata$writeComdat DD imagerel writeComdat
DD imagerel writeComdat+323
DD imagerel $unwind$writeComdat
$pdata$writeLinsym DD imagerel writeLinsym
DD imagerel writeLinsym+170
DD imagerel $unwind$writeLinsym
$pdata$writeUnexp DD imagerel writeUnexp
DD imag... | 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 | 161 | 220 |
Terraspace/UASM:x64/Debug/omfint.asm:6 | DD 0420eH
$unwind$writePubdef DD 010e01H
DD 0620eH
$unwind$writeLinnum DD 010e01H
DD 0620eH
$unwind$writeComdat DD 010e01H
DD 0620eH
$unwind$writeLinsym DD 010e01H
DD 0620eH
$unwind$writeUnexp DD 010e01H
DD 0420eH
xdata ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEX... | 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 | 201 | 260 |
Terraspace/UASM:x64/Debug/omfint.asm:7 | ; 459 : /* this is never reached, since Fatal() won't return */
; 460 : return( 0 );
xor eax, eax
; 461 : }
add rsp, 40 ; 00000028H
ret 0
writeUnexp ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
tv70 = 32
out$ = 64
objr$ = 72
wri... | 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 | 241 | 300 |
Terraspace/UASM:x64/Debug/omfint.asm:8 | ; 443 :
; 444 : WBegRec( out, CMD_LINSYM + objr->is_32 );
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+17]
add eax, 196 ; 000000c4H
movzx edx, al
mov rcx, QWORD PTR out$[rsp]
call WBegRec
; 445 : PutByte( out, objr->d.linsym.flags );
mov rax, QWORD PTR objr$[rsp]
movzx edx, BYTE PTR [... | 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 | 281 | 340 |
Terraspace/UASM:x64/Debug/omfint.asm:9 | xor eax, eax
; 450 : }
add rsp, 56 ; 00000038H
ret 0
writeLinsym ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
tv70 = 32
out$ = 64
objr$ = 72
writeComdat PROC
; 412 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
sub rsp, 56... | 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 | 321 | 380 |
Terraspace/UASM:x64/Debug/omfint.asm:10 | ; 416 : WBegRec( out, objr->command + objr->is_32 );
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+16]
mov rcx, QWORD PTR objr$[rsp]
movzx ecx, BYTE PTR [rcx+17]
add eax, ecx
movzx edx, al
mov rcx, QWORD PTR out$[rsp]
call WBegRec
; 417 : PutByte( out, objr->d.comdat.flags );
mov rax, QWO... | 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 | 361 | 420 |
Terraspace/UASM:x64/Debug/omfint.asm:11 | mov rax, QWORD PTR objr$[rsp]
mov edx, DWORD PTR [rax+24]
mov rcx, QWORD PTR out$[rsp]
call PutDword
; 422 : } else {
jmp SHORT $LN3@writeComda
$LN2@writeComda:
; 423 : PutWord( out, objr->d.comdat.offset );
mov rax, QWORD PTR objr$[rsp]
movzx edx, WORD PTR [rax+24]
mov rcx, QWORD PTR out$[rsp]... | 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 | 401 | 460 |
Terraspace/UASM:x64/Debug/omfint.asm:12 | mov rcx, QWORD PTR out$[rsp]
call PutBase
$LN4@writeComda:
; 428 : }
; 429 : PutIndex( out, objr->d.comdat.public_lname_idx );
mov rax, QWORD PTR objr$[rsp]
movzx edx, WORD PTR [rax+36]
mov rcx, QWORD PTR out$[rsp]
call PutIndex
; 430 : /* record is already in ms omf format */
; 431 : PutMem... | 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 | 441 | 500 |
Terraspace/UASM:x64/Debug/omfint.asm:13 | tv70 = 32
out$ = 64
objr$ = 72
writeLinnum PROC
; 393 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
sub rsp, 56 ; 00000038H
; 394 :
; 395 : /**/myassert( objr->command == CMD_LINNUM );
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+16]
cmp eax, 148 ; 00000094H
jne SHORT $LN... | 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 | 481 | 540 |
Terraspace/UASM:x64/Debug/omfint.asm:14 | add rax, 20
mov rdx, rax
mov rcx, QWORD PTR out$[rsp]
call PutBase
; 399 : PutMem( out, objr->data, objr->length );
mov rax, QWORD PTR objr$[rsp]
mov r8d, DWORD PTR [rax]
mov rax, QWORD PTR objr$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR out$[rsp]
call PutMem
; 400 : WEndRec( out );
mov... | 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 | 521 | 580 |
Terraspace/UASM:x64/Debug/omfint.asm:15 | mov QWORD PTR [rsp+8], rcx
sub rsp, 56 ; 00000038H
; 382 : /**/myassert( objr->command == CMD_PUBDEF || objr->command == CMD_LPUBDEF );
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+16]
cmp eax, 144 ; 00000090H
je SHORT $LN3@writePubde
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax... | 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 | 561 | 620 |
Terraspace/UASM:x64/Debug/omfint.asm:16 | call PutBase
; 386 : PutMem( out, objr->data, objr->length );
mov rax, QWORD PTR objr$[rsp]
mov r8d, DWORD PTR [rax]
mov rax, QWORD PTR objr$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR out$[rsp]
call PutMem
; 387 : WEndRec( out );
mov rcx, QWORD PTR out$[rsp]
call WEndRec
; 388 : ret... | 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 | 601 | 660 |
Terraspace/UASM:x64/Debug/omfint.asm:17 | mov rax, QWORD PTR base$[rsp]
movzx edx, WORD PTR [rax]
mov rcx, QWORD PTR out$[rsp]
call PutIndex
; 373 : PutIndex( out, base->seg_idx );
mov rax, QWORD PTR base$[rsp]
movzx edx, WORD PTR [rax+2]
mov rcx, QWORD PTR out$[rsp]
call PutIndex
; 374 : if( base->grp_idx == 0 && base->seg_idx == 0 ) {
m... | 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 | 641 | 700 |
Terraspace/UASM:x64/Debug/omfint.asm:18 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
mtype$ = 32
tv77 = 36
tv85 = 40
tv70 = 44
is32$ = 48
out$ = 80
objr$ = 88
writeModend PROC
; 336 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
sub rsp, 72 ; 00000048H
; 337 : int is32;
; 338 : //uint_8 is_log;
; 3... | 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 | 681 | 740 |
Terraspace/UASM:x64/Debug/omfint.asm:19 | movzx eax, BYTE PTR [rax+17]
test eax, eax
je SHORT $LN7@writeModen
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+21]
test eax, eax
je SHORT $LN7@writeModen
mov DWORD PTR tv77[rsp], 1
jmp SHORT $LN8@writeModen
$LN7@writeModen:
mov DWORD PTR tv77[rsp], 0
$LN8@writeModen:
mov eax, DWORD PTR tv77[rsp]
... | 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 | 721 | 780 |
Terraspace/UASM:x64/Debug/omfint.asm:20 | mov DWORD PTR tv85[rsp], 0
$LN10@writeModen:
movzx eax, BYTE PTR tv85[rsp]
mov BYTE PTR mtype$[rsp], al
; 354 : if( objr->d.modend.start_addrs ) {
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+21]
test eax, eax
je SHORT $LN2@writeModen
; 355 : //is_log = objr->d.modend.is_logical;
; 356 ... | 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 | 761 | 820 |
Terraspace/UASM:x64/Debug/omfint.asm:21 | ; 361 : PutByte( out, mtype );
movzx edx, BYTE PTR mtype$[rsp]
mov rcx, QWORD PTR out$[rsp]
call PutByte
$LN3@writeModen:
; 362 :
; 363 : WEndRec( out );
mov rcx, QWORD PTR out$[rsp]
call WEndRec
; 364 : return( 0 );
xor eax, eax
; 365 : }
add rsp, 72 ; 00000048H
ret 0
writeModen... | 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 | 801 | 860 |
Terraspace/UASM:x64/Debug/omfint.asm:22 | movzx eax, BYTE PTR [rax+16]
cmp eax, 128 ; 00000080H
jne SHORT $LN3@writeThead
mov DWORD PTR tv70[rsp], 0
jmp SHORT $LN4@writeThead
$LN3@writeThead:
mov edx, 329 ; 00000149H
lea rcx, OFFSET FLAT:$SG7815
call InternalError
mov DWORD PTR tv70[rsp], eax
$LN4@writeThead:
; 330 :
; 331 : return( writeM... | 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 | 841 | 900 |
Terraspace/UASM:x64/Debug/omfint.asm:23 | mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+16]
cmp eax, 160 ; 000000a0H
je SHORT $LN5@writeLedat
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+16]
cmp eax, 162 ; 000000a2H
je SHORT $LN5@writeLedat
mov edx, 312 ; 00000138H
lea rcx, OFFSET FLAT:$SG7805
call InternalError
mov DWORD... | 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 | 881 | 940 |
Terraspace/UASM:x64/Debug/omfint.asm:24 | movzx eax, BYTE PTR [rax+17]
test eax, eax
je SHORT $LN2@writeLedat
; 317 : PutDword( out, objr->d.ledata.offset );
mov rax, QWORD PTR objr$[rsp]
mov edx, DWORD PTR [rax+24]
mov rcx, QWORD PTR out$[rsp]
call PutDword
; 318 : } else {
jmp SHORT $LN3@writeLedat
$LN2@writeLedat:
; 319 : ... | 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 | 921 | 980 |
Terraspace/UASM:x64/Debug/omfint.asm:25 | xor eax, eax
; 324 : }
add rsp, 56 ; 00000038H
ret 0
writeLedata ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
acbp$ = 32
align$ = 33
is32$ = 36
tv70 = 40
out$ = 64
objr$ = 72
writeSegdef PROC
; 215 : {
mov QWORD PTR [rsp+16], rdx
mov Q... | 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 | 961 | 1,020 |
Terraspace/UASM:x64/Debug/omfint.asm:26 | lea rcx, OFFSET FLAT:$SG7793
call InternalError
mov DWORD PTR tv70[rsp], eax
$LN8@writeSegde:
; 221 :
; 222 : //is32 = objr->d.segdef.use_32;
; 223 : is32 = objr->is_32;
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+17]
mov DWORD PTR is32$[rsp], eax
; 224 : WBegRec( out, CMD_SEGDEF + is... | 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,001 | 1,060 |
Terraspace/UASM:x64/Debug/omfint.asm:27 | mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+23]
mov BYTE PTR align$[rsp], al
; 234 : #if 1
; 235 : acbp |= align << 5;
movzx eax, BYTE PTR align$[rsp]
shl eax, 5
movzx ecx, BYTE PTR acbp$[rsp]
or ecx, eax
mov eax, ecx
mov BYTE PTR acbp$[rsp], al
; 236 : #else
; 237 : switch( align ) {
... | 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,041 | 1,100 |
Terraspace/UASM:x64/Debug/omfint.asm:28 | ; 255 : acbp |= 0x02;
movzx eax, BYTE PTR acbp$[rsp]
or eax, 2
mov BYTE PTR acbp$[rsp], al
$LN2@writeSegde:
; 256 : }
; 257 :
; 258 : /* the segdef record is small (16bit: size 6 - 9 ):
; 259 : * - byte acbp
; 260 : * - word (32bit:dword) length
; 261 : * - index seg name
; 26... | 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,081 | 1,140 |
Terraspace/UASM:x64/Debug/omfint.asm:29 | ; 274 : PutByte( out, objr->d.segdef.abs.offset );
mov rax, QWORD PTR objr$[rsp]
movzx edx, BYTE PTR [rax+32]
mov rcx, QWORD PTR out$[rsp]
call PutByte
$LN3@writeSegde:
; 275 : }
; 276 : if( is32 ) {
cmp DWORD PTR is32$[rsp], 0
je SHORT $LN4@writeSegde
; 277 : PutDword( out, objr->... | 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,121 | 1,180 |
Terraspace/UASM:x64/Debug/omfint.asm:30 | movzx edx, WORD PTR [rax+40]
mov rcx, QWORD PTR out$[rsp]
call PutIndex
; 283 : PutIndex( out, objr->d.segdef.class_lname_idx );
mov rax, QWORD PTR objr$[rsp]
movzx edx, WORD PTR [rax+42]
mov rcx, QWORD PTR out$[rsp]
call PutIndex
; 284 : PutIndex( out, objr->d.segdef.ovl_lname_idx );
mov rax, QWOR... | 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,161 | 1,220 |
Terraspace/UASM:x64/Debug/omfint.asm:31 | out$ = 64
objr$ = 72
writeComent PROC
; 202 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
sub rsp, 56 ; 00000038H
; 203 : /**/myassert( objr->data != NULL );
mov rax, QWORD PTR objr$[rsp]
cmp QWORD PTR [rax+8], 0
je SHORT $LN3@writeComen
mov DWORD PTR tv69[rsp], 0
jmp SHORT $LN4@write... | 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,201 | 1,260 |
Terraspace/UASM:x64/Debug/omfint.asm:32 | mov rax, QWORD PTR objr$[rsp]
movzx edx, BYTE PTR [rax+21]
mov rcx, QWORD PTR out$[rsp]
call PutByte
; 208 : PutMem( out, objr->data, objr->length );
mov rax, QWORD PTR objr$[rsp]
mov r8d, DWORD PTR [rax]
mov rax, QWORD PTR objr$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR out$[rsp]
call PutMem
... | 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,241 | 1,300 |
Terraspace/UASM:x64/Debug/omfint.asm:33 | mov QWORD PTR [rsp+8], rcx
sub rsp, 56 ; 00000038H
; 192 : /**/myassert( objr->data != NULL );
mov rax, QWORD PTR objr$[rsp]
cmp QWORD PTR [rax+8], 0
je SHORT $LN3@writeMisc3
mov DWORD PTR tv69[rsp], 0
jmp SHORT $LN4@writeMisc3
$LN3@writeMisc3:
mov edx, 192 ; 000000c0H
lea rcx, OFFSET FLAT:$SG7773... | 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,281 | 1,340 |
Terraspace/UASM:x64/Debug/omfint.asm:34 | mov rcx, QWORD PTR out$[rsp]
call WEndRec
; 197 : return( 0 );
xor eax, eax
; 198 : }
add rsp, 56 ; 00000038H
ret 0
writeMisc32 ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
tv69 = 32
out$ = 64
objr$ = 72
writeMisc PROC
; 178 : {
... | 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,321 | 1,380 |
Terraspace/UASM:x64/Debug/omfint.asm:35 | ; 180 :
; 181 : WBegRec( out, objr->command );
mov rax, QWORD PTR objr$[rsp]
movzx edx, BYTE PTR [rax+16]
mov rcx, QWORD PTR out$[rsp]
call WBegRec
; 182 : PutMem( out, objr->data, objr->length );
mov rax, QWORD PTR objr$[rsp]
mov r8d, DWORD PTR [rax]
mov rax, QWORD PTR objr$[rsp]
mov rdx, QWORD P... | 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,361 | 1,420 |
Terraspace/UASM:x64/Debug/omfint.asm:36 | ; 158 : {
mov DWORD PTR [rsp+24], r8d
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
sub rsp, 40 ; 00000028H
; 159 : /* ensure that there is enough free space in the buffer,
; 160 : * and also 1 byte left for the chksum!
; 161 : */
; 162 : if( length <= OBJ_BUFFER_SIZE - 1 - out... | 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,401 | 1,460 |
Terraspace/UASM:x64/Debug/omfint.asm:37 | jmp SHORT $LN3@PutMem
$LN2@PutMem:
; 166 : /* this "shouldn't happen". */
; 167 : DebugMsg(("PutMem: buffer overflow error [length=%u, free=%u]\n", length, OBJ_BUFFER_SIZE - 1 - out->in_buf ));
mov rax, QWORD PTR out$[rsp]
mov ecx, 4079 ; 00000fefH
sub ecx, DWORD PTR [rax]
mov eax, ecx
mov r... | 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,441 | 1,500 |
Terraspace/UASM:x64/Debug/omfint.asm:38 | mov DWORD PTR [rsp+16], edx
mov QWORD PTR [rsp+8], rcx
; 150 : WriteU32( out->buffer + out->in_buf, value );
mov rax, QWORD PTR out$[rsp]
mov eax, DWORD PTR [rax]
mov rcx, QWORD PTR out$[rsp]
mov edx, DWORD PTR value$[rsp]
mov DWORD PTR [rcx+rax+7], edx
; 151 : out->in_buf += sizeof( uint_32 );
mov... | 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,481 | 1,540 |
Terraspace/UASM:x64/Debug/omfint.asm:39 | mov rcx, QWORD PTR out$[rsp]
movzx edx, WORD PTR value$[rsp]
mov WORD PTR [rcx+rax+7], dx
; 142 : out->in_buf += sizeof( uint_16 );
mov rax, QWORD PTR out$[rsp]
mov eax, DWORD PTR [rax]
add rax, 2
mov rcx, QWORD PTR out$[rsp]
mov DWORD PTR [rcx], eax
; 143 : }
ret 0
PutWord ENDP
_TEXT ENDS
; Function ... | 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,521 | 1,580 |
Terraspace/UASM:x64/Debug/omfint.asm:40 | bts eax, 7
movzx edx, al
mov rcx, QWORD PTR out$[rsp]
call PutByte
$LN2@PutIndex:
; 132 : }
; 133 : PutByte( out, index & 0xff );
movzx eax, WORD PTR index$[rsp]
and eax, 255 ; 000000ffH
movzx edx, al
mov rcx, QWORD PTR out$[rsp]
call PutByte
; 134 : }
add rsp, 40 ; 00000028H
ret 0
PutIn... | 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,561 | 1,620 |
Terraspace/UASM:x64/Debug/omfint.asm:41 | mov rax, QWORD PTR out$[rsp]
mov eax, DWORD PTR [rax]
inc eax
mov rcx, QWORD PTR out$[rsp]
mov DWORD PTR [rcx], eax
; 123 : }
ret 0
PutByte ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
checksum$ = 32
tv71 = 36
p$ = 40
end$ = 48
tv140 = 56
tv... | 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,601 | 1,660 |
Terraspace/UASM:x64/Debug/omfint.asm:42 | mov DWORD PTR tv71[rsp], 0
jmp SHORT $LN7@WEndRec
$LN6@WEndRec:
mov edx, 96 ; 00000060H
lea rcx, OFFSET FLAT:$SG7712
call InternalError
mov DWORD PTR tv71[rsp], eax
$LN7@WEndRec:
; 97 :
; 98 : out->reclen = out->in_buf + 1; /* add 1 for checksum byte */
mov rax, QWORD PTR out$[rsp]
mov eax, DWORD P... | 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,641 | 1,700 |
Terraspace/UASM:x64/Debug/omfint.asm:43 | add rcx, rax
mov rax, rcx
mov QWORD PTR end$[rsp], rax
$LN2@WEndRec:
mov rax, QWORD PTR end$[rsp]
cmp QWORD PTR p$[rsp], rax
jae SHORT $LN3@WEndRec
; 101 : checksum += *p++;
mov rax, QWORD PTR p$[rsp]
movzx eax, BYTE PTR [rax]
movzx ecx, BYTE PTR checksum$[rsp]
add ecx, eax
mov eax, ecx
mov BYTE P... | 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,681 | 1,740 |
Terraspace/UASM:x64/Debug/omfint.asm:44 | mov rax, QWORD PTR out$[rsp]
mov eax, DWORD PTR [rax]
add eax, 4
mov rcx, QWORD PTR out$[rsp]
add rcx, 4
mov edx, 8
imul rdx, rdx, 1
mov QWORD PTR tv137[rsp], rdx
lea r8, OFFSET FLAT:ModuleInfo+96
mov QWORD PTR tv140[rsp], r8
mov r8d, eax
mov rdx, rcx
mov rcx, QWORD PTR tv140[rsp]
mov rax, QWORD PTR tv137[... | 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,721 | 1,780 |
Terraspace/UASM:x64/Debug/omfint.asm:45 | mov BYTE PTR [rsp+16], dl
mov QWORD PTR [rsp+8], rcx
; 79 : out->in_buf = 0;
mov rax, QWORD PTR out$[rsp]
mov DWORD PTR [rax], 0
; 80 : out->cmd = command;
mov rax, QWORD PTR out$[rsp]
movzx ecx, BYTE PTR command$[rsp]
mov BYTE PTR [rax+4], cl
; 81 : }
ret 0
WBegRec ENDP
_TEXT ENDS
; Function... | 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,761 | 1,820 |
Terraspace/UASM:x64/Debug/omfint.asm:46 | mov rcx, QWORD PTR buf$[rsp]
call fwrite
mov ecx, DWORD PTR len$[rsp]
cmp rax, rcx
je SHORT $LN2@safeWrite
; 58 : WriteError();
call WriteError
$LN2@safeWrite:
; 59 : }
add rsp, 40 ; 00000028H
ret 0
safeWrite ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwas... | 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,801 | 1,860 |
Terraspace/UASM:x64/Debug/omfint.asm:47 | ; 525 : /**/myassert( objr != NULL && objr->command >= CMD_MIN_CMD && objr->command <= CMD_MAX_CMD + 1 );
cmp QWORD PTR objr$[rsp], 0
je SHORT $LN3@omf_write_
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+16]
cmp eax, 128 ; 00000080H
jl SHORT $LN3@omf_write_
mov rax, QWORD PTR objr$[rsp]
movzx... | 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,841 | 1,899 |
Terraspace/UASM:x64/Debug/omfint.asm:48 | lea rcx, OFFSET FLAT:func_index
movzx eax, BYTE PTR [rcx+rax]
lea rcx, OFFSET FLAT:myFuncs
mov QWORD PTR tv128[rsp], rcx
mov rdx, QWORD PTR objr$[rsp]
lea rcx, QWORD PTR out$[rsp]
mov r8, QWORD PTR tv128[rsp]
call QWORD PTR [r8+rax*8]
; 528 : }
mov rcx, QWORD PTR __$ArrayPad$[rsp]
xor rcx, rsp
call __secur... | 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,881 | 1,899 |
Terraspace/UASM:x64/Debug/omfint.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_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 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/omfint.asm:2 | DB 02H
DB 00H
DB 04H
DB 04H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 00H
DB 01H
DB 02H
DB 01H
DB 08H
DB 01H
DB 00H
DB 01H
DB 00H
DB 00H
DB 0aH
DB 0bH
DB 01H
DB 02H
DB 01H
CONST ENDS
_DATA SEGMENT
$SG7698 DB 'omfint.c', 00H
ORG $+7
$SG7740 DB 'PutMem: buffer overflow error [length=%u, free=%u]', 0aH... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/omfint.asm:3 | ORG $+7
$SG7791 DB 'omfint.c', 00H
ORG $+7
$SG7801 DB 'omfint.c', 00H
ORG $+7
$SG7811 DB 'omfint.c', 00H
ORG $+7
$SG7828 DB 'omfint.c', 00H
ORG $+7
$SG7836 DB 'omfint.c', 00H
ORG $+7
$SG7844 DB 'omfint.c', 00H
ORG $+7
$SG7855 DB 'omfint.c', 00H
ORG $+7
$SG7862 DB 'unexpected OMF record type 0x%02X', 0aH, 00H
OR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/omfint.asm:4 | $pdata$omf_write_record DD imagerel $LN5
DD imagerel $LN5+307
DD imagerel $unwind$omf_write_record
$pdata$safeWrite DD imagerel safeWrite
DD imagerel safeWrite+88
DD imagerel $unwind$safeWrite
$pdata$WBegRec DD imagerel WBegRec
DD imagerel WBegRec+36
DD imagerel $unwind$WBegRec
$pdata$WEndRec DD imagerel WEndRec
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/omfint.asm:5 | DD imagerel writeLedata+247
DD imagerel $unwind$writeLedata
$pdata$writeTheadr DD imagerel writeTheadr
DD imagerel writeTheadr+103
DD imagerel $unwind$writeTheadr
$pdata$writeModend DD imagerel writeModend
DD imagerel writeModend+298
DD imagerel $unwind$writeModend
$pdata$PutBase DD imagerel PutBase
DD imagerel P... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/omfint.asm:6 | DD 01050H
$unwind$safeWrite DD 022801H
DD 070103214H
$unwind$WBegRec DD 010a01H
DD 0700aH
$unwind$WEndRec DD 021e01H
DD 07006920aH
$unwind$PutByte DD 010a01H
DD 0700aH
$unwind$PutIndex DD 022301H
DD 0700b320fH
$unwind$PutWord DD 010b01H
DD 0700bH
$unwind$PutDword DD 010a01H
DD 0700aH
$unwind$PutMem DD 022801H
D... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/omfint.asm:7 | DD 0700b520fH
$unwind$writeUnexp DD 022301H
DD 0700b320fH
xdata ENDS
CONST SEGMENT
ORG $+2
omf_write_record$rtcName$0 DB 06fH
DB 075H
DB 074H
DB 00H
ORG $+4
omf_write_record$rtcVarDesc DD 030H
DD 0ff7H
DQ FLAT:omf_write_record$rtcName$0
ORG $+48
omf_write_record$rtcFrameData DD 01H
DD 00H
DQ FLAT:omf_write_r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/omfint.asm:8 | mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+16]
mov edx, eax
lea rcx, OFFSET FLAT:$SG7862
call DoDebugMsg
; 458 : Fatal( INTERNAL_ERROR, __FILE__, __LINE__ );
mov r8d, 458 ; 000001caH
lea rdx, OFFSET FLAT:$SG7863
mov ecx, 110 ; 0000006eH
call Fatal
; 459 : /* this is never reached,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/omfint.asm:9 | mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+64]
; 441 :
; 442 : /**/myassert( objr->command == CMD_LINSYM );
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+16]
cmp eax, 196 ; 000000c4H
jne SHORT $LN3@writeLinsy
mov DWORD PTR tv70[rsp], 0
jmp SHORT $LN4@wr... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/omfint.asm:10 | mov rax, QWORD PTR objr$[rsp]
movzx edx, WORD PTR [rax+22]
mov rcx, QWORD PTR out$[rsp]
call PutIndex
; 447 : PutMem( out, objr->data, objr->length );
mov rax, QWORD PTR objr$[rsp]
mov r8d, DWORD PTR [rax]
mov rax, QWORD PTR objr$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR out$[rsp]
call PutMem
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/omfint.asm:11 | mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+64]
; 413 : /**/myassert( objr->command == CMD_COMDAT );
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+16]
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/omfint.asm:12 | mov rax, QWORD PTR objr$[rsp]
movzx edx, BYTE PTR [rax+20]
mov rcx, QWORD PTR out$[rsp]
call PutByte
; 418 : PutByte( out, objr->d.comdat.attributes );
mov rax, QWORD PTR objr$[rsp]
movzx edx, BYTE PTR [rax+21]
mov rcx, QWORD PTR out$[rsp]
call PutByte
; 419 : PutByte( out, objr->d.comdat.align );
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/omfint.asm:13 | mov rax, QWORD PTR objr$[rsp]
movzx edx, WORD PTR [rax+24]
mov rcx, QWORD PTR out$[rsp]
call PutWord
$LN3@writeComda:
; 424 : }
; 425 : PutIndex( out, objr->d.comdat.type_idx );
mov rax, QWORD PTR objr$[rsp]
movzx edx, WORD PTR [rax+28]
mov rcx, QWORD PTR out$[rsp]
call PutIndex
; 426 : if( ( o... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/omfint.asm:14 | ; 431 : PutMem( out, objr->data, objr->length );
mov rax, QWORD PTR objr$[rsp]
mov r8d, DWORD PTR [rax]
mov rax, QWORD PTR objr$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR out$[rsp]
call PutMem
; 432 : WEndRec( out );
mov rcx, QWORD PTR out$[rsp]
call WEndRec
; 433 : return( 0 );
xo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/omfint.asm:15 | mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+64]
; 394 :
; 395 : /**/myassert( objr->command == CMD_LINNUM );
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+16]
cmp eax, 148 ; 00000094H
jne SHORT $LN3@writeLinnu
mov DWORD PTR tv70[rsp], 0
jmp SHORT $LN4@wr... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/omfint.asm:16 | mov rax, QWORD PTR objr$[rsp]
mov r8d, DWORD PTR [rax]
mov rax, QWORD PTR objr$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR out$[rsp]
call PutMem
; 400 : WEndRec( out );
mov rcx, QWORD PTR out$[rsp]
call WEndRec
; 401 : return( 0 );
xor eax, eax
; 402 : }
add rsp, 48 ; 00000030H
po... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/omfint.asm:17 | mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+64]
; 382 : /**/myassert( objr->command == CMD_PUBDEF || objr->command == CMD_LPUBDEF );
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+16]
cmp eax, 144 ; 00000090H
je SHORT $LN3@writePubde
mov rax, QWORD PTR objr$[rsp]
movzx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/omfint.asm:18 | mov rcx, QWORD PTR out$[rsp]
call PutBase
; 386 : PutMem( out, objr->data, objr->length );
mov rax, QWORD PTR objr$[rsp]
mov r8d, DWORD PTR [rax]
mov rax, QWORD PTR objr$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR out$[rsp]
call PutMem
; 387 : WEndRec( out );
mov rcx, QWORD PTR out$[rsp]
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/omfint.asm:19 | sub rsp, 32 ; 00000020H
mov rdi, rsp
mov ecx, 8
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+48]
; 372 : PutIndex( out, base->grp_idx );
mov rax, QWORD PTR base$[rsp]
movzx edx, WORD PTR [rax]
mov rcx, QWORD PTR out$[rsp]
call PutIndex
; 373 : PutIndex( out, base->seg_i... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/omfint.asm:20 | ; 376 : }
; 377 : }
add rsp, 32 ; 00000020H
pop rdi
ret 0
PutBase ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
is32$ = 32
mtype$ = 36
tv70 = 40
tv77 = 44
tv85 = 48
out$ = 80
objr$ = 88
writeModend PROC
; 336 : {
mov QWORD PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/omfint.asm:21 | cmp eax, 138 ; 0000008aH
jne SHORT $LN5@writeModen
mov DWORD PTR tv70[rsp], 0
jmp SHORT $LN6@writeModen
$LN5@writeModen:
mov edx, 341 ; 00000155H
lea rcx, OFFSET FLAT:$SG7811
call InternalError
mov DWORD PTR tv70[rsp], eax
$LN6@writeModen:
; 342 :
; 343 : is32 = ( ( objr->is_32 && objr->d.modend.sta... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/omfint.asm:22 | ; 347 : * bit 6: 1=contains start address
; 348 : * bit 5: Segment bit ( according to OMF, this bit should be 1 )
; 349 : * bit 1-4: must be 0
; 350 : * bit 0: start address contains relocatable address ( according to OMF, this bit should be 1 )
; 351 : * Masm does set bit 0, but does not ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/omfint.asm:23 | ; 359 : PutMem( out, objr->data, objr->length );
mov rax, QWORD PTR objr$[rsp]
mov r8d, DWORD PTR [rax]
mov rax, QWORD PTR objr$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR out$[rsp]
call PutMem
; 360 : } else
jmp SHORT $LN3@writeModen
$LN2@writeModen:
; 361 : PutByte( out, mtyp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/omfint.asm:24 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
tv70 = 32
out$ = 64
objr$ = 72
writeTheadr PROC
; 328 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/omfint.asm:25 | ; 332 : }
add rsp, 48 ; 00000030H
pop rdi
ret 0
writeTheadr ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
tv73 = 32
out$ = 64
objr$ = 72
writeLedata PROC
; 311 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/omfint.asm:26 | call InternalError
mov DWORD PTR tv73[rsp], eax
jmp SHORT $LN6@writeLedat
$LN5@writeLedat:
mov DWORD PTR tv73[rsp], 0
$LN6@writeLedat:
; 313 :
; 314 : WBegRec( out, objr->command + objr->is_32 );
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+16]
mov rcx, QWORD PTR objr$[rsp]
movzx ecx, BYTE PTR ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/omfint.asm:27 | ; 318 : } else {
jmp SHORT $LN3@writeLedat
$LN2@writeLedat:
; 319 : PutWord( out, objr->d.ledata.offset );
mov rax, QWORD PTR objr$[rsp]
movzx edx, WORD PTR [rax+24]
mov rcx, QWORD PTR out$[rsp]
call PutWord
$LN3@writeLedat:
; 320 : }
; 321 : PutMem( out, objr->data, objr->length );
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/omfint.asm:28 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
is32$ = 32
acbp$ = 36
align$ = 37
tv70 = 40
out$ = 64
objr$ = 72
writeSegdef PROC
; 215 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; cccccccc... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Debug/omfint.asm:29 | ; 221 :
; 222 : //is32 = objr->d.segdef.use_32;
; 223 : is32 = objr->is_32;
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+17]
mov DWORD PTR is32$[rsp], eax
; 224 : WBegRec( out, CMD_SEGDEF + is32 );
mov eax, DWORD PTR is32$[rsp]
add eax, 152 ; 00000098H
movzx edx, al
mov rcx, QWORD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Debug/omfint.asm:30 | ; 234 : #if 1
; 235 : acbp |= align << 5;
movzx eax, BYTE PTR align$[rsp]
shl eax, 5
movzx ecx, BYTE PTR acbp$[rsp]
or ecx, eax
mov eax, ecx
mov BYTE PTR acbp$[rsp], al
; 236 : #else
; 237 : switch( align ) {
; 238 : case SEGDEF_ALIGN_ABS: acbp |= ALIGN_ABS << 5; break;
; 239 : ca... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Debug/omfint.asm:31 | mov BYTE PTR acbp$[rsp], al
$LN2@writeSegde:
; 256 : }
; 257 :
; 258 : /* the segdef record is small (16bit: size 6 - 9 ):
; 259 : * - byte acbp
; 260 : * - word (32bit:dword) length
; 261 : * - index seg name
; 262 : * - index class name
; 263 : * - index ovl name
; 264 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Debug/omfint.asm:32 | movzx edx, BYTE PTR [rax+32]
mov rcx, QWORD PTR out$[rsp]
call PutByte
$LN3@writeSegde:
; 275 : }
; 276 : if( is32 ) {
cmp DWORD PTR is32$[rsp], 0
je SHORT $LN4@writeSegde
; 277 : PutDword( out, objr->d.segdef.seg_length );
mov rax, QWORD PTR objr$[rsp]
mov edx, DWORD PTR [rax+36]
mov rcx,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,241 | 1,300 |
Terraspace/UASM:x64/Debug/omfint.asm:33 | ; 283 : PutIndex( out, objr->d.segdef.class_lname_idx );
mov rax, QWORD PTR objr$[rsp]
movzx edx, WORD PTR [rax+42]
mov rcx, QWORD PTR out$[rsp]
call PutIndex
; 284 : PutIndex( out, objr->d.segdef.ovl_lname_idx );
mov rax, QWORD PTR objr$[rsp]
movzx edx, WORD PTR [rax+44]
mov rcx, QWORD PTR out$[rsp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Debug/omfint.asm:34 | ; 202 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+64]
; 203 : /**/myassert( objr->data != NULL );
mov rax, QWORD PTR objr$[rsp]
cmp QWORD PTR [rax+8], 0
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,321 | 1,380 |
Terraspace/UASM:x64/Debug/omfint.asm:35 | ; 207 : PutByte( out, objr->d.coment.cmt_class );
mov rax, QWORD PTR objr$[rsp]
movzx edx, BYTE PTR [rax+21]
mov rcx, QWORD PTR out$[rsp]
call PutByte
; 208 : PutMem( out, objr->data, objr->length );
mov rax, QWORD PTR objr$[rsp]
mov r8d, DWORD PTR [rax]
mov rax, QWORD PTR objr$[rsp]
mov rdx, QWORD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,361 | 1,420 |
Terraspace/UASM:x64/Debug/omfint.asm:36 | ; 191 : {
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+64]
; 192 : /**/myassert( objr->data != NULL );
mov rax, QWORD PTR objr$[rsp]
cmp QWORD PTR [rax+8], 0
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,401 | 1,460 |
Terraspace/UASM:x64/Debug/omfint.asm:37 | mov rax, QWORD PTR objr$[rsp]
mov r8d, DWORD PTR [rax]
mov rax, QWORD PTR objr$[rsp]
mov rdx, QWORD PTR [rax+8]
mov rcx, QWORD PTR out$[rsp]
call PutMem
; 196 : WEndRec( out );
mov rcx, QWORD PTR out$[rsp]
call WEndRec
; 197 : return( 0 );
xor eax, eax
; 198 : }
add rsp, 48 ; 00000030H
po... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,441 | 1,500 |
Terraspace/UASM:x64/Debug/omfint.asm:38 | mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+64]
; 179 : /**/myassert( objr->data != NULL );
mov rax, QWORD PTR objr$[rsp]
cmp QWORD PTR [rax+8], 0
je SHORT $LN3@writeMisc
mov DWORD PTR tv69[rsp], 0
jmp SHORT $LN4@writeMisc
$LN3@writeMisc:
mov edx, 179 ; 000000b3H
lea rcx, OFF... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,481 | 1,540 |
Terraspace/UASM:x64/Debug/omfint.asm:39 | ; 184 : return( 0 );
xor eax, eax
; 185 : }
add rsp, 48 ; 00000030H
pop rdi
ret 0
writeMisc ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
out$ = 48
buf$ = 56
length$ = 64
PutMem PROC
; 158 : {
mov DWORD PTR [rsp+24], r8d
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,521 | 1,580 |
Terraspace/UASM:x64/Debug/omfint.asm:40 | mov eax, ecx
cmp DWORD PTR length$[rsp], eax
ja SHORT $LN2@PutMem
; 163 : memcpy( &out->buffer[ out->in_buf ], buf, length );
mov eax, DWORD PTR length$[rsp]
mov rcx, QWORD PTR out$[rsp]
mov ecx, DWORD PTR [rcx]
mov rdx, QWORD PTR out$[rsp]
lea rcx, QWORD PTR [rdx+rcx+7]
mov r8d, eax
mov rdx, QWORD ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,561 | 1,620 |
Terraspace/UASM:x64/Debug/omfint.asm:41 | ; 168 : Fatal( INTERNAL_ERROR, __FILE__, __LINE__ );
mov r8d, 168 ; 000000a8H
lea rdx, OFFSET FLAT:$SG7741
mov ecx, 110 ; 0000006eH
call Fatal
$LN3@PutMem:
; 169 : }
; 170 : }
add rsp, 32 ; 00000020H
pop rdi
ret 0
PutMem ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,601 | 1,660 |
Terraspace/UASM:x64/Debug/omfint.asm:42 | mov eax, DWORD PTR [rax]
add rax, 4
mov rcx, QWORD PTR out$[rsp]
mov DWORD PTR [rcx], eax
; 152 : }
pop rdi
ret 0
PutDword ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
out$ = 16
value$ = 24
PutWord PROC
; 140 : {
mov WORD PTR [rsp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,641 | 1,700 |
Terraspace/UASM:x64/Debug/omfint.asm:43 | ; 143 : }
pop rdi
ret 0
PutWord ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
out$ = 48
index$ = 56
PutIndex PROC
; 129 : {
mov WORD PTR [rsp+16], dx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 32 ; 00000020H
mov rdi, rsp
mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,681 | 1,740 |
Terraspace/UASM:x64/Debug/omfint.asm:44 | ; 132 : }
; 133 : PutByte( out, index & 0xff );
movzx eax, WORD PTR index$[rsp]
and eax, 255 ; 000000ffH
movzx edx, al
mov rcx, QWORD PTR out$[rsp]
call PutByte
; 134 : }
add rsp, 32 ; 00000020H
pop rdi
ret 0
PutIndex ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\h... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,721 | 1,780 |
Terraspace/UASM:x64/Debug/omfint.asm:45 | mov rcx, QWORD PTR out$[rsp]
mov DWORD PTR [rcx], eax
; 123 : }
pop rdi
ret 0
PutByte ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
checksum$ = 32
p$ = 40
end$ = 48
tv71 = 56
tv137 = 64
tv140 = 72
out$ = 96
WEndRec PROC
; 91 : {
mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,761 | 1,820 |
Terraspace/UASM:x64/Debug/omfint.asm:46 | mov rax, QWORD PTR out$[rsp]
movzx eax, BYTE PTR [rax+4]
test eax, eax
je SHORT $LN6@WEndRec
mov DWORD PTR tv71[rsp], 0
jmp SHORT $LN7@WEndRec
$LN6@WEndRec:
mov edx, 96 ; 00000060H
lea rcx, OFFSET FLAT:$SG7698
call InternalError
mov DWORD PTR tv71[rsp], eax
$LN7@WEndRec:
; 97 :
; 98 : out->reclen ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,801 | 1,860 |
Terraspace/UASM:x64/Debug/omfint.asm:47 | mov QWORD PTR p$[rsp], rax
mov rax, QWORD PTR out$[rsp]
mov eax, DWORD PTR [rax]
mov rcx, QWORD PTR p$[rsp]
add rcx, rax
mov rax, rcx
mov QWORD PTR end$[rsp], rax
$LN2@WEndRec:
mov rax, QWORD PTR end$[rsp]
cmp QWORD PTR p$[rsp], rax
jae SHORT $LN3@WEndRec
; 101 : checksum += *p++;
mov rax, QWORD PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,841 | 1,900 |
Terraspace/UASM:x64/Debug/omfint.asm:48 | ; 105 :
; 106 : /* write buffer + 4 extra bytes (1 cmd, 2 length, 1 chksum) */
; 107 : safeWrite( CurrFile[OBJ], &out->cmd, out->in_buf + 4 );
mov rax, QWORD PTR out$[rsp]
mov eax, DWORD PTR [rax]
add eax, 4
mov rcx, QWORD PTR out$[rsp]
add rcx, 4
mov edx, 8
imul rdx, rdx, 1
mov QWORD PTR tv137[rsp]... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,881 | 1,940 |
Terraspace/UASM:x64/Debug/omfint.asm:49 | command$ = 24
WBegRec PROC
; 78 : {
mov BYTE PTR [rsp+16], dl
mov QWORD PTR [rsp+8], rcx
push rdi
; 79 : out->in_buf = 0;
mov rax, QWORD PTR out$[rsp]
mov DWORD PTR [rax], 0
; 80 : out->cmd = command;
mov rax, QWORD PTR out$[rsp]
movzx ecx, BYTE PTR command$[rsp]
mov BYTE PTR [rax+4], cl
; ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,921 | 1,980 |
Terraspace/UASM:x64/Debug/omfint.asm:50 | sub rsp, 32 ; 00000020H
mov rdi, rsp
mov ecx, 8
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+48]
; 57 : if( fwrite( buf, 1, len, file ) != len )
mov eax, DWORD PTR len$[rsp]
mov r9, QWORD PTR file$[rsp]
mov r8d, eax
mov edx, 1
mov rcx, QWORD PTR buf$[rsp]
call QWORD PTR __... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 1,961 | 2,020 |
Terraspace/UASM:x64/Debug/omfint.asm:51 | ; 522 : {
$LN5:
mov QWORD PTR [rsp+8], rcx
push rdi
mov eax, 4192 ; 00001060H
call __chkstk
sub rsp, rax
mov rdi, rsp
mov ecx, 1048 ; 00000418H
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+4208]
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 2,001 | 2,060 |
Terraspace/UASM:x64/Debug/omfint.asm:52 | ; 526 : DebugMsg1(("omf_write_record( cmd=%X data=%p length=%u )\n", objr->command, objr->data, objr->length ));
mov rax, QWORD PTR objr$[rsp]
movzx eax, BYTE PTR [rax+16]
mov rcx, QWORD PTR objr$[rsp]
mov r9d, DWORD PTR [rcx]
mov rcx, QWORD PTR objr$[rsp]
mov r8, QWORD PTR [rcx+8]
mov edx, eax
lea rcx, O... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/omfint.asm | 2,041 | 2,083 |
Terraspace/UASM:x64/Debug/omfint.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
_DATA ENDS
CONST SEGMENT
myFuncs DQ FLAT:writeUnexp
DQ FLAT:writeMisc
DQ FLAT:writeMisc32
DQ FLAT:writeSeg... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/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.