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/cpumodel.asm:39 | xor ecx, ecx
call SimGetSegName
mov rdx, rax
lea rcx, OFFSET FLAT:$SG11200
call AddPredefinedText
; 187 :
; 188 : /* Set @DataSize */
; 189 : switch( ModuleInfo.model ) {
mov eax, DWORD PTR ModuleInfo+360
mov DWORD PTR tv87[rsp], eax
cmp DWORD PTR tv87[rsp], 3
je SHORT $LN13@SetModel
cmp DWORD PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/cpumodel.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/cpumodel.asm | 1,521 | 1,580 |
Terraspace/UASM:x64/Debug/cpumodel.asm:40 | $LN15@SetModel:
; 197 : default:
; 198 : value = 0;
mov DWORD PTR value$[rsp], 0
$LN2@SetModel:
; 199 : break;
; 200 : }
; 201 : sym_DataSize = AddPredefinedConstant( "@DataSize", value );
mov edx, DWORD PTR value$[rsp]
lea rcx, OFFSET FLAT:$SG11204
call AddPredefinedConstant
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/cpumodel.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/cpumodel.asm | 1,561 | 1,620 |
Terraspace/UASM:x64/Debug/cpumodel.asm:41 | cmp DWORD PTR ModuleInfo+356, 1
jne SHORT $LN16@SetModel
; 207 : textvalue = "STACK";
lea rax, OFFSET FLAT:$SG11208
mov QWORD PTR textvalue$[rsp], rax
$LN16@SetModel:
; 208 : AddPredefinedText( "@stack", textvalue );
mov rdx, QWORD PTR textvalue$[rsp]
lea rcx, OFFSET FLAT:$SG11209
call AddPredef... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/cpumodel.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/cpumodel.asm | 1,601 | 1,660 |
Terraspace/UASM:x64/Debug/cpumodel.asm:42 | ; 221 : if ( ModuleInfo.defOfssize == USE64 && ModuleInfo.fctype == FCT_WIN64 ) {
movzx eax, BYTE PTR ModuleInfo+405
cmp eax, 2
jne SHORT $LN17@SetModel
cmp DWORD PTR ModuleInfo+376, 2
jne SHORT $LN17@SetModel
; 222 : sym_ReservedStack = AddPredefinedConstant( "@ReservedStack", 0 );
xor edx, edx
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/cpumodel.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/cpumodel.asm | 1,641 | 1,700 |
Terraspace/UASM:x64/Debug/end.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
_BSS SEGMENT
$SG11146 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG11050 DB 'mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/end.asm:2 | ORG $+6
$SG11063 DB 'mov %r,DGROUP', 00H
ORG $+2
$SG11064 DB 'mov %r,%r', 00H
ORG $+6
$SG11065 DB 'mov %r,%r', 00H
ORG $+6
$SG11066 DB 'sub %r,%r', 00H
ORG $+6
$SG11067 DB 'shl %r,4', 00H
ORG $+7
$SG11068 DB 'mov %r,%r', 00H
ORG $+6
$SG11069 DB 'add %r,%r', 00H
ORG $+6
$SG11071 DB 'mov %r,DGROUP', 00H
ORG $+2
$... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/end.asm:3 | ORG $+4
$SG11154 DB 'EndDirective: start label=%s, add=%Xh', 0aH, 00H
ORG $+1
$SG11165 DB 'EndDirective: start symbol=NULL', 0aH, 00H
ORG $+7
$SG11162 DB 'EndDirective: start address invalid, opndx.kind=%X indir'
DB 'ect=%u', 0aH, 00H
$SG11168 DB 'EndDirective: start address invalid, sym->state=%X', 0aH
DB 00H
ORG... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/end.asm:4 | DW 00H
ORG $+4
DQ FLAT:$SG11057
DW 0cH
DW 00H
ORG $+4
DQ FLAT:$SG11058
DW 00H
DW 00H
ORG $+4
DQ FLAT:$SG11059
DW 01bH
DW 0bH
ORG $+4
DQ FLAT:$SG11060
DW 0dH
DW 0cH
ORG $+4
DQ FLAT:$SG11061
DW 00H
DW 00H
ORG $+4
StartupDosNear1 DQ FLAT:$SG11063
DW 09H
DW 00H
ORG $+4
DQ FLAT:$SG11064
DW 01cH
DW... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/end.asm:5 | DW 00H
ORG $+4
DQ FLAT:$SG11068
DW 01bH
DW 09H
ORG $+4
DQ FLAT:$SG11069
DW 0dH
DW 0cH
ORG $+4
StartupDosFar DQ FLAT:$SG11071
DW 0bH
DW 00H
ORG $+4
DQ FLAT:$SG11072
DW 01cH
DW 0bH
ORG $+4
ExitOS2 DQ FLAT:$SG11074
DW 05H
DW 00H
ORG $+4
DQ FLAT:$SG11075
DW 00H
DW 00H
ORG $+4
DQ FLAT:$SG11076
DW 09... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/end.asm:6 | DW 00H
ORG $+4
szStartAddr DB '@Startup', 00H
CONST ENDS
PUBLIC StartupExitDirective
PUBLIC EndDirective
EXTRN DoDebugMsg:PROC
EXTRN DoDebugMsg1:PROC
EXTRN EmitError:PROC
EXTRN EmitErr:PROC
EXTRN EmitWarn:PROC
EXTRN SegmentModuleExit:PROC
EXTRN AddPublicData:PROC
EXTRN AddLineQueue:PROC
EXTRN AddLineQueueX:PROC
EXTRN ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/end.asm:7 | $unwind$EndDirective DD 022219H
DD 0290110H
DD imagerel __GSHandlerCheck
DD 0130H
xdata ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\end.c
_TEXT SEGMENT
opndx$ = 48
CodeInfo$1 = 160
__$ArrayPad$ = 304
i$ = 336
tokenarray$ = 344
EndDirective PROC
; 190 : {
$LN26:
mov QWORD PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/end.asm:8 | ; 197 : /* v2.08: END may generate code, so write listing first */
; 198 : LstWriteSrcLine();
call LstWriteSrcLine
; 199 :
; 200 : /* v2.05: first parse the arguments. this allows
; 201 : * SegmentModuleExit() later to run generated code.
; 202 : */
; 203 : if( ModuleInfo.StartupDire... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/end.asm:9 | ; 209 : tokenarray[i].token = T_ID;
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov BYTE PTR [rcx+rax], 8
; 210 : tokenarray[i].string_ptr = (char *)szStartAddr;
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWO... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/end.asm:10 | ; 214 : }
; 215 : /* v2.11: flag EXPF_NOUNDEF added - will return ERROR if start label isn't defined */
; 216 : 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 PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/end.asm:11 | ; 221 : }
; 222 :
; 223 : if ( CurrStruct ) {
cmp QWORD PTR CurrStruct, 0
je SHORT $LN8@EndDirecti
$LN2@EndDirecti:
; 224 : while ( CurrStruct->next )
mov rax, QWORD PTR CurrStruct
cmp QWORD PTR [rax+112], 0
je SHORT $LN3@EndDirecti
; 225 : CurrStruct = CurrStruct->next;
mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/end.asm:12 | ; 233 : ( opndx.mem_type == MT_NEAR || opndx.mem_type == MT_FAR || ( opndx.mem_type == MT_EMPTY && opndx.instr == T_OFFSET ) ) &&
; 234 : opndx.sym && ( opndx.sym->state == SYM_INTERNAL || opndx.sym->state == SYM_EXTERNAL ) ) {
cmp DWORD PTR opndx$[rsp+60], 1
jne $LN9@EndDirecti
mov eax, DWORD PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/end.asm:13 | cmp DWORD PTR Options+160, 1
jne $LN13@EndDirecti
; 239 : struct code_info CodeInfo;
; 240 : /* fixme: no need to create the fixup here, should be done in omf_write_modend() */
; 241 : //CodeInfo.token = T_NULL; /* v2.09: T_NULL has no entry in optable_idx[] */
; 242 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/end.asm:14 | xor edx, edx
lea rcx, QWORD PTR CodeInfo$1[rsp]
call idata_fixup
; 249 : #if FASTMEM==0
; 250 : LclFree( ModuleInfo.g.start_fixup );
; 251 : #endif
; 252 : ModuleInfo.g.start_fixup = CodeInfo.opnd[0].InsFixup;
mov eax, 24
imul rax, rax, 0
mov rax, QWORD PTR CodeInfo$1[rsp+rax+48]
mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/end.asm:15 | ; 260 : opndx.sym->ispublic = TRUE;
mov rax, QWORD PTR opndx$[rsp+80]
movzx eax, BYTE PTR [rax+48]
or al, 128 ; 00000080H
mov rcx, QWORD PTR opndx$[rsp+80]
mov BYTE PTR [rcx+48], al
; 261 : AddPublicData( opndx.sym );
mov rcx, QWORD PTR opndx$[rsp+80]
call AddPublicData
$... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/end.asm:16 | jne SHORT $LN17@EndDirecti
$LN19@EndDirecti:
; 268 : DebugMsg(("EndDirective: start address invalid, opndx.kind=%X indirect=%u\n", opndx.kind, opndx.indirect ));
mov eax, DWORD PTR opndx$[rsp+72]
and eax, 1
mov r8d, eax
mov edx, DWORD PTR opndx$[rsp+60]
lea rcx, OFFSET FLAT:$SG11162
call DoDebugMsg... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/end.asm:17 | call DoDebugMsg
; 273 : } else {
jmp SHORT $LN23@EndDirecti
$LN22@EndDirecti:
; 274 : DebugMsg(("EndDirective: start address not a code label, mem_type=%Xh\n", opndx.mem_type ));
mov edx, DWORD PTR opndx$[rsp+64]
lea rcx, OFFSET FLAT:$SG11169
call DoDebugMsg
$LN23@EndDirecti:
$LN21@EndDire... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/end.asm:18 | lea rcx, OFFSET FLAT:ModuleInfo
call QWORD PTR ModuleInfo+296
$LN24@EndDirecti:
; 285 :
; 286 : ModuleInfo.EndDirFound = TRUE;
mov eax, DWORD PTR ModuleInfo+408
bts eax, 16
mov DWORD PTR ModuleInfo+408, eax
; 287 :
; 288 : return( NOT_ERROR );
xor eax, eax
$LN1@EndDirecti:
; 289 : }
mov rcx, QW... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/end.asm:19 | ; 96 : {
$LN32:
mov QWORD PTR [rsp+16], rdx
mov DWORD PTR [rsp+8], ecx
sub rsp, 200 ; 000000c8H
; 97 : int count;
; 98 : ret_code rc = NOT_ERROR;
mov DWORD PTR rc$[rsp], 0
; 99 : int j;
; 100 : const struct code_line *p;
; 101 : struct expr opndx;
; 102 :
; 1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/end.asm:20 | ; 109 : return( EmitErr( DOES_NOT_WORK_WITH_32BIT_SEGMENTS, 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, 221 ; 000000ddH
call EmitErr
jmp $LN1@StartupExi
$LN11@StartupExi:
; 1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/end.asm:21 | lea rcx, OFFSET FLAT:$SG11107
call AddLineQueue
$LN13@StartupExi:
; 118 : AddLineQueueX( "%s::", szStartAddr );
lea rdx, OFFSET FLAT:szStartAddr
lea rcx, OFFSET FLAT:$SG11108
call AddLineQueueX
; 119 : if( ModuleInfo.ostype == OPSYS_DOS ) {
cmp DWORD PTR ModuleInfo+368, 0
jne $LN14@StartupEx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/end.asm:22 | lea rax, OFFSET FLAT:StartupDosNear0
mov QWORD PTR p$[rsp], rax
; 126 : count = sizeof( StartupDosNear0 ) / sizeof( StartupDosNear0[0] );
mov DWORD PTR count$[rsp], 12
; 127 : } else {
jmp SHORT $LN20@StartupExi
$LN19@StartupExi:
; 128 : p =... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/end.asm:23 | jmp SHORT $LN6@StartupExi
$LN4@StartupExi:
mov eax, DWORD PTR count$[rsp]
dec eax
mov DWORD PTR count$[rsp], eax
mov rax, QWORD PTR p$[rsp]
add rax, 16
mov QWORD PTR p$[rsp], rax
$LN6@StartupExi:
cmp DWORD PTR count$[rsp], 0
je SHORT $LN5@StartupExi
; 136 : AddLineQueueX( (char *)p->src, p... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/end.asm:24 | inc eax
mov DWORD PTR i$[rsp], eax
; 141 : break;
jmp $LN2@StartupExi
$LN21@StartupExi:
; 142 : case T_DOT_EXIT:
; 143 : if( ModuleInfo.ostype == OPSYS_DOS ) {
cmp DWORD PTR ModuleInfo+368, 0
jne SHORT $LN22@StartupExi
; 144 : p = ExitDos;
lea rax, OFFSET FLAT:ExitDos
mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/end.asm:25 | mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i$[rsp], eax
; 151 : 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 $LN24@StartupExi
; 152 : if( Mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/end.asm:26 | mov eax, DWORD PTR i$[rsp]
mov DWORD PTR j$[rsp], eax
; 157 : if ( EvalOperand( &i, tokenarray, Token_Count, &opndx, 0 ) == ERROR )
mov BYTE PTR [rsp+32], 0
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 EvalO... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/end.asm:27 | ; 162 : AddLineQueueX( "mov %r,%s", T_AL, tokenarray[j].tokpos );
movsxd rax, DWORD PTR j$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov r8, QWORD PTR [rcx+rax+24]
mov edx, 1
lea rcx, OFFSET FLAT:$SG11127
call AddLineQueueX
; 163 : AddLi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/end.asm:28 | dec eax
mov DWORD PTR count$[rsp], eax
mov rax, QWORD PTR p$[rsp]
add rax, 16
mov QWORD PTR p$[rsp], rax
$LN9@StartupExi:
cmp DWORD PTR count$[rsp], 0
je SHORT $LN8@StartupExi
; 171 : AddLineQueueX( (char *)p->src, p->r1, p->r2 );
mov rax, QWORD PTR p$[rsp]
movsx eax, WORD PTR [rax+10]
mov rcx, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Debug/end.asm:29 | movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+24]
mov ecx, 209 ; 000000d1H
call EmitErr
; 178 : rc = ERROR;
mov DWORD PTR rc$[rsp], -1
$LN30@StartupExi:
; 179 : }
; 180 :
; 181 : RunLineQueue();
call RunLi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/end.asm | 1,121 | 1,152 |
Terraspace/UASM:x64/Debug/end.asm:10 | ; 214 : }
; 215 : /* v2.11: flag EXPF_NOUNDEF added - will return ERROR if start label isn't defined */
; 216 : 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 PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/end.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/end.asm:11 | ; 221 : }
; 222 :
; 223 : if ( CurrStruct ) {
cmp QWORD PTR CurrStruct, 0
je SHORT $LN8@EndDirecti
$LN2@EndDirecti:
; 224 : while ( CurrStruct->next )
mov rax, QWORD PTR CurrStruct
cmp QWORD PTR [rax+104], 0
je SHORT $LN3@EndDirecti
; 225 : CurrStruct = CurrStruct->next;
mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/end.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/end.asm:12 | ; 233 : ( opndx.mem_type == MT_NEAR || opndx.mem_type == MT_FAR || ( opndx.mem_type == MT_EMPTY && opndx.instr == T_OFFSET ) ) &&
; 234 : opndx.sym && ( opndx.sym->state == SYM_INTERNAL || opndx.sym->state == SYM_EXTERNAL ) ) {
cmp DWORD PTR opndx$[rsp+60], 1
jne $LN9@EndDirecti
mov eax, DWORD PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/end.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/end.asm:14 | xor edx, edx
lea rcx, QWORD PTR CodeInfo$1[rsp]
call idata_fixup
; 249 : #if FASTMEM==0
; 250 : LclFree( ModuleInfo.g.start_fixup );
; 251 : #endif
; 252 : ModuleInfo.g.start_fixup = CodeInfo.opnd[0].InsFixup;
mov eax, 24
imul rax, rax, 0
mov rax, QWORD PTR CodeInfo$1[rsp+rax+48]
mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/end.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/end.asm:15 | ; 260 : opndx.sym->ispublic = TRUE;
mov rax, QWORD PTR opndx$[rsp+80]
movzx eax, BYTE PTR [rax+40]
or al, 128 ; 00000080H
mov rcx, QWORD PTR opndx$[rsp+80]
mov BYTE PTR [rcx+40], al
; 261 : AddPublicData( opndx.sym );
mov rcx, QWORD PTR opndx$[rsp+80]
call AddPublicData
$... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/end.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/end.asm:16 | jne SHORT $LN17@EndDirecti
$LN19@EndDirecti:
; 268 : DebugMsg(("EndDirective: start address invalid, opndx.kind=%X indirect=%u\n", opndx.kind, opndx.indirect ));
mov eax, DWORD PTR opndx$[rsp+72]
and eax, 1
mov r8d, eax
mov edx, DWORD PTR opndx$[rsp+60]
lea rcx, OFFSET FLAT:$SG11162
call DoDebugMsg... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/end.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/end.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
_BSS SEGMENT
$SG11108 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG11012 DB 'mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/end.asm:2 | ORG $+6
$SG11025 DB 'mov %r,DGROUP', 00H
ORG $+2
$SG11026 DB 'mov %r,%r', 00H
ORG $+6
$SG11027 DB 'mov %r,%r', 00H
ORG $+6
$SG11028 DB 'sub %r,%r', 00H
ORG $+6
$SG11029 DB 'shl %r,4', 00H
ORG $+7
$SG11030 DB 'mov %r,%r', 00H
ORG $+6
$SG11031 DB 'add %r,%r', 00H
ORG $+6
$SG11033 DB 'mov %r,DGROUP', 00H
ORG $+2
$... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/end.asm:3 | ORG $+4
$SG11116 DB 'EndDirective: start label=%s, add=%Xh', 0aH, 00H
ORG $+1
$SG11127 DB 'EndDirective: start symbol=NULL', 0aH, 00H
ORG $+7
$SG11124 DB 'EndDirective: start address invalid, opndx.kind=%X indir'
DB 'ect=%u', 0aH, 00H
$SG11130 DB 'EndDirective: start address invalid, sym->state=%X', 0aH
DB 00H
ORG... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/end.asm:4 | DW 00H
ORG $+4
DQ FLAT:$SG11019
DW 0cH
DW 00H
ORG $+4
DQ FLAT:$SG11020
DW 00H
DW 00H
ORG $+4
DQ FLAT:$SG11021
DW 01bH
DW 0bH
ORG $+4
DQ FLAT:$SG11022
DW 0dH
DW 0cH
ORG $+4
DQ FLAT:$SG11023
DW 00H
DW 00H
ORG $+4
StartupDosNear1 DQ FLAT:$SG11025
DW 09H
DW 00H
ORG $+4
DQ FLAT:$SG11026
DW 01cH
DW... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/end.asm:5 | DW 00H
ORG $+4
DQ FLAT:$SG11030
DW 01bH
DW 09H
ORG $+4
DQ FLAT:$SG11031
DW 0dH
DW 0cH
ORG $+4
StartupDosFar DQ FLAT:$SG11033
DW 0bH
DW 00H
ORG $+4
DQ FLAT:$SG11034
DW 01cH
DW 0bH
ORG $+4
ExitOS2 DQ FLAT:$SG11036
DW 05H
DW 00H
ORG $+4
DQ FLAT:$SG11037
DW 00H
DW 00H
ORG $+4
DQ FLAT:$SG11038
DW 09... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/end.asm:6 | DW 00H
ORG $+4
szStartAddr DB '@Startup', 00H
CONST ENDS
PUBLIC StartupExitDirective
PUBLIC EndDirective
EXTRN DoDebugMsg:PROC
EXTRN DoDebugMsg1:PROC
EXTRN EmitError:PROC
EXTRN EmitErr:PROC
EXTRN EmitWarn:PROC
EXTRN SegmentModuleExit:PROC
EXTRN AddPublicData:PROC
EXTRN AddLineQueue:PROC
EXTRN AddLineQueueX:PROC
EXTRN ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/end.asm:7 | ; COMDAT rtc$TMZ
rtc$TMZ SEGMENT
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$IMZ ENDS
xdata SEGMENT
$unwind$StartupExitDirective DD 032701H
DD 01c0111H
DD 0700aH
$unwind$EndDirective DD 033919H
DD 0300111H
DD 0700aH
DD im... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/end.asm:8 | ORG $+48
EndDirective$rtcName$1 DB 043H
DB 06fH
DB 064H
DB 065H
DB 049H
DB 06eH
DB 066H
DB 06fH
DB 00H
ORG $+7
EndDirective$rtcVarDesc DD 0d0H
DD 090H
DQ FLAT:EndDirective$rtcName$1
DD 040H
DD 068H
DQ FLAT:EndDirective$rtcName$0
ORG $+96
EndDirective$rtcFrameData DD 02H
DD 00H
DQ FLAT:EndDirective$rtcV... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/end.asm:9 | mov ecx, 96 ; 00000060H
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, DWORD PTR [rsp+400]
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 191 : struct expr opndx;
; 192 :
; 193 : DebugMsg1(("EndDirective enter\n"));
lea rcx, OFFSET FLAT:$S... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/end.asm:10 | ; 204 : /* start label behind END ignored if .STARTUP has been found */
; 205 : if( i < Token_Count && Parse_Pass == PASS_1 ) {
mov eax, DWORD PTR ModuleInfo+496
cmp DWORD PTR i$[rsp], eax
jge SHORT $LN5@EndDirecti
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN5@EndDirecti
; 206 : EmitW... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/end.asm:11 | mov eax, DWORD PTR i$[rsp]
inc eax
cdqe
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov BYTE PTR [rcx+rax], 0
; 212 : tokenarray[i+1].string_ptr = "";
mov eax, DWORD PTR i$[rsp]
inc eax
cdqe
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
lea rdx, OFFS... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/end.asm:12 | jmp $LN1@EndDirecti
$LN6@EndDirecti:
; 218 : }
; 219 : 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 $LN7@EndDirecti
; 220 : return( EmitErr( SYNTA... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/end.asm:13 | mov rax, QWORD PTR CurrStruct
mov rax, QWORD PTR [rax+104]
mov QWORD PTR CurrStruct, rax
jmp SHORT $LN2@EndDirecti
$LN3@EndDirecti:
; 226 : EmitErr( UNMATCHED_BLOCK_NESTING, CurrStruct->sym.name );
mov rax, QWORD PTR CurrStruct
mov rdx, QWORD PTR [rax+8]
mov ecx, 142 ; 0000008eH
call EmitErr
$LN8@E... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/end.asm:14 | $LN11@EndDirecti:
cmp QWORD PTR opndx$[rsp+80], 0
je $LN9@EndDirecti
mov rax, QWORD PTR opndx$[rsp+80]
cmp DWORD PTR [rax+32], 1
je SHORT $LN12@EndDirecti
mov rax, QWORD PTR opndx$[rsp+80]
cmp DWORD PTR [rax+32], 2
jne $LN9@EndDirecti
$LN12@EndDirecti:
; 235 :
; 236 : DebugMsg(("EndDirective: start l... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/end.asm:15 | ; 245 : CodeInfo.pinstr = &InstrTable[IndexFromToken( T_NOP )];
mov eax, 2
imul rax, rax, 188 ; 000000bcH
lea rcx, OFFSET FLAT:optable_idx
movzx eax, WORD PTR [rcx+rax]
imul rax, rax, 14
lea rcx, OFFSET FLAT:InstrTable
add rcx, rax
mov rax, rcx
mov QWORD PTR CodeInfo$5[rsp+16], rax
; 246 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/end.asm:16 | mov DWORD PTR ModuleInfo+216, eax
; 254 : } else {
jmp SHORT $LN14@EndDirecti
$LN13@EndDirecti:
; 255 : /* Masm silently ignores start for -coff if an offset was given */
; 256 : //if ( opndx.value )
; 257 : // emit a warning
; 258 :
; 259 : if ( opndx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/end.asm:17 | mov rax, QWORD PTR opndx$[rsp+80]
mov QWORD PTR ModuleInfo+208, rax
$LN14@EndDirecti:
; 264 : }
jmp $LN10@EndDirecti
$LN9@EndDirecti:
; 265 : } else if ( opndx.kind != EXPR_EMPTY ) {
cmp DWORD PTR opndx$[rsp+60], -2
je $LN16@EndDirecti
; 266 : #ifdef DEBUG_OUT
; 267 : if ( opndx.kind !=... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/end.asm:18 | jne SHORT $LN20@EndDirecti
; 270 : DebugMsg(("EndDirective: start symbol=NULL\n" ));
lea rcx, OFFSET FLAT:$SG11127
call DoDebugMsg
jmp SHORT $LN21@EndDirecti
$LN20@EndDirecti:
; 271 : } else if ( opndx.sym->state != SYM_INTERNAL && opndx.sym->state != SYM_EXTERNAL ) {
mov rax, QWORD PTR op... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/end.asm:19 | ; 276 : #endif
; 277 : return( EmitError( OPERAND_MUST_BE_RELOCATABLE ) );
mov ecx, 188 ; 000000bcH
call EmitError
jmp SHORT $LN1@EndDirecti
$LN16@EndDirecti:
$LN10@EndDirecti:
; 278 : }
; 279 :
; 280 : /* close open segments */
; 281 : SegmentModuleExit();
call SegmentModuleExit
; ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/end.asm:20 | ; 289 : }
mov rdi, rax
mov rcx, rsp
lea rdx, OFFSET FLAT:EndDirective$rtcFrameData
call _RTC_CheckStackVars
mov rax, rdi
mov rcx, QWORD PTR __$ArrayPad$[rsp]
xor rcx, rsp
call __security_check_cookie
add rsp, 384 ; 00000180H
pop rdi
ret 0
EndDirective ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTC... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/end.asm:21 | mov ecx, DWORD PTR [rsp+240]
; 97 : int count;
; 98 : ret_code rc = NOT_ERROR;
mov DWORD PTR rc$[rsp], 0
; 99 : int j;
; 100 : const struct code_line *p;
; 101 : struct expr opndx;
; 102 :
; 103 : LstWriteSrcLine();
call LstWriteSrcLine
; 104 :
; 105 : i... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/end.asm:22 | mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 221 ; 000000ddH
call EmitErr
jmp $LN1@StartupExi
$LN11@StartupExi:
; 110 : }
; 111 :
; 112 : 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]
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/end.asm:23 | lea rdx, OFFSET FLAT:szStartAddr
lea rcx, OFFSET FLAT:$SG11070
call AddLineQueueX
; 119 : if( ModuleInfo.ostype == OPSYS_DOS ) {
cmp DWORD PTR ModuleInfo+368, 0
jne $LN14@StartupExi
; 120 : if ( ModuleInfo.model == MODEL_TINY )
cmp DWORD PTR ModuleInfo+360, 1
jne SHORT $LN15@StartupExi
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/end.asm:24 | mov DWORD PTR count$[rsp], 12
; 127 : } else {
jmp SHORT $LN20@StartupExi
$LN19@StartupExi:
; 128 : p = StartupDosNear1;
lea rax, OFFSET FLAT:StartupDosNear1
mov QWORD PTR p$[rsp], rax
; 129 : count = sizeof( StartupDosNear1 ) / sizeof( Star... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/end.asm:25 | mov DWORD PTR count$[rsp], eax
mov rax, QWORD PTR p$[rsp]
add rax, 16
mov QWORD PTR p$[rsp], rax
$LN6@StartupExi:
cmp DWORD PTR count$[rsp], 0
je SHORT $LN5@StartupExi
; 136 : AddLineQueueX( (char *)p->src, p->r1, p->r2 );
mov rax, QWORD PTR p$[rsp]
movsx eax, WORD PTR [rax+10]
mov rcx, Q... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/end.asm:26 | jmp $LN2@StartupExi
$LN21@StartupExi:
; 142 : case T_DOT_EXIT:
; 143 : if( ModuleInfo.ostype == OPSYS_DOS ) {
cmp DWORD PTR ModuleInfo+368, 0
jne SHORT $LN22@StartupExi
; 144 : p = ExitDos;
lea rax, OFFSET FLAT:ExitDos
mov QWORD PTR p$[rsp], rax
; 145 : count = sizeof( E... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/end.asm:27 | ; 151 : 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 $LN24@StartupExi
; 152 : if( ModuleInfo.ostype == OPSYS_OS2 ) {
cmp DWORD PTR ModuleInfo+368, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/end.asm:28 | mov BYTE PTR [rsp+32], 0
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 $LN27@StartupExi
; 158 : return( ERROR );
mov eax, -1
jmp $LN1@StartupExi
$LN27@StartupExi:
; 15... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Debug/end.asm:29 | mov r8, QWORD PTR [rcx+rax+24]
mov edx, 1
lea rcx, OFFSET FLAT:$SG11089
call AddLineQueueX
; 163 : AddLineQueueX( "mov %r,4Ch", T_AH );
mov edx, 5
lea rcx, OFFSET FLAT:$SG11090
call AddLineQueueX
$LN29@StartupExi:
$LN26@StartupExi:
; 164 : }
; 165 : }
; 166 :... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Debug/end.asm:30 | $LN9@StartupExi:
cmp DWORD PTR count$[rsp], 0
je SHORT $LN8@StartupExi
; 171 : AddLineQueueX( (char *)p->src, p->r1, p->r2 );
mov rax, QWORD PTR p$[rsp]
movsx eax, WORD PTR [rax+10]
mov rcx, QWORD PTR p$[rsp]
movsx ecx, WORD PTR [rcx+8]
mov r8d, eax
mov edx, ecx
mov rax, QWORD PTR p$[rsp]
mov r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Debug/end.asm:31 | mov ecx, 209 ; 000000d1H
call EmitErr
; 178 : rc = ERROR;
mov DWORD PTR rc$[rsp], -1
$LN30@StartupExi:
; 179 : }
; 180 :
; 181 : RunLineQueue();
call RunLineQueue
; 182 :
; 183 : return( rc );
mov eax, DWORD PTR rc$[rsp]
$LN1@StartupExi:
; 184 : }
mov rdi, rax
mov rcx, rsp
l... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/end.asm | 1,201 | 1,233 |
Terraspace/UASM:x64/Debug/end.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
_BSS SEGMENT
$SG11109 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG11013 DB 'mov %r,DGROUP', 00H
ORG... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/end.asm:2 | $SG11026 DB 'mov %r,DGROUP', 00H
ORG $+2
$SG11027 DB 'mov %r,%r', 00H
ORG $+6
$SG11028 DB 'mov %r,%r', 00H
ORG $+6
$SG11029 DB 'sub %r,%r', 00H
ORG $+6
$SG11030 DB 'shl %r,4', 00H
ORG $+7
$SG11031 DB 'mov %r,%r', 00H
ORG $+6
$SG11032 DB 'add %r,%r', 00H
ORG $+6
$SG11034 DB 'mov %r,DGROUP', 00H
ORG $+2
$SG11035 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/end.asm:3 | $SG11117 DB 'EndDirective: start label=%s, add=%Xh', 0aH, 00H
ORG $+1
$SG11128 DB 'EndDirective: start symbol=NULL', 0aH, 00H
ORG $+7
$SG11125 DB 'EndDirective: start address invalid, opndx.kind=%X indir'
DB 'ect=%u', 0aH, 00H
$SG11131 DB 'EndDirective: start address invalid, sym->state=%X', 0aH
DB 00H
ORG $+4
$SG... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/end.asm:4 | ORG $+4
DQ FLAT:$SG11020
DW 0cH
DW 00H
ORG $+4
DQ FLAT:$SG11021
DW 00H
DW 00H
ORG $+4
DQ FLAT:$SG11022
DW 01bH
DW 0bH
ORG $+4
DQ FLAT:$SG11023
DW 0dH
DW 0cH
ORG $+4
DQ FLAT:$SG11024
DW 00H
DW 00H
ORG $+4
StartupDosNear1 DQ FLAT:$SG11026
DW 09H
DW 00H
ORG $+4
DQ FLAT:$SG11027
DW 01cH
DW 09H
OR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/end.asm:5 | ORG $+4
DQ FLAT:$SG11031
DW 01bH
DW 09H
ORG $+4
DQ FLAT:$SG11032
DW 0dH
DW 0cH
ORG $+4
StartupDosFar DQ FLAT:$SG11034
DW 0bH
DW 00H
ORG $+4
DQ FLAT:$SG11035
DW 01cH
DW 0bH
ORG $+4
ExitOS2 DQ FLAT:$SG11037
DW 05H
DW 00H
ORG $+4
DQ FLAT:$SG11038
DW 00H
DW 00H
ORG $+4
DQ FLAT:$SG11039
DW 09H
DW 00... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/end.asm:6 | ORG $+4
szStartAddr DB '@Startup', 00H
CONST ENDS
PUBLIC StartupExitDirective
PUBLIC EndDirective
EXTRN DoDebugMsg:PROC
EXTRN DoDebugMsg1:PROC
EXTRN EmitError:PROC
EXTRN EmitErr:PROC
EXTRN EmitWarn:PROC
EXTRN SegmentModuleExit:PROC
EXTRN AddPublicData:PROC
EXTRN AddLineQueue:PROC
EXTRN AddLineQueueX:PROC
EXTRN RunLineQ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/end.asm:7 | rtc$TMZ SEGMENT
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$IMZ ENDS
xdata SEGMENT
$unwind$StartupExitDirective DD 032701H
DD 01c0111H
DD 0700aH
$unwind$EndDirective DD 033919H
DD 0300111H
DD 0700aH
DD imagerel __GSHandle... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/end.asm:8 | EndDirective$rtcName$1 DB 043H
DB 06fH
DB 064H
DB 065H
DB 049H
DB 06eH
DB 066H
DB 06fH
DB 00H
ORG $+7
EndDirective$rtcVarDesc DD 0d0H
DD 090H
DQ FLAT:EndDirective$rtcName$1
DD 040H
DD 068H
DQ FLAT:EndDirective$rtcName$0
ORG $+96
EndDirective$rtcFrameData DD 02H
DD 00H
DQ FLAT:EndDirective$rtcVarDesc
CO... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/end.asm:9 | mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, DWORD PTR [rsp+400]
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 191 : struct expr opndx;
; 192 :
; 193 : DebugMsg1(("EndDirective enter\n"));
lea rcx, OFFSET FLAT:$SG11106
call DoDebugMsg1
; 1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/end.asm:10 | ; 205 : if( i < Token_Count && Parse_Pass == PASS_1 ) {
mov eax, DWORD PTR ModuleInfo+496
cmp DWORD PTR i$[rsp], eax
jge SHORT $LN5@EndDirecti
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN5@EndDirecti
; 206 : EmitWarn( 2, START_ADDRESS_IGNORED );
mov edx, 242 ; 000000f2H
mov ecx, 2
call ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/end.asm:11 | inc eax
cdqe
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov BYTE PTR [rcx+rax], 0
; 212 : tokenarray[i+1].string_ptr = "";
mov eax, DWORD PTR i$[rsp]
inc eax
cdqe
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
lea rdx, OFFSET FLAT:$SG11109
mov QWORD ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/end.asm:12 | $LN6@EndDirecti:
; 218 : }
; 219 : 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 $LN7@EndDirecti
; 220 : return( EmitErr( SYNTAX_ERROR_EX, tokenarr... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/end.asm:13 | mov rax, QWORD PTR [rax+104]
mov QWORD PTR CurrStruct, rax
jmp SHORT $LN2@EndDirecti
$LN3@EndDirecti:
; 226 : EmitErr( UNMATCHED_BLOCK_NESTING, CurrStruct->sym.name );
mov rax, QWORD PTR CurrStruct
mov rdx, QWORD PTR [rax+8]
mov ecx, 142 ; 0000008eH
call EmitErr
$LN8@EndDirecti:
; 227 : }
; 22... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/end.asm:14 | cmp QWORD PTR opndx$[rsp+80], 0
je $LN9@EndDirecti
mov rax, QWORD PTR opndx$[rsp+80]
cmp DWORD PTR [rax+32], 1
je SHORT $LN12@EndDirecti
mov rax, QWORD PTR opndx$[rsp+80]
cmp DWORD PTR [rax+32], 2
jne $LN9@EndDirecti
$LN12@EndDirecti:
; 235 :
; 236 : DebugMsg(("EndDirective: start label=%s, add=%" I32... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/end.asm:15 | mov eax, 2
imul rax, rax, 188 ; 000000bcH
lea rcx, OFFSET FLAT:optable_idx
movzx eax, WORD PTR [rcx+rax]
imul rax, rax, 14
lea rcx, OFFSET FLAT:InstrTable
add rcx, rax
mov rax, rcx
mov QWORD PTR CodeInfo$5[rsp+16], rax
; 246 : CodeInfo.flags = 0;
mov BYTE PTR CodeInfo$5[rsp+142], 0
; 247 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/end.asm:16 | ; 254 : } else {
jmp SHORT $LN14@EndDirecti
$LN13@EndDirecti:
; 255 : /* Masm silently ignores start for -coff if an offset was given */
; 256 : //if ( opndx.value )
; 257 : // emit a warning
; 258 :
; 259 : if ( opndx.sym->state != SYM_EXTERNAL && opnd... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/end.asm:17 | mov rax, QWORD PTR opndx$[rsp+80]
mov QWORD PTR ModuleInfo+208, rax
$LN14@EndDirecti:
; 264 : }
jmp $LN10@EndDirecti
$LN9@EndDirecti:
; 265 : } else if ( opndx.kind != EXPR_EMPTY ) {
cmp DWORD PTR opndx$[rsp+60], -2
je $LN16@EndDirecti
; 266 : #ifdef DEBUG_OUT
; 267 : if ( opndx.kind !=... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/end.asm:18 | ; 270 : DebugMsg(("EndDirective: start symbol=NULL\n" ));
lea rcx, OFFSET FLAT:$SG11128
call DoDebugMsg
jmp SHORT $LN21@EndDirecti
$LN20@EndDirecti:
; 271 : } else if ( opndx.sym->state != SYM_INTERNAL && opndx.sym->state != SYM_EXTERNAL ) {
mov rax, QWORD PTR opndx$[rsp+80]
cmp DWORD PTR ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/end.asm:19 | ; 277 : return( EmitError( OPERAND_MUST_BE_RELOCATABLE ) );
mov ecx, 188 ; 000000bcH
call EmitError
jmp SHORT $LN1@EndDirecti
$LN16@EndDirecti:
$LN10@EndDirecti:
; 278 : }
; 279 :
; 280 : /* close open segments */
; 281 : SegmentModuleExit();
call SegmentModuleExit
; 282 :
; 283 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/end.asm:21 | ; 97 : int count;
; 98 : ret_code rc = NOT_ERROR;
mov DWORD PTR rc$[rsp], 0
; 99 : int j;
; 100 : const struct code_line *p;
; 101 : struct expr opndx;
; 102 :
; 103 : LstWriteSrcLine();
call LstWriteSrcLine
; 104 :
; 105 : if( ModuleInfo.model == MODEL_N... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/end.asm:22 | mov ecx, 221 ; 000000ddH
call EmitErr
jmp $LN1@StartupExi
$LN11@StartupExi:
; 110 : }
; 111 :
; 112 : 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 tv80[rsp], eax
c... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/end.asm:23 | lea rdx, OFFSET FLAT:szStartAddr
lea rcx, OFFSET FLAT:$SG11071
call AddLineQueueX
; 119 : if( ModuleInfo.ostype == OPSYS_DOS ) {
cmp DWORD PTR ModuleInfo+368, 0
jne $LN14@StartupExi
; 120 : if ( ModuleInfo.model == MODEL_TINY )
cmp DWORD PTR ModuleInfo+360, 1
jne SHORT $LN15@StartupExi
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/end.asm:24 | ; 127 : } else {
jmp SHORT $LN20@StartupExi
$LN19@StartupExi:
; 128 : p = StartupDosNear1;
lea rax, OFFSET FLAT:StartupDosNear1
mov QWORD PTR p$[rsp], rax
; 129 : count = sizeof( StartupDosNear1 ) / sizeof( StartupDosNear1[0] );
mov DWORD P... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/end.asm:25 | mov rax, QWORD PTR p$[rsp]
add rax, 16
mov QWORD PTR p$[rsp], rax
$LN6@StartupExi:
cmp DWORD PTR count$[rsp], 0
je SHORT $LN5@StartupExi
; 136 : AddLineQueueX( (char *)p->src, p->r1, p->r2 );
mov rax, QWORD PTR p$[rsp]
movsx eax, WORD PTR [rax+10]
mov rcx, QWORD PTR p$[rsp]
movsx ecx, WOR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/end.asm:26 | $LN21@StartupExi:
; 142 : case T_DOT_EXIT:
; 143 : if( ModuleInfo.ostype == OPSYS_DOS ) {
cmp DWORD PTR ModuleInfo+368, 0
jne SHORT $LN22@StartupExi
; 144 : p = ExitDos;
lea rax, OFFSET FLAT:ExitDos
mov QWORD PTR p$[rsp], rax
; 145 : count = sizeof( ExitDos ) / sizeof( E... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/end.asm:27 | 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 $LN24@StartupExi
; 152 : if( ModuleInfo.ostype == OPSYS_OS2 ) {
cmp DWORD PTR ModuleInfo+368, 1
jne SHORT $LN25@StartupExi
; 153 : Add... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/end.asm:28 | mov BYTE PTR [rsp+32], 0
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 $LN27@StartupExi
; 158 : return( ERROR );
mov eax, -1
jmp $LN1@StartupExi
$LN27@StartupExi:
; 15... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Debug/end.asm:29 | mov edx, 1
lea rcx, OFFSET FLAT:$SG11090
call AddLineQueueX
; 163 : AddLineQueueX( "mov %r,4Ch", T_AH );
mov edx, 5
lea rcx, OFFSET FLAT:$SG11091
call AddLineQueueX
$LN29@StartupExi:
$LN26@StartupExi:
; 164 : }
; 165 : }
; 166 : p++;
mov rax, QWO... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Debug/end.asm:30 | cmp DWORD PTR count$[rsp], 0
je SHORT $LN8@StartupExi
; 171 : AddLineQueueX( (char *)p->src, p->r1, p->r2 );
mov rax, QWORD PTR p$[rsp]
movsx eax, WORD PTR [rax+10]
mov rcx, QWORD PTR p$[rsp]
movsx ecx, WORD PTR [rcx+8]
mov r8d, eax
mov edx, ecx
mov rax, QWORD PTR p$[rsp]
mov rcx, QWORD PTR [rax... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Debug/end.asm:31 | call EmitErr
; 178 : rc = ERROR;
mov DWORD PTR rc$[rsp], -1
$LN30@StartupExi:
; 179 : }
; 180 :
; 181 : RunLineQueue();
call RunLineQueue
; 182 :
; 183 : return( rc );
mov eax, DWORD PTR rc$[rsp]
$LN1@StartupExi:
; 184 : }
mov rdi, rax
mov rcx, rsp
lea rdx, OFFSET FLAT:StartupEx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/end.asm | 1,201 | 1,232 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.