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 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
$SG7697 DB 'omfint.c', 00H
ORG $+7
$SG7739 DB 'PutMem: buffer overflow error [length=%u, free=%u]', 0aH
DB 00H... | 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 | 41 | 100 |
Terraspace/UASM:x64/Debug/omfint.asm:3 | $SG7790 DB 'omfint.c', 00H
ORG $+7
$SG7800 DB 'omfint.c', 00H
ORG $+7
$SG7810 DB 'omfint.c', 00H
ORG $+7
$SG7827 DB 'omfint.c', 00H
ORG $+7
$SG7835 DB 'omfint.c', 00H
ORG $+7
$SG7843 DB 'omfint.c', 00H
ORG $+7
$SG7854 DB 'omfint.c', 00H
ORG $+7
$SG7861 DB 'unexpected OMF record type 0x%02X', 0aH, 00H
ORG $+5
$S... | 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 | 81 | 140 |
Terraspace/UASM:x64/Debug/omfint.asm:4 | 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
DD imagerel WEndRec+328
DD imagerel $unw... | 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 | 121 | 180 |
Terraspace/UASM:x64/Debug/omfint.asm:5 | 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 PutBase+122
DD imagerel $unwi... | 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 | 161 | 220 |
Terraspace/UASM:x64/Debug/omfint.asm:6 | $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
DD 07010321... | 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 | 201 | 260 |
Terraspace/UASM:x64/Debug/omfint.asm:7 | $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_record$rtcVarDe... | 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 | 241 | 300 |
Terraspace/UASM:x64/Debug/omfint.asm:8 | movzx eax, BYTE PTR [rax+16]
mov edx, eax
lea rcx, OFFSET FLAT:$SG7861
call DoDebugMsg
; 458 : Fatal( INTERNAL_ERROR, __FILE__, __LINE__ );
mov r8d, 458 ; 000001caH
lea rdx, OFFSET FLAT:$SG7862
mov ecx, 110 ; 0000006eH
call Fatal
; 459 : /* this is never reached, since Fatal() won't return */
... | 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 | 281 | 340 |
Terraspace/UASM:x64/Debug/omfint.asm:9 | 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@writeLinsy
$LN3... | 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 | 321 | 380 |
Terraspace/UASM:x64/Debug/omfint.asm:10 | 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
; 448 : WEndRec( out );
... | 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 | 361 | 420 |
Terraspace/UASM:x64/Debug/omfint.asm:11 | 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]
cmp eax, 194 ; 000000c2H
... | 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 | 401 | 460 |
Terraspace/UASM:x64/Debug/omfint.asm:12 | 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 );
mov rax, QWORD PTR objr$[rsp]
... | 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 | 441 | 500 |
Terraspace/UASM:x64/Debug/omfint.asm:13 | 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( ( objr->d.comdat.attributes & COMD... | 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 | 481 | 540 |
Terraspace/UASM:x64/Debug/omfint.asm:14 | 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 );
xor eax, eax
; 434 : }
add rsp, 48 ; 00000030H
po... | 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 | 521 | 580 |
Terraspace/UASM:x64/Debug/omfint.asm:15 | 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@writeLinnu
$LN3... | 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 | 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 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omfint.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/omfint.asm:17 | 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 eax, BYTE PTR [rax+16]
cmp eax, 18... | 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 | 641 | 700 |
Terraspace/UASM:x64/Debug/omfint.asm:18 | 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 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omfint.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/omfint.asm:19 | 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_idx );
mov rax, QWORD PTR ba... | 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 | 721 | 780 |
Terraspace/UASM:x64/Debug/omfint.asm:20 | ; 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 PTR [rsp+16], rdx... | 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 | 761 | 820 |
Terraspace/UASM:x64/Debug/omfint.asm:21 | jne SHORT $LN5@writeModen
mov DWORD PTR tv70[rsp], 0
jmp SHORT $LN6@writeModen
$LN5@writeModen:
mov edx, 341 ; 00000155H
lea rcx, OFFSET FLAT:$SG7810
call InternalError
mov DWORD PTR tv70[rsp], eax
$LN6@writeModen:
; 342 :
; 343 : is32 = ( ( objr->is_32 && objr->d.modend.start_addrs ) ? TRUE : FALSE );
... | 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 | 801 | 860 |
Terraspace/UASM:x64/Debug/omfint.asm:22 | ; 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 set bit 5!
; 352 : */
; 353 : mtype =... | 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 | 841 | 900 |
Terraspace/UASM:x64/Debug/omfint.asm:24 | _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 [rsp+64]
; 329 : /**/myassert( objr->command == C... | 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 | 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 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omfint.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/omfint.asm:26 | 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 [rcx+17]
add eax, e... | 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,001 | 1,060 |
Terraspace/UASM:x64/Debug/omfint.asm:27 | 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 );
mov rax, QWORD PTR objr$[... | 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,041 | 1,100 |
Terraspace/UASM:x64/Debug/omfint.asm:28 | _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 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+64]
; 216 : ... | 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,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 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omfint.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Debug/omfint.asm:30 | ; 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 : case SEGDEF_ALIGN... | 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,161 | 1,220 |
Terraspace/UASM:x64/Debug/omfint.asm:31 | $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 : * ABS segdefs are 3 bytes ... | 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,201 | 1,260 |
Terraspace/UASM:x64/Debug/omfint.asm: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, QWORD PTR out$[rsp]
call Put... | 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,241 | 1,300 |
Terraspace/UASM:x64/Debug/omfint.asm:33 | 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]
call PutIndex
; 285 : //if( objr->d.segdef.access_valid... | 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,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 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/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 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/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 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/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 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omfint.asm | 1,441 | 1,500 |
Terraspace/UASM:x64/Debug/omfint.asm:38 | 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, OFFSET FLAT:$SG7749
call InternalError... | 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,481 | 1,540 |
Terraspace/UASM:x64/Debug/omfint.asm:39 | 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
mov QWORD PTR [rsp+16], rdx
... | 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,521 | 1,580 |
Terraspace/UASM:x64/Debug/omfint.asm:40 | 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 PTR buf$[rsp]
... | 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,561 | 1,620 |
Terraspace/UASM:x64/Debug/omfint.asm:41 | mov r8d, 168 ; 000000a8H
lea rdx, OFFSET FLAT:$SG7740
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:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
out$ ... | 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,601 | 1,660 |
Terraspace/UASM:x64/Debug/omfint.asm:42 | 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+16], dx
mov QWORD PTR [r... | 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,641 | 1,700 |
Terraspace/UASM:x64/Debug/omfint.asm:43 | 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 ecx, 8
mov ... | 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,681 | 1,740 |
Terraspace/UASM:x64/Debug/omfint.asm:45 | 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 QWORD PTR [rsp+8], rcx
push ... | 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,761 | 1,820 |
Terraspace/UASM:x64/Debug/omfint.asm:46 | 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:$SG7697
call InternalError
mov DWORD PTR tv71[rsp], eax
$LN7@WEndRec:
; 97 :
; 98 : out->reclen = out->in_buf + 1; /* add 1 fo... | 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,801 | 1,860 |
Terraspace/UASM:x64/Debug/omfint.asm:47 | 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 PTR p$[rsp]
movzx eax, BYTE P... | 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,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 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omfint.asm | 1,881 | 1,940 |
Terraspace/UASM:x64/Debug/omfint.asm:49 | 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
; 81 : }
pop... | 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,921 | 1,980 |
Terraspace/UASM:x64/Debug/omfint.asm:50 | 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 __imp_fwrite
mov ecx, DWORD PT... | 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,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 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/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 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/omfint.asm | 2,041 | 2,082 |
Terraspace/UASM:x64/Debug/omfint.asm:7 | $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_record$rtcVarDe... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/omfint.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/omfint.asm:8 | movzx eax, BYTE PTR [rax+16]
mov edx, eax
lea rcx, OFFSET FLAT:$SG7861
call DoDebugMsg
; 458 : Fatal( INTERNAL_ERROR, __FILE__, __LINE__ );
mov r8d, 458 ; 000001caH
lea rdx, OFFSET FLAT:$SG7862
mov ecx, 111 ; 0000006fH
call Fatal
; 459 : /* this is never reached, since Fatal() won't return */
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/omfint.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/omfint.asm:40 | 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 PTR buf$[rsp]
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/omfint.asm | 1,561 | 1,620 |
Terraspace/UASM:x64/Debug/omfint.asm:41 | mov r8d, 168 ; 000000a8H
lea rdx, OFFSET FLAT:$SG7740
mov ecx, 111 ; 0000006fH
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:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
out$ ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/omfint.asm | 1,601 | 1,660 |
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
_DATA ENDS
CONST SEGMENT
myFuncs DQ FLAT:writeUnexp
DQ FLAT:writeMisc
DQ FLAT:writeMisc32
DQ FLAT:writeSegdef
DQ FLAT:wr... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/omfint.asm:2 | 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
$SG7695 DB 'omfint.c', 00H
ORG $+7
$SG7737 DB 'PutMem: buffer overflow error [length=%u, free=%u]', 0aH
DB 00H
ORG $+... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/omfint.asm:3 | ORG $+7
$SG7798 DB 'omfint.c', 00H
ORG $+7
$SG7808 DB 'omfint.c', 00H
ORG $+7
$SG7825 DB 'omfint.c', 00H
ORG $+7
$SG7833 DB 'omfint.c', 00H
ORG $+7
$SG7841 DB 'omfint.c', 00H
ORG $+7
$SG7852 DB 'omfint.c', 00H
ORG $+7
$SG7859 DB 'unexpected OMF record type 0x%02X', 0aH, 00H
ORG $+5
$SG7860 DB 'omfint.c', 00H
OR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/omfint.asm:4 | 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
DD imagerel WEndRec+328
DD imagerel $unwind$WEndRec
$pdata$Put... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/omfint.asm:5 | $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 PutBase+122
DD imagerel $unwind$PutBase
$pdata$writePubdef DD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/omfint.asm:6 | 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
DD 070103214H
$unwind$writeMisc DD 022301... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/omfint.asm:7 | 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_record$rtcVarDesc
CONST ENDS
; Function compil... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/omfint.asm:8 | mov edx, eax
lea rcx, OFFSET FLAT:$SG7859
call DoDebugMsg
; 458 : Fatal( INTERNAL_ERROR, __FILE__, __LINE__ );
mov r8d, 458 ; 000001caH
lea rdx, OFFSET FLAT:$SG7860
mov ecx, 110 ; 0000006eH
call Fatal
; 459 : /* this is never reached, since Fatal() won't return */
; 460 : return( 0 );
xo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/omfint.asm:9 | 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@writeLinsy
$LN3@writeLinsy:
mov edx, 442 ; 0000... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/omfint.asm:10 | 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
; 448 : WEndRec( out );
mov rcx, QWORD PTR out$[rsp]
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/omfint.asm:11 | 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]
cmp eax, 194 ; 000000c2H
jne SHORT $LN6@writeComda
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/omfint.asm:12 | 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 );
mov rax, QWORD PTR objr$[rsp]
movzx edx, BYTE PTR [rax+22]
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/omfint.asm:13 | 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( ( objr->d.comdat.attributes & COMDAT_ALLOC_MASK ) == COMDAT_EXPL... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/omfint.asm:14 | 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 );
xor eax, eax
; 434 : }
add rsp, 48 ; 00000030H
po... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/omfint.asm:15 | 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@writeLinnu
$LN3@writeLinnu:
mov edx, 395 ; 0000... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/omfint.asm:16 | 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
pop rdi
ret 0
writeLinnum ENDP
_... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/omfint.asm:17 | 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 eax, BYTE PTR [rax+16]
cmp eax, 182 ; 0000... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/omfint.asm:18 | ; 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 : return( 0 );
xo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/omfint.asm:19 | 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_idx );
mov rax, QWORD PTR base$[rsp]
movz... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/omfint.asm:20 | 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 PTR [rsp+16], rdx
mov QWORD P... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/omfint.asm:21 | mov DWORD PTR tv70[rsp], 0
jmp SHORT $LN6@writeModen
$LN5@writeModen:
mov edx, 341 ; 00000155H
lea rcx, OFFSET FLAT:$SG7808
call InternalError
mov DWORD PTR tv70[rsp], eax
$LN6@writeModen:
; 342 :
; 343 : is32 = ( ( objr->is_32 && objr->d.modend.start_addrs ) ? TRUE : FALSE );
mov rax, QWORD PTR objr$[... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/omfint.asm:22 | ; 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 set bit 5!
; 352 : */
; 353 : mtype = objr->d.modend.main_module ? 0x80 : 0;
mov rax, QWORD PTR objr$[rsp]
movzx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/omfint.asm:23 | 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, mtype );
movzx edx, BYTE PTR mtype$[rsp]
mov rcx, QWORD PTR o... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/omfint.asm:24 | 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 [rsp+64]
; 329 : /**/myassert( objr->command == CMD_THEADR );
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/omfint.asm:25 | 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
sub rsp, 48 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/omfint.asm:26 | 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 [rcx+17]
add eax, ecx
movzx edx, al
mov rcx, QW... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/omfint.asm:28 | 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 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+64]
; 216 : int ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Debug/omfint.asm:29 | ; 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 PTR out$... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Debug/omfint.asm:30 | 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 : case SEGDEF_ALIGN_BYTE: acbp |= ALIGN_BYTE << 5;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Debug/omfint.asm:31 | ; 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 : * ABS segdefs are 3 bytes longer
; 265 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Debug/omfint.asm:32 | 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, QWORD PTR out$[rsp]
call PutDword
; 278 : } else {
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,241 | 1,300 |
Terraspace/UASM:x64/Debug/omfint.asm:33 | 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]
call PutIndex
; 285 : //if( objr->d.segdef.access_valid... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Debug/omfint.asm:34 | 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
je SHORT $LN3... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,321 | 1,380 |
Terraspace/UASM:x64/Debug/omfint.asm:35 | 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 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,361 | 1,420 |
Terraspace/UASM:x64/Debug/omfint.asm:36 | 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
je SHORT $LN3... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,401 | 1,460 |
Terraspace/UASM:x64/Debug/omfint.asm:37 | 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
pop rdi
ret 0
writeMisc32 ENDP
_... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,441 | 1,500 |
Terraspace/UASM:x64/Debug/omfint.asm:38 | 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, OFFSET FLAT:$SG7747
call InternalError
mov DWORD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,481 | 1,540 |
Terraspace/UASM:x64/Debug/omfint.asm:39 | 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
mov QWORD PTR [rsp+16], rdx
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,521 | 1,580 |
Terraspace/UASM:x64/Debug/omfint.asm:40 | 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 PTR buf$[rsp]
call memcpy
; 164 : ou... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,561 | 1,620 |
Terraspace/UASM:x64/Debug/omfint.asm:41 | mov r8d, 168 ; 000000a8H
lea rdx, OFFSET FLAT:$SG7738
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:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\omfint.c
_TEXT SEGMENT
out$ ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,601 | 1,660 |
Terraspace/UASM:x64/Debug/omfint.asm:42 | 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+16], dx
mov QWORD PTR [rsp+8], rcx
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,641 | 1,700 |
Terraspace/UASM:x64/Debug/omfint.asm:43 | 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 ecx, 8
mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,681 | 1,740 |
Terraspace/UASM:x64/Debug/omfint.asm:44 | ; 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\hjwasm2.13.1s\hj... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,721 | 1,780 |
Terraspace/UASM:x64/Debug/omfint.asm:45 | ; 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 QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 80 ; 000... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,761 | 1,820 |
Terraspace/UASM:x64/Debug/omfint.asm:46 | 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:$SG7695
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,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,801 | 1,860 |
Terraspace/UASM:x64/Debug/omfint.asm:47 | 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 PTR p$[rsp]
movzx eax, BYTE PTR [rax]
movzx ecx, BYTE PTR ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,841 | 1,900 |
Terraspace/UASM:x64/Debug/omfint.asm:48 | ; 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], rdx
le... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/omfint.asm | 1,881 | 1,940 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.