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:49 | ; 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 rdi
ret 0
WB... | 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,921 | 1,980 |
Terraspace/UASM:x64/Debug/omfint.asm:50 | 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 PTR len$[rsp]
c... | 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,961 | 2,020 |
Terraspace/UASM:x64/Debug/omfint.asm:51 | $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], rax
; 52... | 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 | 2,001 | 2,060 |
Terraspace/UASM:x64/Debug/omfint.asm:52 | 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, OFFSET FLAT:$SG7886
call DoDebugMsg1
; 527 : myFuncs[ func_index[JUMP_INDEX(objr->command) ] ] ( &out, objr );
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 | 2,041 | 2,081 |
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
$SG7690 DB 'omfint.c', 00H
ORG $+7
$SG7732 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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omfint.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/omfint.asm:3 | ORG $+7
$SG7793 DB 'omfint.c', 00H
ORG $+7
$SG7803 DB 'omfint.c', 00H
ORG $+7
$SG7820 DB 'omfint.c', 00H
ORG $+7
$SG7828 DB 'omfint.c', 00H
ORG $+7
$SG7836 DB 'omfint.c', 00H
ORG $+7
$SG7847 DB 'omfint.c', 00H
ORG $+7
$SG7854 DB 'unexpected OMF record type 0x%02X', 0aH, 00H
ORG $+5
$SG7855 DB 'omfint.c', 00H
OR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omfint.asm | 81 | 140 |
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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omfint.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/omfint.asm:8 | mov edx, eax
lea rcx, OFFSET FLAT:$SG7854
call DoDebugMsg
; 458 : Fatal( INTERNAL_ERROR, __FILE__, __LINE__ );
mov r8d, 458 ; 000001caH
lea rdx, OFFSET FLAT:$SG7855
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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omfint.asm | 401 | 460 |
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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omfint.asm | 641 | 700 |
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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/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:$SG7803
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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omfint.asm | 801 | 860 |
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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omfint.asm | 961 | 1,020 |
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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omfint.asm | 1,081 | 1,140 |
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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omfint.asm | 1,321 | 1,380 |
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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/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:$SG7742
call InternalError
mov DWORD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omfint.asm | 1,481 | 1,540 |
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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omfint.asm | 1,561 | 1,620 |
Terraspace/UASM:x64/Debug/omfint.asm:41 | mov r8d, 168 ; 000000a8H
lea rdx, OFFSET FLAT:$SG7733
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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omfint.asm | 1,601 | 1,660 |
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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/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:$SG7690
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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omfint.asm | 1,801 | 1,860 |
Terraspace/UASM:x64/Debug/omfint.asm:51 | $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], rax
; 52... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omfint.asm | 2,001 | 2,060 |
Terraspace/UASM:x64/Debug/omfint.asm:52 | 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, OFFSET FLAT:$SG7881
call DoDebugMsg1
; 527 : myFuncs[ func_index[JUMP_INDEX(objr->command) ] ] ( &out, objr );
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/omfint.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/omfint.asm | 2,041 | 2,081 |
Terraspace/UASM:x64/Debug/posndir.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10700 DB 'OrgDirective(%u) enter', 0aH, 00H
$SG10760 DB 'Ali... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/posndir.asm:2 | DB 00H
DB 00H
DB 02eH
DB 08dH
DB 044H
DB 020H
DB 00H
DB 08dH
DB 044H
DB 020H
DB 00H
DB 08dH
DB 040H
DB 00H
DB 08bH
DB 0ffH
DB 090H
ORG $+3
NopList64 DB 07H
DB 0fH
DB 01fH
DB 080H
DB 00H
DB 00H
DB 00H
DB 00H
DB 066H
DB 0fH
DB 01fH
DB 044H
DB 00H
DB 00H
DB 0fH
DB 01fH
DB 044H
DB 00H
DB ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/posndir.asm:3 | DB 00H
DB 0fH
DB 01fH
DB 00H
DB 066H
DB 090H
DB 090H
ORG $+3
NopLists DQ FLAT:NopList16
DQ FLAT:NopList32
DQ FLAT:NopList64
CONST ENDS
PUBLIC AlignCurrOffset
PUBLIC OrgDirective
PUBLIC AlignDirective
EXTRN DoDebugMsg1:PROC
EXTRN EmitError:PROC
EXTRN EmitErr:PROC
EXTRN EmitWarn:PROC
EXTRN OutputByte:PROC
EXTRN ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/posndir.asm:4 | DD imagerel $LN4+96
DD imagerel $unwind$AlignCurrOffset
$pdata$OrgDirective DD imagerel $LN18
DD imagerel $LN18+478
DD imagerel $unwind$OrgDirective
$pdata$fill_in_objfile_space DD imagerel fill_in_objfile_space
DD imagerel fill_in_objfile_space+438
DD imagerel $unwind$fill_in_objfile_space
$pdata$AlignDirective D... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/posndir.asm:5 | $LN29:
mov QWORD PTR [rsp+16], rdx
mov DWORD PTR [rsp+8], ecx
sub rsp, 232 ; 000000e8H
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 195 : int seg_align;
; 196 : struct expr opndx;
; 197 : uint_32 CurrAddr;
; 198 : char buffer[32];
; 199 :
; 200 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/posndir.asm:6 | ; 205 : if ( EvalOperand( &i, tokenarray, Token_Count, &opndx, EXPF_NOUNDEF ) == ERROR )
mov BYTE PTR [rsp+32], 2
lea r9, QWORD PTR opndx$[rsp]
mov r8d, DWORD PTR ModuleInfo+496
mov rdx, QWORD PTR tokenarray$[rsp]
lea rcx, QWORD PTR i$[rsp]
call EvalOperand
cmp eax, -1
jne SHORT $LN8@AlignDirec
; 206... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/posndir.asm:7 | mov eax, DWORD PTR opndx$[rsp]
cmp DWORD PTR power$1[rsp], eax
je SHORT $LN11@AlignDirec
; 212 : return( EmitErr( POWER_OF_2, align_value ) );
mov edx, DWORD PTR opndx$[rsp]
mov ecx, 129 ; 00000081H
call EmitErr
jmp $LN1@AlignDirec
$LN11@AlignDirec:
; 213 : }
jmp SHORT $LN10@... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/posndir.asm:8 | call GetCurrSegAlign
mov DWORD PTR opndx$[rsp], eax
$LN15@AlignDirec:
; 220 : } else {
jmp SHORT $LN13@AlignDirec
$LN12@AlignDirec:
; 221 : return( EmitError( CONSTANT_EXPECTED ) );
mov ecx, 65 ; 00000041H
call EmitError
jmp $LN1@AlignDirec
$LN13@AlignDirec:
$LN10@AlignDirec:
; 222 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/posndir.asm:9 | movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
test eax, eax
je SHORT $LN17@AlignDirec
; 230 : return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].string_ptr ) );
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/posndir.asm:10 | cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN20@AlignDirec
xor r8d, r8d
xor edx, edx
mov rcx, QWORD PTR ModuleInfo+464
call StoreLine
$LN20@AlignDirec:
$LN19@AlignDirec:
; 239 : #endif
; 240 : seg_align = GetCurrSegAlign(); /* # of bytes */
call GetCurrSegAlign
mov DWORD PTR seg_align$[rsp], eax
; 241 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/posndir.asm:11 | shr al, 1
and al, 1
movzx eax, al
test eax, eax
jne SHORT $LN24@AlignDirec
; 246 : (ModuleInfo.flat_grp->sym.isdefined == FALSE)) //No warning if "FLAT"
; 247 : EmitWarn( 1, ALIGN_TOO_HIGH, myltoa( align_value, buffer, 10, FALSE, FALSE ) );
mov BYTE PTR [rsp+32], 0
xor r9d, r9d
mov r8d,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/posndir.asm:12 | mov rax, QWORD PTR [rax+40]
movzx eax, BYTE PTR [rax+33]
or al, 2
mov rcx, QWORD PTR ModuleInfo+432
mov rcx, QWORD PTR [rcx+104]
mov rcx, QWORD PTR [rcx+40]
mov BYTE PTR [rcx+33], al
$LN25@AlignDirec:
; 253 : /* find out how many bytes past alignment we are & add the remainder */
; 254 : /* store temp.... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/posndir.asm:13 | call fill_in_objfile_space
$LN26@AlignDirec:
; 260 : }
; 261 : if ( CurrFile[LST] ) {
mov eax, 8
imul rax, rax, 2
lea rcx, OFFSET FLAT:ModuleInfo+96
cmp QWORD PTR [rcx+rax], 0
je SHORT $LN27@AlignDirec
; 262 : LstWrite( LSTTYPE_DATA, CurrAddr, NULL );
xor r8d, r8d
mov edx, DWORD PTR CurrAd... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/posndir.asm:14 | ; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\posndir.c
_TEXT SEGMENT
i$ = 32
nop_type$ = 36
size$ = 64
fill_in_objfile_space PROC
; 132 : {
mov DWORD PTR [rsp+8], ecx
sub rsp, 56 ; 00000038H
; 133 : int i;
; 134 : int nop_type;
; 135 :
; 136 : /* emit
; 137 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/posndir.asm:15 | mov rcx, QWORD PTR ModuleInfo+432
call SetCurrOffset
jmp $LN14@fill_in_ob
$LN13@fill_in_ob:
; 146 :
; 147 : } else if( CurrSeg->e.seginfo->segtype != SEGTYPE_CODE ) {
mov rax, QWORD PTR ModuleInfo+432
mov rax, QWORD PTR [rax+104]
cmp DWORD PTR [rax+72], 1
je SHORT $LN15@fill_in_ob
; 148 :
; 149 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/posndir.asm:16 | ; 155 : for( i = 1; i <= NopLists[ ModuleInfo.Ofssize ][0]; i++ ) {
mov DWORD PTR i$[rsp], 1
jmp SHORT $LN6@fill_in_ob
$LN4@fill_in_ob:
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i$[rsp], eax
$LN6@fill_in_ob:
movzx eax, BYTE PTR ModuleInfo+404
lea rcx, OFFSET FLAT:NopLists
mov edx, 1
imul r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/posndir.asm:17 | mov ecx, DWORD PTR size$[rsp]
sub ecx, eax
mov eax, ecx
mov DWORD PTR size$[rsp], eax
; 159 : }
jmp $LN2@fill_in_ob
$LN3@fill_in_ob:
; 160 : if( size == 0 ) return;
cmp DWORD PTR size$[rsp], 0
jne SHORT $LN17@fill_in_ob
jmp $LN1@fill_in_ob
$LN17@fill_in_ob:
; 161 :
; 162 : i=1; /... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/posndir.asm:18 | ; 164 : i+=nop_type;
mov eax, DWORD PTR nop_type$[rsp]
mov ecx, DWORD PTR i$[rsp]
add ecx, eax
mov eax, ecx
mov DWORD PTR i$[rsp], eax
; 165 : }
jmp SHORT $LN7@fill_in_ob
$LN8@fill_in_ob:
; 166 : /* i now is the index of the 1st part of the NOP that we want */
; 167 : f... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/posndir.asm:19 | jmp SHORT $LN10@fill_in_ob
$LN11@fill_in_ob:
$LN16@fill_in_ob:
$LN14@fill_in_ob:
$LN1@fill_in_ob:
; 170 : }
; 171 : }
add rsp, 56 ; 00000038H
ret 0
fill_in_objfile_space ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\posndir.c
_TEXT SEGMENT
tv70 = 48
opndx$ = ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/posndir.asm:20 | mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i$[rsp], eax
; 101 : /* v2.09: if -Zne is set, don't allow forward reference in ORG argument */
; 102 : //if ( ( ERROR == EvalOperand( &i, tokenarray, Token_Count, &opndx, 0 ) ) )
; 103 : if ( ( ERROR == EvalOperand( &i, tokenarray, Token_Count, &opndx,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/posndir.asm:21 | je SHORT $LN3@OrgDirecti
; 106 : return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].string_ptr ) );
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 209 ; 000000d1H
call EmitErr
jmp $LN1@OrgDirecti
$LN3@OrgDirect... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/posndir.asm:22 | ; 113 : return( EmitError( MUST_BE_IN_SEGMENT_BLOCK ) );
mov ecx, 82 ; 00000052H
call EmitError
jmp $LN1@OrgDirecti
$LN7@OrgDirecti:
; 114 : }
; 115 : #if FASTPASS
; 116 : if ( StoreState == FALSE ) FStoreLine(0);
movzx eax, BYTE PTR StoreState
test eax, eax
jne SHORT $LN8@O... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/posndir.asm:23 | movzx eax, BYTE PTR [rax+33]
or al, 2
mov rcx, QWORD PTR ModuleInfo+432
mov rcx, QWORD PTR [rcx+104]
mov rcx, QWORD PTR [rcx+40]
mov BYTE PTR [rcx+33], al
$LN11@OrgDirecti:
; 121 :
; 122 : if ( opndx.kind == EXPR_CONST )
cmp DWORD PTR opndx$[rsp+60], 0
jne SHORT $LN12@OrgDirecti
; 123 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/posndir.asm:24 | xor r8d, r8d
mov edx, eax
mov rcx, QWORD PTR ModuleInfo+432
call SetCurrOffset
jmp SHORT $LN1@OrgDirecti
$LN14@OrgDirecti:
$LN13@OrgDirecti:
$LN5@OrgDirecti:
; 126 : }
; 127 : return( EmitError( ORG_NEEDS_A_CONSTANT_OR_LOCAL_OFFSET ) );
mov ecx, 40 ; 00000028H
call EmitError
$LN1@OrgDirecti:
; 12... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/posndir.asm:25 | mov eax, DWORD PTR value$[rsp]
mov ecx, 1
mov DWORD PTR tv77[rsp], ecx
movzx ecx, al
mov eax, DWORD PTR tv77[rsp]
shl eax, cl
mov DWORD PTR alignment$[rsp], eax
; 180 : unsigned int CurrAddr;
; 181 :
; 182 : CurrAddr = GetCurrOffset();
call GetCurrOffset
mov DWORD PTR CurrAddr$[rsp], eax
; 183 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 961 | 1,011 |
Terraspace/UASM:x64/Debug/posndir.asm:26 | call fill_in_objfile_space
$LN2@AlignCurrO:
; 187 : }
; 188 : }
add rsp, 56 ; 00000038H
ret 0
AlignCurrOffset ENDP
_TEXT ENDS
END | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/posndir.asm | 1,001 | 1,011 |
Terraspace/UASM:x64/Debug/posndir.asm:7 | mov eax, DWORD PTR opndx$[rsp]
cmp DWORD PTR power$1[rsp], eax
je SHORT $LN11@AlignDirec
; 212 : return( EmitErr( POWER_OF_2, align_value ) );
mov edx, DWORD PTR opndx$[rsp]
mov ecx, 129 ; 00000081H
call EmitErr
jmp $LN1@AlignDirec
$LN11@AlignDirec:
; 213 : }
jmp SHORT $LN10@... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/posndir.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/posndir.asm:10 | cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN20@AlignDirec
xor r8d, r8d
xor edx, edx
mov rcx, QWORD PTR ModuleInfo+464
call StoreLine
$LN20@AlignDirec:
$LN19@AlignDirec:
; 239 : #endif
; 240 : seg_align = GetCurrSegAlign(); /* # of bytes */
call GetCurrSegAlign
mov DWORD PTR seg_align$[rsp], eax
; 241 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/posndir.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/posndir.asm:11 | shr al, 1
and al, 1
movzx eax, al
test eax, eax
jne SHORT $LN24@AlignDirec
; 246 : (ModuleInfo.flat_grp->sym.isdefined == FALSE)) //No warning if "FLAT"
; 247 : EmitWarn( 1, ALIGN_TOO_HIGH, myltoa( align_value, buffer, 10, FALSE, FALSE ) );
mov BYTE PTR [rsp+32], 0
xor r9d, r9d
mov r8d,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/posndir.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/posndir.asm:12 | mov rax, QWORD PTR [rax+40]
movzx eax, BYTE PTR [rax+33]
or al, 2
mov rcx, QWORD PTR ModuleInfo+432
mov rcx, QWORD PTR [rcx+96]
mov rcx, QWORD PTR [rcx+40]
mov BYTE PTR [rcx+33], al
$LN25@AlignDirec:
; 253 : /* find out how many bytes past alignment we are & add the remainder */
; 254 : /* store temp. ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/posndir.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/posndir.asm:14 | ; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\posndir.c
_TEXT SEGMENT
i$ = 32
nop_type$ = 36
size$ = 64
fill_in_objfile_space PROC
; 132 : {
mov DWORD PTR [rsp+8], ecx
sub rsp, 56 ; 00000038H
; 133 : int i;
; 134 : int nop_type;
; 135 :
; 136 : /* emit
; 137 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/posndir.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/posndir.asm:15 | mov rcx, QWORD PTR ModuleInfo+432
call SetCurrOffset
jmp $LN14@fill_in_ob
$LN13@fill_in_ob:
; 146 :
; 147 : } else if( CurrSeg->e.seginfo->segtype != SEGTYPE_CODE ) {
mov rax, QWORD PTR ModuleInfo+432
mov rax, QWORD PTR [rax+96]
cmp DWORD PTR [rax+72], 1
je SHORT $LN15@fill_in_ob
; 148 :
; 149 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/posndir.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/posndir.asm:22 | ; 113 : return( EmitError( MUST_BE_IN_SEGMENT_BLOCK ) );
mov ecx, 82 ; 00000052H
call EmitError
jmp $LN1@OrgDirecti
$LN7@OrgDirecti:
; 114 : }
; 115 : #if FASTPASS
; 116 : if ( StoreState == FALSE ) FStoreLine(0);
movzx eax, BYTE PTR StoreState
test eax, eax
jne SHORT $LN8@O... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/posndir.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/posndir.asm:23 | movzx eax, BYTE PTR [rax+33]
or al, 2
mov rcx, QWORD PTR ModuleInfo+432
mov rcx, QWORD PTR [rcx+96]
mov rcx, QWORD PTR [rcx+40]
mov BYTE PTR [rcx+33], al
$LN11@OrgDirecti:
; 121 :
; 122 : if ( opndx.kind == EXPR_CONST )
cmp DWORD PTR opndx$[rsp+60], 0
jne SHORT $LN12@OrgDirecti
; 123 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/posndir.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/posndir.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
_DATA SEGMENT
$SG10662 DB 'OrgDirective(%u) enter', 0aH, 00H
$SG10722 DB 'Ali... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/posndir.asm:3 | DB 00H
DB 0fH
DB 01fH
DB 00H
DB 066H
DB 090H
DB 090H
ORG $+3
NopLists DQ FLAT:NopList16
DQ FLAT:NopList32
DQ FLAT:NopList64
CONST ENDS
PUBLIC AlignCurrOffset
PUBLIC OrgDirective
PUBLIC AlignDirective
EXTRN DoDebugMsg1:PROC
EXTRN EmitError:PROC
EXTRN EmitErr:PROC
EXTRN EmitWarn:PROC
EXTRN OutputByte:PROC
EXTRN ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/posndir.asm:4 | EXTRN StoreState:BYTE
EXTRN __security_cookie:QWORD
pdata SEGMENT
$pdata$AlignCurrOffset DD imagerel $LN4
DD imagerel $LN4+117
DD imagerel $unwind$AlignCurrOffset
$pdata$OrgDirective DD imagerel $LN18
DD imagerel $LN18+532
DD imagerel $unwind$OrgDirective
$pdata$fill_in_objfile_space DD imagerel fill_in_objfile_spa... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/posndir.asm:5 | DB 070H
DB 06eH
DB 064H
DB 078H
DB 00H
ORG $+2
AlignDirective$rtcName$1 DB 062H
DB 075H
DB 066H
DB 066H
DB 065H
DB 072H
DB 00H
ORG $+1
AlignDirective$rtcVarDesc DD 0d8H
DD 020H
DQ FLAT:AlignDirective$rtcName$1
DD 050H
DD 068H
DQ FLAT:AlignDirective$rtcName$0
ORG $+96
AlignDirective$rtcFrameData DD 02H... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/posndir.asm:6 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\posndir.c
_TEXT SEGMENT
seg_align$ = 48
opndx$ = 80
CurrAddr$ = 196
buffer$ = 216
power$5 = 260
$T6 = 272
tv69 = 276
__$ArrayPad$ = 280
i$ = 304
tokenarray$ = 312
AlignDirective PROC
; 194 : {
$LN38:
mov QWORD PTR [rsp+16], rdx
mov DWORD PTR [rsp+8], ecx
push rdi
sub ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/posndir.asm:7 | ; 201 :
; 202 : switch( tokenarray[i].tokval ) {
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov eax, DWORD PTR [rcx+rax+16]
mov DWORD PTR tv69[rsp], eax
cmp DWORD PTR tv69[rsp], 434 ; 000001b2H
je SHORT $LN7@AlignDirec
cmp DWORD PTR tv69[rsp], 435 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/posndir.asm:8 | ; 207 : if ( opndx.kind == EXPR_CONST ) {
cmp DWORD PTR opndx$[rsp+60], 0
jne $LN9@AlignDirec
; 208 : int_32 power;
; 209 : /* check that the parm is a power of 2 */
; 210 : for( power = 1; power < align_value; power <<= 1 );
mov DWORD PTR power$5[rsp], 1
jmp SHORT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/posndir.asm:9 | cmp BYTE PTR $T6[rsp], 0
jne SHORT $LN31@AlignDirec
lea rcx, OFFSET FLAT:AlignDirective$rtcName$0
call _RTC_UninitUse
$LN31@AlignDirec:
mov edx, DWORD PTR opndx$[rsp]
mov ecx, 129 ; 00000081H
call EmitErr
jmp $LN1@AlignDirec
$LN11@AlignDirec:
; 213 : }
jmp SHORT $LN10@AlignDirec
$LN9@AlignDire... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/posndir.asm:10 | call GetCurrSegAlign
mov BYTE PTR $T6[rsp], 1
mov DWORD PTR opndx$[rsp], eax
$LN15@AlignDirec:
; 220 : } else {
jmp SHORT $LN13@AlignDirec
$LN12@AlignDirec:
; 221 : return( EmitError( CONSTANT_EXPECTED ) );
mov ecx, 65 ; 00000041H
call EmitError
jmp $LN1@AlignDirec
$LN13@AlignDirec:
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/posndir.asm:11 | ; 229 : if ( tokenarray[i].token != T_FINAL ) {
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
test eax, eax
je SHORT $LN17@AlignDirec
; 230 : return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].string_ptr ) );
movsxd ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/posndir.asm:12 | ; 236 :
; 237 : #if FASTPASS
; 238 : if ( StoreState == FALSE ) FStoreLine(0);
movzx eax, BYTE PTR StoreState
test eax, eax
jne SHORT $LN19@AlignDirec
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN20@AlignDirec
xor r8d, r8d
xor edx, edx
mov rcx, QWORD PTR ModuleInfo+464
call StoreLine
$LN20@AlignDirec:
$LN1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/posndir.asm:13 | call _RTC_UninitUse
$LN33@AlignDirec:
mov eax, DWORD PTR seg_align$[rsp]
cmp DWORD PTR opndx$[rsp], eax
jle SHORT $LN23@AlignDirec
; 245 : if (( Parse_Pass == PASS_1 )&& //We need 32 0r 64 bit for VEX and EVEX
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN24@AlignDirec
mov rax, QWORD PTR M... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/posndir.asm:14 | ; 249 : }
; 250 : /* v2.04: added, Skip backpatching after ALIGN occured */
; 251 : if ( Parse_Pass == PASS_1 && CurrSeg && CurrSeg->e.seginfo->FixupList.head )
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN25@AlignDirec
cmp QWORD PTR ModuleInfo+432, 0
je SHORT $LN25@AlignDirec
mov rax, QWORD PTR Module... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/posndir.asm:15 | xor edx, edx
mov eax, DWORD PTR CurrAddr$[rsp]
div DWORD PTR opndx$[rsp]
mov eax, edx
mov DWORD PTR seg_align$[rsp], eax
; 257 : if( seg_align ) {
cmp DWORD PTR seg_align$[rsp], 0
je SHORT $LN26@AlignDirec
; 258 : align_value -= seg_align;
cmp BYTE PTR $T6[rsp], 0
jne SHORT $LN36@AlignDirec
l... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/posndir.asm:16 | imul rax, rax, 2
lea rcx, OFFSET FLAT:ModuleInfo+96
cmp QWORD PTR [rcx+rax], 0
je SHORT $LN27@AlignDirec
; 262 : LstWrite( LSTTYPE_DATA, CurrAddr, NULL );
xor r8d, r8d
mov edx, DWORD PTR CurrAddr$[rsp]
xor ecx, ecx
call LstWrite
$LN27@AlignDirec:
; 263 : }
; 264 : DebugMsg1(("AlignDirective... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/posndir.asm:17 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\posndir.c
_TEXT SEGMENT
i$ = 32
nop_type$ = 36
size$ = 64
fill_in_objfile_space PROC
; 132 : {
mov DWORD PTR [rsp+8], ecx
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, DWORD PTR [rsp+64]
; 133 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/posndir.asm:18 | ; 145 : SetCurrOffset( CurrSeg, size, TRUE, TRUE );
mov r9b, 1
mov r8b, 1
mov edx, DWORD PTR size$[rsp]
mov rcx, QWORD PTR ModuleInfo+432
call SetCurrOffset
jmp $LN14@fill_in_ob
$LN13@fill_in_ob:
; 146 :
; 147 : } else if( CurrSeg->e.seginfo->segtype != SEGTYPE_CODE ) {
mov rax, QWORD PTR Modul... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/posndir.asm:19 | mov rax, QWORD PTR [rcx+rax*8]
movzx eax, BYTE PTR [rax+rdx]
cmp DWORD PTR size$[rsp], eax
jbe $LN3@fill_in_ob
; 155 : for( i = 1; i <= NopLists[ ModuleInfo.Ofssize ][0]; i++ ) {
mov DWORD PTR i$[rsp], 1
jmp SHORT $LN6@fill_in_ob
$LN4@fill_in_ob:
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/posndir.asm:20 | lea rcx, OFFSET FLAT:NopLists
mov edx, 1
imul rdx, rdx, 0
mov rax, QWORD PTR [rcx+rax*8]
movzx eax, BYTE PTR [rax+rdx]
mov ecx, DWORD PTR size$[rsp]
sub ecx, eax
mov eax, ecx
mov DWORD PTR size$[rsp], eax
; 159 : }
jmp $LN2@fill_in_ob
$LN3@fill_in_ob:
; 160 : if( size == 0 ) return;
cmp ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/posndir.asm:21 | mov DWORD PTR nop_type$[rsp], eax
$LN9@fill_in_ob:
mov eax, DWORD PTR size$[rsp]
cmp DWORD PTR nop_type$[rsp], eax
jbe SHORT $LN8@fill_in_ob
; 164 : i+=nop_type;
mov eax, DWORD PTR nop_type$[rsp]
mov ecx, DWORD PTR i$[rsp]
add ecx, eax
mov eax, ecx
mov DWORD PTR i$[rsp], eax
; 165 : }
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/posndir.asm:22 | movzx ecx, BYTE PTR [rax+rdx]
call OutputByte
; 169 : }
jmp SHORT $LN10@fill_in_ob
$LN11@fill_in_ob:
$LN16@fill_in_ob:
$LN14@fill_in_ob:
$LN1@fill_in_ob:
; 170 : }
; 171 : }
add rsp, 48 ; 00000030H
pop rdi
ret 0
fill_in_objfile_space ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; F... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/posndir.asm:23 | ; 95 : //struct asym *sym;
; 96 : //int_32 value = 0;
; 97 : struct expr opndx;
; 98 :
; 99 : DebugMsg1(("OrgDirective(%u) enter\n", i));
mov edx, DWORD PTR i$[rsp]
lea rcx, OFFSET FLAT:$SG10662
call DoDebugMsg1
; 100 : i++;
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/posndir.asm:24 | mov eax, -1
jmp $LN1@OrgDirecti
$LN2@OrgDirecti:
; 105 : if ( tokenarray[i].token != T_FINAL ) {
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
test eax, eax
je SHORT $LN3@OrgDirecti
; 106 : return( EmitErr( SYNTAX... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/posndir.asm:25 | jmp $LN1@OrgDirecti
$LN6@OrgDirecti:
; 111 : } else {
jmp $LN5@OrgDirecti
$LN4@OrgDirecti:
; 112 : if( CurrSeg == NULL ) {
cmp QWORD PTR ModuleInfo+432, 0
jne SHORT $LN7@OrgDirecti
; 113 : return( EmitError( MUST_BE_IN_SEGMENT_BLOCK ) );
mov ecx, 82 ; 00000052H
call EmitError
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/posndir.asm:26 | cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN11@OrgDirecti
mov rax, QWORD PTR ModuleInfo+432
mov rax, QWORD PTR [rax+96]
cmp QWORD PTR [rax+40], 0
je SHORT $LN11@OrgDirecti
; 120 : CurrSeg->e.seginfo->FixupList.head->orgoccured = TRUE;
mov rax, QWORD PTR ModuleInfo+432
mov rax, QWORD PTR [rax+96]
mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/posndir.asm:27 | jne SHORT $LN14@OrgDirecti
mov eax, DWORD PTR opndx$[rsp+72]
and eax, 1
test eax, eax
jne SHORT $LN14@OrgDirecti
; 125 : return( SetCurrOffset( CurrSeg, opndx.sym->offset + opndx.value, FALSE, FALSE ) );
mov rax, QWORD PTR opndx$[rsp+80]
mov eax, DWORD PTR [rax+16]
add eax, DWORD PTR opndx$[rsp]
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/posndir.asm:28 | ; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\posndir.c
_TEXT SEGMENT
seg_align$ = 32
alignment$ = 36
CurrAddr$ = 40
tv77 = 44
value$ = 64
AlignCurrOffset PROC
; 177 : {
$LN4:
mov DWORD PTR [rsp+8], ecx
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Debug/posndir.asm:29 | ; 183 : seg_align = CurrAddr % alignment;
xor edx, edx
mov eax, DWORD PTR CurrAddr$[rsp]
div DWORD PTR alignment$[rsp]
mov eax, edx
mov DWORD PTR seg_align$[rsp], eax
; 184 : if( seg_align ) {
cmp DWORD PTR seg_align$[rsp], 0
je SHORT $LN2@AlignCurrO
; 185 : alignment -= seg_align;
mov e... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/posndir.asm | 1,121 | 1,156 |
Terraspace/UASM:x64/Debug/posndir.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
_DATA SEGMENT
$SG10663 DB 'OrgDirective(%u) enter', 0aH, 00H
$SG10723 DB 'AlignDirective enter', 0... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/posndir.asm:2 | DB 00H
DB 02eH
DB 08dH
DB 044H
DB 020H
DB 00H
DB 08dH
DB 044H
DB 020H
DB 00H
DB 08dH
DB 040H
DB 00H
DB 08bH
DB 0ffH
DB 090H
ORG $+3
NopList64 DB 07H
DB 0fH
DB 01fH
DB 080H
DB 00H
DB 00H
DB 00H
DB 00H
DB 066H
DB 0fH
DB 01fH
DB 044H
DB 00H
DB 00H
DB 0fH
DB 01fH
DB 044H
DB 00H
DB 00H
DB ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/posndir.asm:3 | DB 0fH
DB 01fH
DB 00H
DB 066H
DB 090H
DB 090H
ORG $+3
NopLists DQ FLAT:NopList16
DQ FLAT:NopList32
DQ FLAT:NopList64
CONST ENDS
PUBLIC AlignCurrOffset
PUBLIC OrgDirective
PUBLIC AlignDirective
EXTRN DoDebugMsg1:PROC
EXTRN EmitError:PROC
EXTRN EmitErr:PROC
EXTRN EmitWarn:PROC
EXTRN OutputByte:PROC
EXTRN FillData... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/posndir.asm:4 | EXTRN __security_cookie:QWORD
pdata SEGMENT
$pdata$AlignCurrOffset DD imagerel $LN4
DD imagerel $LN4+117
DD imagerel $unwind$AlignCurrOffset
$pdata$OrgDirective DD imagerel $LN18
DD imagerel $LN18+532
DD imagerel $unwind$OrgDirective
$pdata$fill_in_objfile_space DD imagerel fill_in_objfile_space
DD imagerel fill_i... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/posndir.asm:5 | DB 06eH
DB 064H
DB 078H
DB 00H
ORG $+2
AlignDirective$rtcName$1 DB 062H
DB 075H
DB 066H
DB 066H
DB 065H
DB 072H
DB 00H
ORG $+1
AlignDirective$rtcVarDesc DD 0d8H
DD 020H
DQ FLAT:AlignDirective$rtcName$1
DD 050H
DD 068H
DQ FLAT:AlignDirective$rtcName$0
ORG $+96
AlignDirective$rtcFrameData DD 02H
DD 00H
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/posndir.asm:6 | _TEXT SEGMENT
seg_align$ = 48
opndx$ = 80
CurrAddr$ = 196
buffer$ = 216
power$5 = 260
$T6 = 272
tv69 = 276
__$ArrayPad$ = 280
i$ = 304
tokenarray$ = 312
AlignDirective PROC
; 194 : {
$LN38:
mov QWORD PTR [rsp+16], rdx
mov DWORD PTR [rsp+8], ecx
push rdi
sub rsp, 288 ; 00000120H
mov rdi, rsp
mov ecx, 72 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/posndir.asm:7 | ; 201 :
; 202 : switch( tokenarray[i].tokval ) {
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov eax, DWORD PTR [rcx+rax+16]
mov DWORD PTR tv69[rsp], eax
cmp DWORD PTR tv69[rsp], 434 ; 000001b2H
je SHORT $LN7@AlignDirec
cmp DWORD PTR tv69[rsp], 435 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/posndir.asm:8 | ; 207 : if ( opndx.kind == EXPR_CONST ) {
cmp DWORD PTR opndx$[rsp+60], 0
jne $LN9@AlignDirec
; 208 : int_32 power;
; 209 : /* check that the parm is a power of 2 */
; 210 : for( power = 1; power < align_value; power <<= 1 );
mov DWORD PTR power$5[rsp], 1
jmp SHORT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/posndir.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/posndir.asm | 281 | 340 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.