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/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 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/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, 243 ; 000000f3H
mov ecx, 2
call ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/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 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/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 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/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, 143 ; 0000008fH
call EmitErr
$LN8@EndDirecti:
; 227 : }
; 22... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/end.asm | 481 | 540 |
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 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/end.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/end.asm:19 | ; 277 : return( EmitError( OPERAND_MUST_BE_RELOCATABLE ) );
mov ecx, 189 ; 000000bdH
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 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/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 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/end.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/end.asm:22 | mov ecx, 222 ; 000000deH
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 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/end.asm | 841 | 900 |
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 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/end.asm | 1,161 | 1,220 |
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
_DATA ENDS
_BSS SEGMENT
$SG11107 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG11011 DB 'mov %r,DGROUP', 00H
ORG $+2
$SG11012 D... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/end.asm:2 | ORG $+2
$SG11025 DB 'mov %r,%r', 00H
ORG $+6
$SG11026 DB 'mov %r,%r', 00H
ORG $+6
$SG11027 DB 'sub %r,%r', 00H
ORG $+6
$SG11028 DB 'shl %r,4', 00H
ORG $+7
$SG11029 DB 'mov %r,%r', 00H
ORG $+6
$SG11030 DB 'add %r,%r', 00H
ORG $+6
$SG11032 DB 'mov %r,DGROUP', 00H
ORG $+2
$SG11033 DB 'mov %r,%r', 00H
ORG $+6
$SG11... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/end.asm:3 | ORG $+1
$SG11126 DB 'EndDirective: start symbol=NULL', 0aH, 00H
ORG $+7
$SG11123 DB 'EndDirective: start address invalid, opndx.kind=%X indir'
DB 'ect=%u', 0aH, 00H
$SG11129 DB 'EndDirective: start address invalid, sym->state=%X', 0aH
DB 00H
ORG $+4
$SG11130 DB 'EndDirective: start address not a code label, mem_typ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/end.asm:4 | DQ FLAT:$SG11018
DW 0cH
DW 00H
ORG $+4
DQ FLAT:$SG11019
DW 00H
DW 00H
ORG $+4
DQ FLAT:$SG11020
DW 01bH
DW 0bH
ORG $+4
DQ FLAT:$SG11021
DW 0dH
DW 0cH
ORG $+4
DQ FLAT:$SG11022
DW 00H
DW 00H
ORG $+4
StartupDosNear1 DQ FLAT:$SG11024
DW 09H
DW 00H
ORG $+4
DQ FLAT:$SG11025
DW 01cH
DW 09H
ORG $+4
DQ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/end.asm:5 | DQ FLAT:$SG11029
DW 01bH
DW 09H
ORG $+4
DQ FLAT:$SG11030
DW 0dH
DW 0cH
ORG $+4
StartupDosFar DQ FLAT:$SG11032
DW 0bH
DW 00H
ORG $+4
DQ FLAT:$SG11033
DW 01cH
DW 0bH
ORG $+4
ExitOS2 DQ FLAT:$SG11035
DW 05H
DW 00H
ORG $+4
DQ FLAT:$SG11036
DW 00H
DW 00H
ORG $+4
DQ FLAT:$SG11037
DW 09H
DW 00H
ORG $+... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/end.asm:6 | 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 RunLineQueue:PRO... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/end.asm:7 | _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 __GSHandlerCheck
DD 0170H... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/end.asm:8 | 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
CONST ENDS
; Function compile flag... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/end.asm:9 | 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:$SG11104
call DoDebugMsg1
; 194 :
; 195 : i++; /* skip dire... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/end.asm:10 | 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 EmitWarn
$LN5@EndDirecti:
; 207 : }
; 208 : i = ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/end.asm:11 | 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:$SG11107
mov QWORD PTR [rcx+... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/end.asm:12 | ; 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, tokenarray[i].tokpos ) );
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/end.asm:13 | 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 : }
; 228 : /* v2.10: check for o... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/end.asm:14 | 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_SPEC "Xh\n", opndx.sym->name, op... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/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 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/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 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/end.asm:17 | 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 != EXPR_ADDR || opndx.indirect == TRU... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/end.asm:18 | ; 270 : DebugMsg(("EndDirective: start symbol=NULL\n" ));
lea rcx, OFFSET FLAT:$SG11126
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 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/end.asm:19 | 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 : if ( ModuleInfo.g.EndDirHook )
cmp QWORD PTR ModuleInfo+296, 0
j... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/end.asm:20 | 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 /RTCsu
; File d:\... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/end.asm:22 | 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
cmp DWORD PTR tv80[rsp], 340 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/end.asm:23 | lea rcx, OFFSET FLAT:$SG11069
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
; 121 : ;
jmp $... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/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 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/end.asm:25 | 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, WORD PTR [rcx+8]
mov r8d, eax
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/end.asm:26 | ; 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( ExitDos[0] );
mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/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 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/end.asm:28 | 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:
; 159 : if ( ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Debug/end.asm:29 | lea rcx, OFFSET FLAT:$SG11088
call AddLineQueueX
; 163 : AddLineQueueX( "mov %r,4Ch", T_AH );
mov edx, 5
lea rcx, OFFSET FLAT:$SG11089
call AddLineQueueX
$LN29@StartupExi:
$LN26@StartupExi:
; 164 : }
; 165 : }
; 166 : p++;
mov rax, QWORD PTR p$[rs... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Debug/end.asm:30 | 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]
call AddLineQueueX
; 172 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Debug/end.asm:31 | ; 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:StartupExitDirective$rt... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/end.asm | 1,201 | 1,231 |
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
_DATA ENDS
_BSS SEGMENT
$SG11102 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG11006 DB 'mov %r,DGROUP', 00H
ORG $+2
$SG11007 D... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/end.asm:2 | ORG $+2
$SG11020 DB 'mov %r,%r', 00H
ORG $+6
$SG11021 DB 'mov %r,%r', 00H
ORG $+6
$SG11022 DB 'sub %r,%r', 00H
ORG $+6
$SG11023 DB 'shl %r,4', 00H
ORG $+7
$SG11024 DB 'mov %r,%r', 00H
ORG $+6
$SG11025 DB 'add %r,%r', 00H
ORG $+6
$SG11027 DB 'mov %r,DGROUP', 00H
ORG $+2
$SG11028 DB 'mov %r,%r', 00H
ORG $+6
$SG11... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/end.asm:3 | ORG $+1
$SG11121 DB 'EndDirective: start symbol=NULL', 0aH, 00H
ORG $+7
$SG11118 DB 'EndDirective: start address invalid, opndx.kind=%X indir'
DB 'ect=%u', 0aH, 00H
$SG11124 DB 'EndDirective: start address invalid, sym->state=%X', 0aH
DB 00H
ORG $+4
$SG11125 DB 'EndDirective: start address not a code label, mem_typ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/end.asm:4 | DQ FLAT:$SG11013
DW 0cH
DW 00H
ORG $+4
DQ FLAT:$SG11014
DW 00H
DW 00H
ORG $+4
DQ FLAT:$SG11015
DW 01bH
DW 0bH
ORG $+4
DQ FLAT:$SG11016
DW 0dH
DW 0cH
ORG $+4
DQ FLAT:$SG11017
DW 00H
DW 00H
ORG $+4
StartupDosNear1 DQ FLAT:$SG11019
DW 09H
DW 00H
ORG $+4
DQ FLAT:$SG11020
DW 01cH
DW 09H
ORG $+4
DQ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/end.asm:5 | DQ FLAT:$SG11024
DW 01bH
DW 09H
ORG $+4
DQ FLAT:$SG11025
DW 0dH
DW 0cH
ORG $+4
StartupDosFar DQ FLAT:$SG11027
DW 0bH
DW 00H
ORG $+4
DQ FLAT:$SG11028
DW 01cH
DW 0bH
ORG $+4
ExitOS2 DQ FLAT:$SG11030
DW 05H
DW 00H
ORG $+4
DQ FLAT:$SG11031
DW 00H
DW 00H
ORG $+4
DQ FLAT:$SG11032
DW 09H
DW 00H
ORG $+... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/end.asm:8 | 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
CONST ENDS
; Function compile flag... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/end.asm:9 | 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:$SG11099
call DoDebugMsg1
; 194 :
; 195 : i++; /* skip dire... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/end.asm:10 | 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 EmitWarn
$LN5@EndDirecti:
; 207 : }
; 208 : i = ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/end.asm:11 | 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:$SG11102
mov QWORD PTR [rcx+... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/end.asm:13 | 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 : }
; 228 : /* v2.10: check for o... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/end.asm:14 | 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_SPEC "Xh\n", opndx.sym->name, op... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/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, 10
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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/end.asm:17 | 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 != EXPR_ADDR || opndx.indirect == TRU... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/end.asm:18 | ; 270 : DebugMsg(("EndDirective: start symbol=NULL\n" ));
lea rcx, OFFSET FLAT:$SG11121
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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/end.asm:22 | 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
cmp DWORD PTR tv80[rsp], 340 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/end.asm:23 | lea rcx, OFFSET FLAT:$SG11064
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
; 121 : ;
jmp $... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/end.asm:26 | ; 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( ExitDos[0] );
mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/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 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/end.asm:28 | 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:
; 159 : if ( ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Debug/end.asm:29 | lea rcx, OFFSET FLAT:$SG11083
call AddLineQueueX
; 163 : AddLineQueueX( "mov %r,4Ch", T_AH );
mov edx, 5
lea rcx, OFFSET FLAT:$SG11084
call AddLineQueueX
$LN29@StartupExi:
$LN26@StartupExi:
; 164 : }
; 165 : }
; 166 : p++;
mov rax, QWORD PTR p$[rs... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/end.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/end.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Debug/errmsg.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMTD
INCLUDELIB OLDNAMES
PUBLIC banner_printed
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_BSS SEGMENT
banner_printed DB 01H DUP (?)
$SG11032 DB ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/errmsg.asm:2 | $SG11083 DB 'InternalError enter', 0aH, 00H
_DATA ENDS
CONST SEGMENT
usage DB ' HJWasm [options] asm-file [options] [asm-file] ... [@'
DB 'env_var]', 0aH, 0aH, 00H, 'options:', 00H, '-<0|1|..|10>[p]', 00H
DB 'Set CPU: 0=8086 (default), 1=80186, 2=80286, 3=80386,', 00H, 00H
DB '4=80486, 5=Pentium, 6=PPro, 7=P2, 8=P... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/errmsg.asm:3 | DB '-Zd', 00H, 'Add line number debug info (OMF & COFF only)', 00H
DB '-Zf', 00H, 'Make all symbols public', 00H, '-zf<0|1>', 00H, 'S'
DB 'et FASTCALL type: 0=MS VC style (default),', 00H, 00H, '1=OW '
DB 'register calling convention', 00H, '-Zg', 00H, 'Generated cod'
DB 'e is to exactly match Masm''s one', 00H, '-... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/errmsg.asm:4 | PUBLIC __local_stdio_printf_options
PUBLIC _vfprintf_l
PUBLIC vprintf
PUBLIC fprintf
PUBLIC printf
PUBLIC _vsnprintf_l
PUBLIC _vsprintf_l
PUBLIC vsprintf
PUBLIC sprintf
PUBLIC DoDebugMsg
PUBLIC DoDebugMsg1
PUBLIC Fatal
PUBLIC EmitError
PUBLIC EmitErr
PUBLIC EmitWarn
PUBLIC PrintNote
PUBLIC ErrnoStr
PUBLIC write_logo
PU... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/errmsg.asm:5 | EXTRN GetCurrOffset:PROC
EXTRN print_source_nesting_structure:PROC
EXTRN __GSHandlerCheck:PROC
EXTRN __security_check_cookie:PROC
EXTRN Options:BYTE
EXTRN ModuleInfo:BYTE
EXTRN Parse_Pass:DWORD
EXTRN write_to_file:BYTE
EXTRN jmpenv:BYTE
EXTRN __security_cookie:QWORD
_DATA SEGMENT
COMM ?_OptionsStorage@?1??__local_stdio... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/errmsg.asm:6 | DD imagerel $unwind$printf
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_vsnprintf_l DD imagerel $LN5
DD imagerel $LN5+117
DD imagerel $unwind$_vsnprintf_l
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$_vsprintf_l DD imagerel $LN3
DD imagerel $LN3+66
DD imagerel $unwind$_vsprintf_l
pdata ENDS
; COMDAT pdata
pdat... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/errmsg.asm:7 | DD imagerel $LN6+223
DD imagerel $unwind$EmitErr
$pdata$EmitWarn DD imagerel $LN8
DD imagerel $LN8+243
DD imagerel $unwind$EmitWarn
$pdata$PrintNote DD imagerel $LN3
DD imagerel $LN3+87
DD imagerel $unwind$PrintNote
$pdata$ErrnoStr DD imagerel $LN5
DD imagerel $LN5+76
DD imagerel $unwind$ErrnoStr
$pdata$write_lo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/errmsg.asm:8 | DD 04208H
$unwind$EmitErr DD 011701H
DD 08217H
$unwind$EmitWarn DD 011601H
DD 08216H
$unwind$PrintNote DD 011701H
DD 06217H
$unwind$ErrnoStr DD 010401H
DD 08204H
$unwind$write_logo DD 010401H
DD 06204H
$unwind$PrintUsage DD 010401H
DD 06204H
$unwind$WriteError DD 010401H
DD 04204H
$unwind$PutMsg DD 022c19H
DD 0... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/errmsg.asm:9 | xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vsnprintf_l DD 011801H
DD 08218H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$printf DD 011801H
DD 06218H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$fprintf DD 011801H
DD 06218H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$vprintf DD 010e01H
DD 0420eH
xdat... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/errmsg.asm:10 | mov QWORD PTR [rsp+8], rcx
sub rsp, 1096 ; 00000448H
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 357 : #if 1
; 358 : char buffer[MAX_LINE_LEN];
; 359 : DebugMsg(("InternalError enter\n"));
lea rcx, OFFSET FLAT:$SG11083
call DoDebugMsg
; 360 : Modu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/errmsg.asm:11 | mov r9d, DWORD PTR line$[rsp]
mov r8, QWORD PTR file$[rsp]
mov rcx, QWORD PTR tv75[rsp]
mov rdx, rcx
mov rcx, rax
call fprintf
; 364 : close_files();
call close_files
; 365 : exit( EXIT_FAILURE );
mov ecx, 1
call exit
; 366 : #else
; 367 : Fatal( INTERNAL_ERROR, file, line );
; 368 : #endi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/errmsg.asm:12 | args2$ = 88
PrtMsg PROC
; 203 : {
mov QWORD PTR [rsp+32], r9
mov QWORD PTR [rsp+24], r8
mov DWORD PTR [rsp+16], edx
mov DWORD PTR [rsp+8], ecx
sub rsp, 56 ; 00000038H
; 204 : #ifndef __SW_BD
; 205 : write_logo();
call write_logo
; 206 : #endif
; 207 : /* open .err file if not already open an... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/errmsg.asm:13 | imul rcx, rcx, 3
lea rdx, OFFSET FLAT:ModuleInfo+96
mov QWORD PTR [rdx+rcx], rax
; 210 : if( CurrFile[ERR] == NULL ) {
mov eax, 8
imul rax, rax, 3
lea rcx, OFFSET FLAT:ModuleInfo+96
cmp QWORD PTR [rcx+rax], 0
jne SHORT $LN3@PrtMsg
; 211 : /* v2.06: no fatal error anymore if error file ca... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/errmsg.asm:14 | $LN2@PrtMsg:
; 216 : LclFree( p );
; 217 : }
; 218 : }
; 219 :
; 220 : /* v2.05: new option -eq */
; 221 : if ( Options.no_error_disp == FALSE ) {
movzx eax, BYTE PTR Options+12
test eax, eax
jne SHORT $LN4@PrtMsg
; 222 : PutMsg( errout, severity, msgnum, args1 );
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/errmsg.asm:15 | ; 226 : //Errfile_Written = TRUE;
; 227 : PutMsg( CurrFile[ERR], severity, msgnum, args2 );
mov eax, 8
imul rax, rax, 3
lea rcx, OFFSET FLAT:ModuleInfo+96
mov r9, QWORD PTR args2$[rsp]
mov r8d, DWORD PTR msgnum$[rsp]
mov edx, DWORD PTR severity$[rsp]
mov rcx, QWORD PTR [rcx+rax]
call PutMsg
$... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/errmsg.asm:16 | mov DWORD PTR [rsp+16], edx
mov QWORD PTR [rsp+8], rcx
sub rsp, 1240 ; 000004d8H
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 163 : int i,j;
; 164 : const char *type;
; 165 : const char *pMsg;
; 166 : char buffer[M... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/errmsg.asm:17 | mov ecx, DWORD PTR msgnum$[rsp]
call MsgGetEx
mov QWORD PTR pMsg$[rsp], rax
; 174 : switch (severity ) {
mov eax, DWORD PTR severity$[rsp]
mov DWORD PTR tv76[rsp], eax
cmp DWORD PTR tv76[rsp], 1
je SHORT $LN6@PutMsg
cmp DWORD PTR tv76[rsp], 2
je SHORT $LN7@PutMsg
cmp DWORD PTR tv76[rsp], 4
je SHORT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/errmsg.asm:18 | $LN9@PutMsg:
; 178 : default: type = NULL; i = 0; break;
mov QWORD PTR type$[rsp], 0
mov DWORD PTR i$[rsp], 0
$LN2@PutMsg:
; 179 : }
; 180 : if ( type )
cmp QWORD PTR type$[rsp], 0
je SHORT $LN10@PutMsg
; 181 : i = sprintf( buffer, "%s A%4u: ", type, severity * 1000 + m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/errmsg.asm:19 | ; 184 :
; 185 : fwrite( buffer, 1, i, fp );
movsxd rax, DWORD PTR i$[rsp]
mov r9, QWORD PTR fp$[rsp]
mov r8, rax
mov edx, 1
lea rcx, QWORD PTR buffer$[rsp]
call fwrite
; 186 : fwrite( "\n", 1, 1, fp );
mov r9, QWORD PTR fp$[rsp]
mov r8d, 1
mov edx, 1
lea rcx, OFFSET FLAT:$SG10987
call f... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/errmsg.asm:20 | ; 192 : fp == CurrFile[ERR] ) {
; 193 : LstWrite( LSTTYPE_DIRECTIVE, GetCurrOffset(), 0 );
call GetCurrOffset
xor r8d, r8d
mov edx, eax
mov ecx, 4
call LstWrite
; 194 : /* size of "blank" prefix to be explained! */
; 195 : LstPrintf( " ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 761 | 820 |
Terraspace/UASM:x64/Debug/errmsg.asm:21 | $LN3:
sub rsp, 40 ; 00000028H
; 347 : DebugMsg(("WriteError occured\n"));
lea rcx, OFFSET FLAT:$SG11075
call DoDebugMsg
; 348 : Fatal( FILE_WRITE_ERROR, CurrFName[OBJ], errno );
call _errno
mov ecx, 8
imul rcx, rcx, 1
lea rdx, OFFSET FLAT:ModuleInfo+128
mov r8d, DWORD PTR [rax]
mov rdx, QWORD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 801 | 860 |
Terraspace/UASM:x64/Debug/errmsg.asm:22 | call write_logo
; 153 : for ( p = usage; *p != '\n'; ) {
lea rax, OFFSET FLAT:usage
mov QWORD PTR p$[rsp], rax
$LN2@PrintUsage:
mov rax, QWORD PTR p$[rsp]
movsx eax, BYTE PTR [rax]
cmp eax, 10
je SHORT $LN3@PrintUsage
; 154 : const char *p2 = p + strlen( p ) + 1;
mov rcx, QWORD PTR p$[rsp]
cal... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 841 | 900 |
Terraspace/UASM:x64/Debug/errmsg.asm:23 | ; 158 : }
add rsp, 56 ; 00000038H
ret 0
PrintUsage ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\errmsg.c
_TEXT SEGMENT
tv67 = 32
write_logo PROC
; 139 : {
$LN4:
sub rsp, 56 ; 00000038H
; 140 : if( banner_printed == FALSE ) {
movsx eax, BYTE PTR ban... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 881 | 940 |
Terraspace/UASM:x64/Debug/errmsg.asm:24 | ; 143 : return( 4 ); /* return number of lines printed */
mov eax, 4
jmp SHORT $LN1@write_logo
$LN2@write_logo:
; 144 : }
; 145 : return( 0 );
xor eax, eax
$LN1@write_logo:
; 146 : }
add rsp, 56 ; 00000038H
ret 0
write_logo ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwa... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/errmsg.asm:25 | mov BYTE PTR [rsp+32], 0
xor r9d, r9d
mov r8d, 10
lea rdx, OFFSET FLAT:?buffer@?1??ErrnoStr@@9@9
mov ecx, DWORD PTR [rax]
call myltoa
mov QWORD PTR tv73[rsp], rax
$LN4@ErrnoStr:
mov rax, QWORD PTR tv73[rsp]
; 302 : }
add rsp, 72 ; 00000048H
ret 0
ErrnoStr ENDP
_TEXT ENDS
; Function compile flags: /Odtp
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/errmsg.asm:26 | ; 239 : va_start( args2, msgnum );
lea rax, QWORD PTR msgnum$[rsp+8]
mov QWORD PTR args2$[rsp], rax
; 240 :
; 241 : PrtMsg( 0, msgnum, args1, args2 );
mov r9, QWORD PTR args2$[rsp]
mov r8, QWORD PTR args1$[rsp]
mov edx, DWORD PTR msgnum$[rsp]
xor ecx, ecx
call PrtMsg
; 242 : va_end( args1 );
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/errmsg.asm:27 | $LN8:
mov DWORD PTR [rsp+16], edx
mov DWORD PTR [rsp+8], ecx
mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+32], r9
sub rsp, 72 ; 00000048H
; 276 : va_list args1, args2;
; 277 :
; 278 : if( level <= Options.warning_level ) {
movzx eax, BYTE PTR Options+13
cmp DWORD PTR level$[rsp], eax
jg $LN2@E... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/errmsg.asm:28 | ; 283 : va_start( args2, msgnum );
lea rax, QWORD PTR msgnum$[rsp+8]
mov QWORD PTR args2$[rsp], rax
; 284 : if( !Options.warning_error ) {
movzx eax, BYTE PTR Options+14
test eax, eax
jne SHORT $LN3@EmitWarn
; 285 : PrtMsg( 4, msgnum, args1, args2 );
mov r9, QWORD PTR args2$[rs... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Debug/errmsg.asm:29 | mov eax, DWORD PTR ModuleInfo
inc eax
mov DWORD PTR ModuleInfo, eax
$LN4@EmitWarn:
; 290 : }
; 291 : va_end( args1 );
mov QWORD PTR args1$[rsp], 0
; 292 : va_end( args2 );
mov QWORD PTR args2$[rsp], 0
; 293 : print_source_nesting_structure();
call print_source_nesting_stru... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Debug/errmsg.asm:30 | mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+32], r9
sub rsp, 72 ; 00000048H
; 249 : va_list args1, args2;
; 250 :
; 251 : #ifdef DEBUG_OUT
; 252 : printf( "%s\n", ModuleInfo.tokenarray ? ModuleInfo.tokenarray[0].tokpos : "" );
cmp QWORD PTR ModuleInfo+480, 0
je SHORT $LN4@EmitErr
mov eax, 32 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Debug/errmsg.asm:31 | mov edx, DWORD PTR msgnum$[rsp]
mov ecx, 2
call PrtMsg
; 257 : va_end( args1 );
mov QWORD PTR args1$[rsp], 0
; 258 : va_end( args2 );
mov QWORD PTR args2$[rsp], 0
; 259 : ModuleInfo.g.error_count++;
mov eax, DWORD PTR ModuleInfo
inc eax
mov DWORD PTR ModuleInfo, eax
; 260 : write_to_fi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Debug/errmsg.asm:32 | ; 264 : return( ERROR );
mov eax, -1
; 265 : }
add rsp, 72 ; 00000048H
ret 0
EmitErr ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\errmsg.c
_TEXT SEGMENT
msgnum$ = 48
EmitError PROC
; 269 : {
$LN3:
mov DWORD PTR [rsp+8], ecx
sub rsp, 40 ; 00000028H... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1,241 | 1,300 |
Terraspace/UASM:x64/Debug/errmsg.asm:33 | Fatal PROC
; 310 : {
$LN4:
mov DWORD PTR [rsp+8], ecx
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+32], r9
sub rsp, 56 ; 00000038H
; 311 : va_list args1, args2;
; 312 :
; 313 : /* v2.11: call PrtMsg() instead of PutMsg().
; 314 : * Makes the fatal error app... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Debug/errmsg.asm:34 | mov QWORD PTR args2$[rsp], 0
; 321 :
; 322 : ModuleInfo.g.error_count++;
mov eax, DWORD PTR ModuleInfo
inc eax
mov DWORD PTR ModuleInfo, eax
; 323 : //write_to_file = FALSE;
; 324 :
; 325 : /* setjmp() has been called in AssembleModule().
; 326 : * if a fatal error happens outside of this f... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1,321 | 1,380 |
Terraspace/UASM:x64/Debug/errmsg.asm:35 | ret 0
Fatal ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\errmsg.c
_TEXT SEGMENT
args$ = 32
tv71 = 40
buffer$ = 48
__$ArrayPad$ = 1072
format$ = 1104
DoDebugMsg1 PROC
; 99 : {
$LN6:
mov QWORD PTR [rsp+8], rcx
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+24], r8
m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1,361 | 1,420 |
Terraspace/UASM:x64/Debug/errmsg.asm:36 | shr eax, 12
and eax, 1
test eax, eax
jne SHORT $LN3@DoDebugMsg
jmp SHORT $LN1@DoDebugMsg
$LN3@DoDebugMsg:
; 106 :
; 107 : #ifdef DBGLOGFILE
; 108 : if ( fdbglog == NULL )
; 109 : fdbglog = fopen( DBGLOGFILE, "w" );
; 110 : #endif
; 111 : //if ( CurrFName[ASM] )
; 112 : if ( ModuleInfo.g.... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1,401 | 1,460 |
Terraspace/UASM:x64/Debug/errmsg.asm:37 | ; 120 : #ifdef DBGLOGFILE
; 121 : vfprintf( fdbglog, format, args );
; 122 : #else
; 123 : vprintf( format, args );
mov rdx, QWORD PTR args$[rsp]
mov rcx, QWORD PTR format$[rsp]
call vprintf
; 124 : #endif
; 125 : va_end( args );
mov QWORD PTR args$[rsp], 0
$LN1@DoDebugMsg:
; 126 :
; 127 : #... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1,441 | 1,500 |
Terraspace/UASM:x64/Debug/errmsg.asm:38 | ; 73 : {
$LN5:
mov QWORD PTR [rsp+8], rcx
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+32], r9
sub rsp, 56 ; 00000038H
; 74 : va_list args;
; 75 : if( !Options.debug ) return;
movzx eax, BYTE PTR Options+15
test eax, eax
jne SHORT $LN2@DoDebugMsg
jmp SHORT $LN1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1,481 | 1,540 |
Terraspace/UASM:x64/Debug/errmsg.asm:39 | lea rax, QWORD PTR format$[rsp+8]
mov QWORD PTR args$[rsp], rax
; 81 : #ifdef DBGLOGFILE
; 82 : if ( fdbglog == NULL )
; 83 : fdbglog = fopen( DBGLOGFILE, "w" );
; 84 : vfprintf( fdbglog, format, args );
; 85 : #else
; 86 : vprintf( format, args );
mov rdx, QWORD PTR args$[rsp]
mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1,521 | 1,580 |
Terraspace/UASM:x64/Debug/errmsg.asm:40 | _Format$ = 72
sprintf PROC ; COMDAT
; 1776 : {
$LN3:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+32], r9
sub rsp, 56 ; 00000038H
; 1777 : int _Result;
; 1778 : va_list _ArgList;
; 1779 : __crt_va_start(_ArgList, _Format);
lea rax, Q... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/errmsg.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/errmsg.asm | 1,561 | 1,620 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.