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/Release/branch.asm:6 | pop rsi
pop rbx
; 162 : return( EmitErr( CANNOT_ACCESS_LABEL_THROUGH_SEGMENT_REGISTERS, opndx->sym ? opndx->sym->name : "" ) );
jmp EmitErr
$LN18@process_br:
; 163 : }
; 164 : /* v2.05: switch to far jmp/call */
; 165 : if ( SegOverride != &CurrSeg->sym && Se... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 201 | 260 |
Terraspace/UASM:x64/Release/branch.asm:7 | mov QWORD PTR [rsp+32], r15
mov DWORD PTR [rbx+40], eax
; 176 : sym = opndx->sym;
mov r15, QWORD PTR [rsi+80]
; 177 : if( sym == NULL ) { /* no symbolic label specified? */
test r15, r15
jne SHORT $LN20@process_br
; 178 : DebugMsg(("process_branch(%" I32_SPEC "X): sym=NULL, op.memtype=%Xh\n"... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 241 | 300 |
Terraspace/UASM:x64/Release/branch.asm:8 | mov eax, DWORD PTR [r15+32]
mov QWORD PTR [rsp+80], rbp
mov QWORD PTR [rsp+96], rdi
mov QWORD PTR [rsp+104], r12
mov DWORD PTR state$1$[rsp], eax
; 200 : addr = GetCurrOffset(); /* for SYM_UNDEFINED, will force distance to SHORT */
call GetCurrOffset
; 201 :
; 202 : /* v2.02: if symbol is GLOBAL and ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 281 | 340 |
Terraspace/UASM:x64/Release/branch.asm:9 | cmp ecx, edi
je SHORT $LN136@process_br
; 249 : }
; 250 : } else if ( state != SYM_UNDEFINED ) {
test ecx, ecx
je SHORT $LN27@process_br
; 251 : DebugMsg(("process_branch(%s): error, unexpected symbol state=%u\n", sym->name, sym->state ));
; 252 : return( EmitErr( JUMP_DESTINATION_... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 321 | 380 |
Terraspace/UASM:x64/Release/branch.asm:10 | mov rdx, QWORD PTR [r15+24]
; 224 : if( symseg == NULL || ( CurrSeg != symseg ) ) {
test rdx, rdx
je $LN28@process_br
cmp QWORD PTR ModuleInfo+432, rdx
jne $LN28@process_br
$LN27@process_br:
; 253 : }
; 254 :
; 255 : if ( state != SYM_EXTERNAL ) {
cmp ecx, 2
je $LN150@process_br
$LN139@pro... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 361 | 420 |
Terraspace/UASM:x64/Release/branch.asm:11 | ; 263 : }
; 264 : }
; 265 : if( ( CodeInfo->mem_type == MT_EMPTY ||
; 266 : CodeInfo->mem_type == MT_NEAR ) &&
mov eax, DWORD PTR [rbx+28]
cmp eax, 192 ; 000000c0H
je SHORT $LN41@process_br
cmp eax, 129 ; 00000081H
jne $LN149@process_br
$LN41@process_br:
test ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 401 | 460 |
Terraspace/UASM:x64/Release/branch.asm:12 | $LN42@process_br:
; 278 : }
; 279 :
; 280 : //addr = sym->offset; /* v2.02: this has been done above */
; 281 : DebugMsg(("process_branch: step1: addr=%Xh\n", addr ));
; 282 : addr -= ( GetCurrOffset() + 2 ); /* calculate the displacement */
call GetCurrOffset
;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 441 | 500 |
Terraspace/UASM:x64/Release/branch.asm:14 | movzx eax, BYTE PTR [rsi+69]
cmp al, 254 ; 000000feH
je SHORT $LN54@process_br
; 324 : if ( opndx->Ofssize == USE16 ) {
test al, al
jne SHORT $LN56@process_br
; 325 : CodeInfo->opnd[OPND1].type = OP_I16;
mov DWORD PTR [rbx+32], r12d
; 326 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 521 | 580 |
Terraspace/UASM:x64/Release/branch.asm:15 | and al, 2
xor BYTE PTR [rbx+9], al
; 332 : if ( CodeInfo->prefix.opsiz )
test BYTE PTR [rbx+9], 2
je SHORT $LN60@process_br
; 333 : addr--;
; 334 : } else if( CodeInfo->Ofssize > USE16 ) {
jmp SHORT $LN157@process_br
$LN54@process_br:
test r8b, r8b... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 561 | 620 |
Terraspace/UASM:x64/Release/branch.asm:16 | cmp eax, 29
ja SHORT $LN61@process_br
; 340 : }
; 341 : if( IS_CONDJMP( CodeInfo->token ) ) {
; 342 : /* 1 extra byte for opcode ( 0F ) */
; 343 : addr--;
dec ebp
$LN61@process_br:
; 344 : }
; 345 : }
; 346 :... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 601 | 660 |
Terraspace/UASM:x64/Release/branch.asm:17 | je SHORT $LN65@process_br
; 358 : if( CodeInfo->mem_type == MT_EMPTY && ModuleInfo.ljmp == TRUE ) {
mov edx, DWORD PTR [rbx+28]
cmp edx, 192 ; 000000c0H
jne SHORT $LN64@process_br
test BYTE PTR ModuleInfo+408, 32 ; 00000020H
je SHORT $LN64@process_br
; 359 : jum... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 641 | 700 |
Terraspace/UASM:x64/Release/branch.asm:18 | test r13d, r13d
je $LN66@process_br
; 381 : return( NOT_ERROR ); /* exit, no fixup is written! */
jmp $LN158@process_br
$LN64@process_br:
; 362 : //return( SCRAP_INSTRUCTION );
; 363 : //} else if( !PhaseError ) {
; 364 : } else {
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 681 | 740 |
Terraspace/UASM:x64/Release/branch.asm:19 | jns SHORT $LN52@process_br
; 315 : addr -= SCHAR_MIN;
mov eax, -128 ; ffffffffffffff80H
sub eax, ebp
; 316 : addr = 0 - addr;
mov ebp, eax
; 317 : } else
jmp SHORT $LN53@process_br
$LN52@process_br:
; 318 : add... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 721 | 780 |
Terraspace/UASM:x64/Release/branch.asm:20 | ; 226 : report an error */
; 227 : //if ( ModuleInfo.flatgrp_idx != 0 )
; 228 : /* v2.09: make sure there's no near jmp/call between 32- and 64-bit */
; 229 : //if ( ModuleInfo.flat_grp )
; 230 : if ( ModuleInfo.flat_grp
; 231 : #if AMD64_SUPPORT
; 232 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 761 | 820 |
Terraspace/UASM:x64/Release/branch.asm:22 | ; 395 : */
; 396 : if( CodeInfo->token == T_CALL &&
; 397 : CodeInfo->mem_type == MT_EMPTY &&
cmp DWORD PTR [rbx+24], 450 ; 000001c2H
mov ebp, DWORD PTR [rsi+64]
jne SHORT $LN69@process_br
cmp DWORD PTR [rbx+28], 192 ; 000000c0H
jne $LN76@process_br
cmp DWORD PTR [r15+36], 130 ; 00000082... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 841 | 900 |
Terraspace/UASM:x64/Release/branch.asm:23 | mov rcx, rbx
call FarCallToNear
$LN69@process_br:
; 404 : }
; 405 : }
; 406 : /* forward ref, or external symbol */
; 407 : if( CodeInfo->mem_type == MT_EMPTY && mem_type != MT_EMPTY && opndx->instr != T_SHORT ) {
cmp DWORD PTR [rbx+28], 192 ; 000000c0H
jne SHORT $LN76@process_br
cmp ebp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 881 | 940 |
Terraspace/UASM:x64/Release/branch.asm:24 | ; 417 : /* v2.06: commented 2 lines to copy behavior of MT_NEAR */
; 418 : //CodeInfo->mem_type = mem_type;
; 419 : //break;
; 420 : case MT_NEAR:
; 421 : /* v2.04: 'if' added */
; 422 : if ( state != SYM_UNDEFINED )
test r13d, r13d
je SHORT $... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 921 | 980 |
Terraspace/UASM:x64/Release/branch.asm:25 | ; 436 : DebugMsg1(("process_branch: FAR call/jmp\n"));
; 437 : switch( CodeInfo->mem_type ) {
mov ecx, DWORD PTR [rbx+28]
or al, 4
mov BYTE PTR [rbx+142], al
sub ecx, 129 ; 00000081H
je SHORT $LN81@process_br
sub ecx, edi
je SHORT $LN82@process_br
cmp ecx, 62 ; 0000003eH
je SHORT $LN8... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 961 | 1,020 |
Terraspace/UASM:x64/Release/branch.asm:28 | mov edi, 9
; 459 : CodeInfo->opnd[OPND1].type = OP_I32;
mov DWORD PTR [rbx+32], 524288 ; 00080000H
; 460 : }
; 461 : break;
; 462 : #ifdef DEBUG_OUT
; 463 : default: /* cannot happen */
; 464 : DebugMsg(("process_branch: JMP/CALL far, unexpected mem... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Release/branch.asm:29 | je $LN91@process_br
lea eax, DWORD PTR [rdx-482]
cmp eax, 17
ja SHORT $LN104@process_br
; 523 : break;
; 524 : #ifdef DEBUG_OUT
; 525 : default:
; 526 : DebugMsg(("process_branch: JMP/CALL, unexpected mem_type=%X\n", CodeInfo->mem_type ));
; 527 : /**/myassert( 0 );
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Release/branch.asm:31 | $LN114@process_br:
; 563 : } else if( CodeInfo->Ofssize > USE16 ) {
; 564 : fixup_type = FIX_RELOFF32;
; 565 : CodeInfo->opnd[OPND1].type = OP_I32;
; 566 : } else {
; 567 : fixup_type = FIX_RELOFF16;
; 568 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Release/branch.asm:32 | setne al
; 579 : /* destination is FAR (externdef <dest>:far */
; 580 : DebugMsg(("process_branch: JMP/CALL, FAR memtype, jump extension\n" ));
; 581 : jumpExtend( CodeInfo, TRUE );
mov edx, edi
and al, dil
mov rcx, rbx
add al, al
or BYTE PTR [rbx+9]... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 1,241 | 1,300 |
Terraspace/UASM:x64/Release/branch.asm:34 | and al, dil
add al, al
or BYTE PTR [rbx+9], al
; 562 : CodeInfo->opnd[OPND1].type = (opndx->Ofssize >= USE32) ? OP_I32 : OP_I16;
mov eax, 524288 ; 00080000H
cmp BYTE PTR [rsi+69], dil
cmovae r12d, eax
mov DWORD PTR [rbx+32], r12d
jmp $LN8@process_br
$LN106@process_br:
; 595 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 1,321 | 1,380 |
Terraspace/UASM:x64/Release/branch.asm:35 | setne r14b
inc r14d
; 608 : break;
jmp $LN8@process_br
$LN124@process_br:
; 609 : case MT_NEAR: /* allow Jxx NEAR if LJMP on */
; 610 : case MT_FAR:
; 611 : if ( ModuleInfo.ljmp ) {
test BYTE PTR ModuleInfo+408, 32 ; 00000020H
je SHORT $LN125@process_... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 1,361 | 1,420 |
Terraspace/UASM:x64/Release/branch.asm:37 | call EmitError
jmp $LN156@process_br
$LN90@process_br:
; 477 : }
; 478 : if( CodeInfo->mem_type == MT_EMPTY ) {
cmp DWORD PTR [rbx+28], 192 ; 000000c0H
jne SHORT $LN91@process_br
; 479 : fixup_option = OPTJ_CALL;
mov r14d, 4
$LN110@process_br:
; 480 : if( CodeInfo-... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 1,441 | 1,500 |
Terraspace/UASM:x64/Release/branch.asm:38 | ; 492 : switch( CodeInfo->mem_type ) {
mov ecx, DWORD PTR [rbx+28]
sub ecx, 129 ; 00000081H
je SHORT $LN96@process_br
cmp ecx, 63 ; 0000003fH
jne SHORT $LN8@process_br
; 493 : case MT_EMPTY:
; 494 : /* forward reference
; 495 : * default distance is short, we w... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 1,481 | 1,540 |
Terraspace/UASM:x64/Release/branch.asm:39 | jne SHORT $LN99@process_br
; 506 : fixup_type = FIX_RELOFF16;
mov edi, 2
; 507 : CodeInfo->opnd[OPND1].type = OP_I16;
mov DWORD PTR [rbx+32], r12d
; 508 : } else {
jmp SHORT $LN100@process_br
$LN99@process_br:
; 509 : fixup_type =... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 1,521 | 1,580 |
Terraspace/UASM:x64/Release/branch.asm:40 | ; 515 : if( CodeInfo->Ofssize > USE16 ) {
cmp BYTE PTR [rbx+106], 0
jbe SHORT $LN101@process_br
; 516 : fixup_type = FIX_RELOFF32;
; 517 : CodeInfo->opnd[OPND1].type = OP_I32;
mov eax, 524288 ; 00080000H
mov edi, 3
mov DWORD PTR [rbx+32], eax
; 518 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 1,561 | 1,620 |
Terraspace/UASM:x64/Release/branch.asm:41 | mov edx, edi
mov rcx, r15
call CreateFixup
mov QWORD PTR [rbx+48], rax
$LN158@process_br:
; 631 : return( NOT_ERROR );
xor eax, eax
$LN156@process_br:
mov rdi, QWORD PTR [rsp+96]
mov r12, QWORD PTR [rsp+104]
mov rbp, QWORD PTR [rsp+80]
$LN153@process_br:
mov r14, QWORD PTR [rsp+40]
mov r15, QWORD PTR [r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 1,601 | 1,660 |
Terraspace/UASM:x64/Release/branch.asm:42 | cmp DWORD PTR Parse_Pass, 1
mov rbx, rcx
jne SHORT $LN2@FarCallToN
; 116 : EmitWarn( 4, CALL_FAR_TO_NEAR );
mov edx, 133 ; 00000085H
mov ecx, 4
call EmitWarn
$LN2@FarCallToN:
; 117 :
; 118 : OutputCodeByte( 0x0E ); /* 0x0E is "PUSH CS" opcode */
mov cl, 14
call OutputByte
; 119 : Code... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 1,641 | 1,700 |
Terraspace/UASM:x64/Release/branch.asm:44 | ; 88 : } else {
jmp SHORT $LN4@jumpExtend
$LN5@jumpExtend:
; 89 : /* it's EA OOOOOOOO SSSS or EA OOOO SSSS */
; 90 : next_ins_size = CodeInfo->Ofssize ? 7 : 5;
cmp BYTE PTR [rdi+106], 0
mov ebx, 5
mov eax, 7
cmovne ebx, eax
; 91 : }
; 92 : } else {
jmp SH... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 1,721 | 1,780 |
Terraspace/UASM:x64/Release/branch.asm:45 | xor cl, 1
call OutputByte
; 102 : OutputCodeByte( next_ins_size );
movzx ecx, bl
call OutputByte
; 103 : CodeInfo->token = T_JMP;
; 104 : CodeInfo->pinstr = &InstrTable[ IndexFromToken( T_JMP )];
; 105 :
; 106 : return;
; 107 : }
mov rbx, QWORD PTR [rsp+48]
mov DWORD PTR [rdi+24], 451 ;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/branch.asm | 1,761 | 1,787 |
Terraspace/UASM:x64/Release/branch.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_BSS SEGMENT
$SG10729 DB 01H DUP (?)
_BSS ENDS
PUBLIC process_branch
EXTRN EmitError:PROC
EXTRN EmitErr:PROC
EXTRN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/branch.asm | 1 | 60 |
Terraspace/UASM:x64/Release/branch.asm:2 | DD imagerel FarCallToNear+53
DD imagerel $unwind$FarCallToNear
pdata ENDS
pdata SEGMENT
$pdata$process_branch DD imagerel $LN167
DD imagerel $LN167+242
DD imagerel $unwind$process_branch
$pdata$4$process_branch DD imagerel $LN167+242
DD imagerel $LN167+2130
DD imagerel $chain$4$process_branch
$pdata$5$process_bran... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/branch.asm | 41 | 100 |
Terraspace/UASM:x64/Release/branch.asm:12 | $LN42@process_br:
; 278 : }
; 279 :
; 280 : //addr = sym->offset; /* v2.02: this has been done above */
; 281 : DebugMsg(("process_branch: step1: addr=%Xh\n", addr ));
; 282 : addr -= ( GetCurrOffset() + 2 ); /* calculate the displacement */
call GetCurrOffset
;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/branch.asm | 441 | 500 |
Terraspace/UASM:x64/Release/branch.asm:25 | ; 434 : ( CodeInfo->isfar == TRUE || CodeInfo->mem_type == MT_FAR )) {
; 435 : CodeInfo->isfar = TRUE; /* flag isn't set if explicit is true */
; 436 : DebugMsg1(("process_branch: FAR call/jmp\n"));
; 437 : switch( CodeInfo->mem_type ) {
mov ecx, DWORD PTR [rbx+28]
or al, 4
mov B... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/branch.asm | 961 | 1,020 |
Terraspace/UASM:x64/Release/branch.asm:44 | mov eax, 6
cmovne ebx, eax
; 88 : } else {
jmp SHORT $LN4@jumpExtend
$LN5@jumpExtend:
; 89 : /* it's EA OOOOOOOO SSSS or EA OOOO SSSS */
; 90 : next_ins_size = CodeInfo->Ofssize ? 7 : 5;
cmp BYTE PTR [rdi+106], 0
mov ebx, 5
mov eax, 7
cmovne ebx, eax
; 91 : }
;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/branch.asm | 1,721 | 1,780 |
Terraspace/UASM:x64/Release/branch.asm:45 | mov rax, QWORD PTR [rdi+16]
movzx ecx, BYTE PTR [rax+8]
xor cl, 1
call OutputByte
; 102 : OutputCodeByte( next_ins_size );
movzx ecx, bl
call OutputByte
; 103 : CodeInfo->token = T_JMP;
; 104 : CodeInfo->pinstr = &InstrTable[ IndexFromToken( T_JMP )];
; 105 :
; 106 : return;
; 107 : }
mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/branch.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/branch.asm | 1,761 | 1,789 |
Terraspace/UASM:x64/Release/context.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10868 DB 'ASSUMES', 00H
$SG10869 DB 'RADIX', 00H
ORG $+2
$SG... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 1 | 60 |
Terraspace/UASM:x64/Release/context.asm:2 | DD imagerel $LN75+1073
DD imagerel $unwind$ContextDirective
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$ContextRestoreState DD imagerel ContextRestoreState
DD imagerel ContextRestoreState+22
DD imagerel $unwind$ContextRestoreState
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$0$ContextRestoreState DD imagerel Co... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 41 | 100 |
Terraspace/UASM:x64/Release/context.asm:3 | DD imagerel $unwind$ContextRestoreState
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$chain$0$ContextRestoreState DD 020521H
DD 063405H
DD imagerel ContextRestoreState
DD imagerel ContextRestoreState+22
DD imagerel $unwind$ContextRestoreState
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$ContextRestoreState DD 020601H... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 81 | 140 |
Terraspace/UASM:x64/Release/context.asm:4 | jg ContextRestoreState
$LN2@ContextIni:
; 306 : ContextRestoreState();
; 307 : }
; 308 : #endif
; 309 : }
ret 0
ContextInit ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\context.c
; COMDAT ContextRestoreState
_TEXT SEGMENT
ContextRestoreState PROC ; ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 121 | 180 |
Terraspace/UASM:x64/Release/context.asm:5 | je SHORT $LN5@ContextRes
; 282 : dst = ContextFree;
; 283 : ContextFree = dst->next;
mov rax, QWORD PTR [r8]
mov QWORD PTR ModuleInfo+248, rax
; 284 : } else
jmp SHORT $LN6@ContextRes
$LN5@ContextRes:
; 285 : dst = LclAlloc( sizeof( struct context ) );
mov ecx, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 161 | 220 |
Terraspace/UASM:x64/Release/context.asm:6 | movups xmm1, XMMWORD PTR [rcx-48]
movups XMMWORD PTR [rdx-48], xmm1
movups xmm0, XMMWORD PTR [rcx-32]
movups XMMWORD PTR [rdx-32], xmm0
movups xmm1, XMMWORD PTR [rcx-16]
movups XMMWORD PTR [rdx-16], xmm1
sub rax, 1
jne SHORT $LL12@ContextRes
movups xmm0, XMMWORD PTR [rcx]
sub rbx, 752 ; 000002f0H
movups XM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 201 | 260 |
Terraspace/UASM:x64/Release/context.asm:7 | add rsp, 32 ; 00000020H
pop rdi
ret 0
ContextRestoreState ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\context.c
_TEXT SEGMENT
tv730 = 32
type$ = 128
i$ = 128
tokenarray$ = 136
tv676 = 144
tv690 = 152
ContextDirective PROC
; 107 : {
$LN75:
mov QWORD PTR [rsp+16... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 241 | 300 |
Terraspace/UASM:x64/Release/context.asm:8 | ; 114 : DebugMsg(( "%s directive enter\n", tokenarray[i].string_ptr ));
; 115 :
; 116 : i++; /* skip CONTEXT keyword */
inc r12d
; 117 :
; 118 : while ( tokenarray[i].token == T_ID ) {
movsxd r13, r12d
shl r13, 5
add r13, rdx
mov QWORD PTR tv730[rsp], rax
shl rax, 5
cmp BYTE PTR [r13], 8
mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 281 | 340 |
Terraspace/UASM:x64/Release/context.asm:9 | lea rax, OFFSET FLAT:contextnames
mov rcx, QWORD PTR [rax+rbx*8]
call _stricmp
test eax, eax
je SHORT $LN50@ContextDir
; 119 : for ( j = 0, type = -1; j < ( sizeof(typetab) / sizeof(typetab[0]) ); j++ ) {
inc esi
inc rbx
movsxd rax, esi
cmp rax, 6
jae $LN3@ContextDir
jmp SHORT $LN73@ContextDir
$LN5... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 321 | 380 |
Terraspace/UASM:x64/Release/context.asm:10 | je $LN3@ContextDir
; 132 : break;
; 133 : else
; 134 : type &= ~CONT_ALIGNMENT; /* in case ALIGNMENT is again included in ALL */
and edi, -17
$LN21@ContextDir:
; 135 : }
; 136 :
; 137 : if ( directive == T_POPCONTEXT ) {
cmp rbp, 453 ; 000001c5H... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 361 | 420 |
Terraspace/UASM:x64/Release/context.asm:11 | ; 148 : prev = curr;
mov r14, rbx
; 149 : continue;
jmp $LN7@ContextDir
$LN24@ContextDir:
; 150 : }
; 151 :
; 152 : type &= ~curr->type;
not eax
and edi, eax
; 153 : if ( prev )
test r14, r14
je SHORT $LN25@Contex... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 401 | 460 |
Terraspace/UASM:x64/Release/context.asm:12 | ; 159 : ContextFree = curr;
mov QWORD PTR ModuleInfo+248, rbx
; 160 :
; 161 : /* restore the values */
; 162 : switch ( curr->type ) {
mov ecx, DWORD PTR [rbx+8]
sub ecx, 1
je $LN27@ContextDir
sub ecx, 1
je $LN28@ContextDir
sub ecx, 2
je SHORT $LN30@Context... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 441 | 500 |
Terraspace/UASM:x64/Release/context.asm:13 | mov rcx, QWORD PTR sym_Cpu
movzx eax, WORD PTR [rbx+16]
mov WORD PTR ModuleInfo+388, ax
test rcx, rcx
je SHORT $LN32@ContextDir
; 184 : sym_Cpu->value = curr->cc.cpu;
movsx eax, WORD PTR [rbx+16]
mov DWORD PTR [rcx+16], eax
$LN32@ContextDir:
; 185 : ModuleInfo.cur... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 481 | 540 |
Terraspace/UASM:x64/Release/context.asm:14 | and eax, 4096 ; 00001000H
xor ecx, eax
mov DWORD PTR ModuleInfo+408, ecx
; 178 : ModuleInfo.listif = curr->lc.listif;
movzx eax, BYTE PTR [rbx+20]
shl eax, 11
xor eax, ecx
and eax, 8192 ; 00002000H
xor ecx, eax
mov DWORD PTR ModuleInfo+408, ecx
; 179 : Modu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 521 | 580 |
Terraspace/UASM:x64/Release/context.asm:15 | ; 164 : SetSegAssumeTable( curr->ac.SegAssumeTable );
lea rcx, QWORD PTR [rbx+16]
call SetSegAssumeTable
; 165 : SetStdAssumeTable( curr->ac.StdAssumeTable, curr->ac.type_content );
lea rdx, QWORD PTR [rbx+368]
lea rcx, QWORD PTR [rbx+112]
call SetStdAssumeTable
$LN7@Co... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 561 | 620 |
Terraspace/UASM:x64/Release/context.asm:16 | mov rax, QWORD PTR tv676[rsp]
add r13, 32 ; 00000020H
add rax, 32 ; 00000020H
inc r12d
add r15, 32 ; 00000020H
mov QWORD PTR tv676[rsp], rax
; 238 : if ( tokenarray[i].token == T_COMMA && tokenarray[i+1].token != T_FINAL )
cmp BYTE PTR [r13], 44 ; 0000002cH
jne SHORT $LN42@ContextDir
cm... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 601 | 660 |
Terraspace/UASM:x64/Release/context.asm:17 | test edi, edi
je $LN69@ContextDir
; 195 : if ( type & typetab[j] ) {
mov eax, DWORD PTR [rsi]
test eax, edi
je $LN12@ContextDir
; 196 :
; 197 : type &= ~typetab[j];
; 198 :
; 199 : if ( ContextFree ) {
mov rbx, QWORD PTR ModuleInfo+248
not eax
and ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 641 | 700 |
Terraspace/UASM:x64/Release/context.asm:18 | mov eax, DWORD PTR [rsi]
mov DWORD PTR [rbx+8], eax
; 206 : curr->next = ContextStack;
mov rcx, QWORD PTR ModuleInfo+240
mov QWORD PTR [rbx], rcx
; 207 : ContextStack = curr;
mov QWORD PTR ModuleInfo+240, rbx
; 208 :
; 209 : switch ( typetab[j] ) ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 681 | 740 |
Terraspace/UASM:x64/Release/context.asm:19 | jmp $LN12@ContextDir
$LN41@ContextDir:
; 228 : case CONT_CPU:
; 229 : curr->cc.cpu = ModuleInfo.cpu;
movzx eax, WORD PTR ModuleInfo+388
mov WORD PTR [rbx+16], ax
; 230 : curr->cc.curr_cpu = ModuleInfo.curr_cpu;
mov eax, DWORD PTR ModuleI... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 721 | 780 |
Terraspace/UASM:x64/Release/context.asm:20 | ; 225 : curr->lc.listif = ModuleInfo.listif;
mov edx, DWORD PTR ModuleInfo+408
shr edx, 13
shl dl, 2
xor dl, cl
and dl, 4
xor dl, cl
mov BYTE PTR [rbx+20], dl
; 226 : curr->lc.list_generated_code = ModuleInfo.list_generated_code;
mov eax, DWORD PTR Module... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 761 | 820 |
Terraspace/UASM:x64/Release/context.asm:21 | lea rcx, QWORD PTR [rbx+16]
call GetSegAssumeTable
; 212 : GetStdAssumeTable( curr->ac.StdAssumeTable, curr->ac.type_content );
lea rdx, QWORD PTR [rbx+368]
lea rcx, QWORD PTR [rbx+112]
call GetStdAssumeTable
$LN12@ContextDir:
; 191 : }
; 192 : } else {
; 193 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 801 | 860 |
Terraspace/UASM:x64/Release/context.asm:22 | ; 242 : if ( tokenarray[i].token != T_FINAL || type == -1 ) {
mov rcx, QWORD PTR tokenarray$[rsp]
movsxd rdx, r12d
shl rdx, 5
cmp BYTE PTR [rdx+rcx], 0
jne SHORT $LN44@ContextDir
cmp edi, -1
je SHORT $LN44@ContextDir
; 244 : }
; 245 :
; 246 : return( NOT_ERROR );
xor eax, eax
jmp SHORT $LN1@... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 841 | 900 |
Terraspace/UASM:x64/Release/context.asm:23 | ; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\context.c
_TEXT SEGMENT
ContextSaveState PROC
; 255 : {
$LN20:
sub rsp, 40 ; 00000028H
; 256 : int i;
; 257 : struct context *src;
; 258 : struct context *dst;
; 259 :
; 260 : for ( i = 0, src = ContextStack ; sr... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 881 | 940 |
Terraspace/UASM:x64/Release/context.asm:24 | ; 265 : DebugMsg(( "ContextSaveState: SavedContexts=%X\n", SavedContexts ));
; 266 : for ( src = ContextStack, dst = SavedContexts ; src ; src = src->next, dst++ ) {
mov r8, QWORD PTR ModuleInfo+240
mov r9, rax
mov QWORD PTR ModuleInfo+256, rax
test r8, r8
je $LN6@ContextSav
npad 9
$LL7@Context... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 921 | 980 |
Terraspace/UASM:x64/Release/context.asm:25 | movups XMMWORD PTR [rdx], xmm0
movups xmm1, XMMWORD PTR [rcx+16]
movups XMMWORD PTR [rdx+16], xmm1
movups xmm0, XMMWORD PTR [rcx+32]
movups XMMWORD PTR [rdx+32], xmm0
movups xmm1, XMMWORD PTR [rcx+48]
movups XMMWORD PTR [rdx+48], xmm1
movups xmm0, XMMWORD PTR [rcx+64]
movups XMMWORD PTR [rdx+64], xmm0
movups x... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/context.asm | 961 | 987 |
Terraspace/UASM:x64/Release/context.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10845 DB 'ASSUMES', 00H
$SG10846 DB 'RADIX', 00H
ORG $+2
$SG... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/context.asm | 1 | 60 |
Terraspace/UASM:x64/Release/context.asm:2 | DD imagerel $LN75+1073
DD imagerel $unwind$ContextDirective
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$ContextRestoreState DD imagerel ContextRestoreState
DD imagerel ContextRestoreState+22
DD imagerel $unwind$ContextRestoreState
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$0$ContextRestoreState DD imagerel Co... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/context.asm | 41 | 100 |
Terraspace/UASM:x64/Release/context.asm:9 | lea rax, OFFSET FLAT:contextnames
mov rcx, QWORD PTR [rax+rbx*8]
call _stricmp
test eax, eax
je SHORT $LN50@ContextDir
; 119 : for ( j = 0, type = -1; j < ( sizeof(typetab) / sizeof(typetab[0]) ); j++ ) {
inc esi
inc rbx
movsxd rax, esi
cmp rax, 6
jae $LN3@ContextDir
jmp SHORT $LN73@ContextDir
$LN5... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/context.asm | 321 | 380 |
Terraspace/UASM:x64/Release/context.asm:10 | je $LN3@ContextDir
; 132 : break;
; 133 : else
; 134 : type &= ~CONT_ALIGNMENT; /* in case ALIGNMENT is again included in ALL */
and edi, -17
$LN21@ContextDir:
; 135 : }
; 136 :
; 137 : if ( directive == T_POPCONTEXT ) {
cmp rbp, 452 ; 000001c4H... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | 683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4 | github | assembler | https://github.com/Terraspace/UASM/blob/683af312c18e9c3e79e9771f25bbe4d4c9d8dfb4/x64/Release/context.asm | 361 | 420 |
Terraspace/UASM:x64/Release/context.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10844 DB 'ASSUMES', 00H
$SG10845 DB 'RADIX', 00H
ORG $+2
$SG... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | 28b09fcf7ca2f77034c045fe6612c4a02ec747a9 | github | assembler | https://github.com/Terraspace/UASM/blob/28b09fcf7ca2f77034c045fe6612c4a02ec747a9/x64/Release/context.asm | 1 | 60 |
Terraspace/UASM:x64/Release/context.asm:2 | DD imagerel $LN75+1073
DD imagerel $unwind$ContextDirective
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$ContextRestoreState DD imagerel ContextRestoreState
DD imagerel ContextRestoreState+22
DD imagerel $unwind$ContextRestoreState
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$0$ContextRestoreState DD imagerel Co... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | 28b09fcf7ca2f77034c045fe6612c4a02ec747a9 | github | assembler | https://github.com/Terraspace/UASM/blob/28b09fcf7ca2f77034c045fe6612c4a02ec747a9/x64/Release/context.asm | 41 | 100 |
Terraspace/UASM:x64/Release/context.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10843 DB 'ASSUMES', 00H
$SG10844 DB 'RADIX', 00H
ORG $+2
$SG... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/context.asm | 1 | 60 |
Terraspace/UASM:x64/Release/context.asm:2 | DD imagerel $LN75+1073
DD imagerel $unwind$ContextDirective
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$ContextRestoreState DD imagerel ContextRestoreState
DD imagerel ContextRestoreState+22
DD imagerel $unwind$ContextRestoreState
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$0$ContextRestoreState DD imagerel Co... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/context.asm | 41 | 100 |
Terraspace/UASM:x64/Release/context.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10832 DB 'ASSUMES', 00H
$SG10833 DB 'RADIX', 00H
ORG $+2
$SG... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/context.asm | 1 | 60 |
Terraspace/UASM:x64/Release/context.asm:2 | DD imagerel $LN75+1073
DD imagerel $unwind$ContextDirective
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$ContextRestoreState DD imagerel ContextRestoreState
DD imagerel ContextRestoreState+22
DD imagerel $unwind$ContextRestoreState
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$0$ContextRestoreState DD imagerel Co... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/context.asm | 41 | 100 |
Terraspace/UASM:x64/Release/context.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10828 DB 'ASSUMES', 00H
$SG10829 DB 'RADIX', 00H
ORG $+2
$SG... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/context.asm | 1 | 60 |
Terraspace/UASM:x64/Release/context.asm:2 | DD imagerel $LN75+1073
DD imagerel $unwind$ContextDirective
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$ContextRestoreState DD imagerel ContextRestoreState
DD imagerel ContextRestoreState+22
DD imagerel $unwind$ContextRestoreState
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$0$ContextRestoreState DD imagerel Co... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/context.asm | 41 | 100 |
Terraspace/UASM:x64/Release/context.asm:9 | lea rax, OFFSET FLAT:contextnames
mov rcx, QWORD PTR [rax+rbx*8]
call _stricmp
test eax, eax
je SHORT $LN50@ContextDir
; 119 : for ( j = 0, type = -1; j < ( sizeof(typetab) / sizeof(typetab[0]) ); j++ ) {
inc esi
inc rbx
movsxd rax, esi
cmp rax, 6
jae $LN3@ContextDir
jmp SHORT $LN73@ContextDir
$LN5... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/context.asm | 321 | 380 |
Terraspace/UASM:x64/Release/context.asm:10 | je $LN3@ContextDir
; 132 : break;
; 133 : else
; 134 : type &= ~CONT_ALIGNMENT; /* in case ALIGNMENT is again included in ALL */
and edi, -17
$LN21@ContextDir:
; 135 : }
; 136 :
; 137 : if ( directive == T_POPCONTEXT ) {
cmp rbp, 448 ; 000001c0H... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/context.asm | 361 | 420 |
Terraspace/UASM:x64/Release/context.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10827 DB 'ASSUMES', 00H
$SG10828 DB 'RADIX', 00H
ORG $+2
$SG10829 DB 'LISTING', 0... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 1 | 60 |
Terraspace/UASM:x64/Release/context.asm:2 | DD imagerel $unwind$ContextDirective
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$ContextRestoreState DD imagerel ContextRestoreState
DD imagerel ContextRestoreState+22
DD imagerel $unwind$ContextRestoreState
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$0$ContextRestoreState DD imagerel ContextRestoreState+22
DD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 41 | 100 |
Terraspace/UASM:x64/Release/context.asm:3 | xdata ENDS
; COMDAT xdata
xdata SEGMENT
$chain$0$ContextRestoreState DD 020521H
DD 063405H
DD imagerel ContextRestoreState
DD imagerel ContextRestoreState+22
DD imagerel $unwind$ContextRestoreState
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$ContextRestoreState DD 020601H
DD 070023206H
xdata ENDS
xdata SEGMENT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 81 | 140 |
Terraspace/UASM:x64/Release/context.asm:4 | $LN2@ContextIni:
; 306 : ContextRestoreState();
; 307 : }
; 308 : #endif
; 309 : }
ret 0
ContextInit ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\context.c
; COMDAT ContextRestoreState
_TEXT SEGMENT
ContextRestoreState PROC ; COMDAT
; 276 : {
pu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 121 | 180 |
Terraspace/UASM:x64/Release/context.asm:5 | ; 282 : dst = ContextFree;
; 283 : ContextFree = dst->next;
mov rax, QWORD PTR [r8]
mov QWORD PTR ModuleInfo+248, rax
; 284 : } else
jmp SHORT $LN6@ContextRes
$LN5@ContextRes:
; 285 : dst = LclAlloc( sizeof( struct context ) );
mov ecx, 752 ; 000002f0H
call L... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 161 | 220 |
Terraspace/UASM:x64/Release/context.asm:6 | movups XMMWORD PTR [rdx-48], xmm1
movups xmm0, XMMWORD PTR [rcx-32]
movups XMMWORD PTR [rdx-32], xmm0
movups xmm1, XMMWORD PTR [rcx-16]
movups XMMWORD PTR [rdx-16], xmm1
sub rax, 1
jne SHORT $LL12@ContextRes
movups xmm0, XMMWORD PTR [rcx]
sub rbx, 752 ; 000002f0H
movups XMMWORD PTR [rdx], xmm0
movups xmm1,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 201 | 260 |
Terraspace/UASM:x64/Release/context.asm:7 | pop rdi
ret 0
ContextRestoreState ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\context.c
_TEXT SEGMENT
tv730 = 32
type$ = 128
i$ = 128
tokenarray$ = 136
tv676 = 144
tv690 = 152
ContextDirective PROC
; 107 : {
$LN75:
mov QWORD PTR [rsp+16], rdx
push rbx
push rbp
p... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 241 | 300 |
Terraspace/UASM:x64/Release/context.asm:8 | ; 115 :
; 116 : i++; /* skip CONTEXT keyword */
inc r12d
; 117 :
; 118 : while ( tokenarray[i].token == T_ID ) {
movsxd r13, r12d
shl r13, 5
add r13, rdx
mov QWORD PTR tv730[rsp], rax
shl rax, 5
cmp BYTE PTR [r13], 8
movsxd r8, DWORD PTR [rax+rdx+16]
jne $LN68@ContextDir
; 135 : }
; 13... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 281 | 340 |
Terraspace/UASM:x64/Release/context.asm:9 | mov rcx, QWORD PTR [rax+rbx*8]
call _stricmp
test eax, eax
je SHORT $LN50@ContextDir
; 119 : for ( j = 0, type = -1; j < ( sizeof(typetab) / sizeof(typetab[0]) ); j++ ) {
inc esi
inc rbx
movsxd rax, esi
cmp rax, 6
jae $LN3@ContextDir
jmp SHORT $LN73@ContextDir
$LN50@ContextDir:
; 121 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 321 | 380 |
Terraspace/UASM:x64/Release/context.asm:10 | ; 132 : break;
; 133 : else
; 134 : type &= ~CONT_ALIGNMENT; /* in case ALIGNMENT is again included in ALL */
and edi, -17
$LN21@ContextDir:
; 135 : }
; 136 :
; 137 : if ( directive == T_POPCONTEXT ) {
cmp rbp, 448 ; 000001c0H
jne $LN22@ContextD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 361 | 420 |
Terraspace/UASM:x64/Release/context.asm:11 | ; 148 : prev = curr;
mov r14, rbx
; 149 : continue;
jmp $LN7@ContextDir
$LN24@ContextDir:
; 150 : }
; 151 :
; 152 : type &= ~curr->type;
not eax
and edi, eax
; 153 : if ( prev )
test r14, r14
je SHORT $LN25@Contex... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 401 | 460 |
Terraspace/UASM:x64/Release/context.asm:12 | mov QWORD PTR ModuleInfo+248, rbx
; 160 :
; 161 : /* restore the values */
; 162 : switch ( curr->type ) {
mov ecx, DWORD PTR [rbx+8]
sub ecx, 1
je $LN27@ContextDir
sub ecx, 1
je $LN28@ContextDir
sub ecx, 2
je SHORT $LN30@ContextDir
sub ecx, 4
je SHORT $LN31@ContextDir
cmp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 441 | 500 |
Terraspace/UASM:x64/Release/context.asm:13 | movzx eax, WORD PTR [rbx+16]
mov WORD PTR ModuleInfo+388, ax
test rcx, rcx
je SHORT $LN32@ContextDir
; 184 : sym_Cpu->value = curr->cc.cpu;
movsx eax, WORD PTR [rbx+16]
mov DWORD PTR [rcx+16], eax
$LN32@ContextDir:
; 185 : ModuleInfo.curr_cpu = curr->cc.curr_cpu;
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 481 | 540 |
Terraspace/UASM:x64/Release/context.asm:14 | xor ecx, eax
mov DWORD PTR ModuleInfo+408, ecx
; 178 : ModuleInfo.listif = curr->lc.listif;
movzx eax, BYTE PTR [rbx+20]
shl eax, 11
xor eax, ecx
and eax, 8192 ; 00002000H
xor ecx, eax
mov DWORD PTR ModuleInfo+408, ecx
; 179 : ModuleInfo.list_generated_code = c... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 521 | 580 |
Terraspace/UASM:x64/Release/context.asm:15 | lea rcx, QWORD PTR [rbx+16]
call SetSegAssumeTable
; 165 : SetStdAssumeTable( curr->ac.StdAssumeTable, curr->ac.type_content );
lea rdx, QWORD PTR [rbx+368]
lea rcx, QWORD PTR [rbx+112]
call SetStdAssumeTable
$LN7@ContextDir:
; 138 : struct context *prev;
; 139 : st... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 561 | 620 |
Terraspace/UASM:x64/Release/context.asm:16 | mov rax, QWORD PTR tv676[rsp]
add r13, 32 ; 00000020H
add rax, 32 ; 00000020H
inc r12d
add r15, 32 ; 00000020H
mov QWORD PTR tv676[rsp], rax
; 238 : if ( tokenarray[i].token == T_COMMA && tokenarray[i+1].token != T_FINAL )
cmp BYTE PTR [r13], 44 ; 0000002cH
jne SHORT $LN42@ContextDir
cm... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 601 | 660 |
Terraspace/UASM:x64/Release/context.asm:17 | je $LN69@ContextDir
; 195 : if ( type & typetab[j] ) {
mov eax, DWORD PTR [rsi]
test eax, edi
je $LN12@ContextDir
; 196 :
; 197 : type &= ~typetab[j];
; 198 :
; 199 : if ( ContextFree ) {
mov rbx, QWORD PTR ModuleInfo+248
not eax
and edi, eax
test ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 641 | 700 |
Terraspace/UASM:x64/Release/context.asm:18 | mov eax, DWORD PTR [rsi]
mov DWORD PTR [rbx+8], eax
; 206 : curr->next = ContextStack;
mov rcx, QWORD PTR ModuleInfo+240
mov QWORD PTR [rbx], rcx
; 207 : ContextStack = curr;
mov QWORD PTR ModuleInfo+240, rbx
; 208 :
; 209 : switch ( typetab[j] ) ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 681 | 740 |
Terraspace/UASM:x64/Release/context.asm:19 | $LN41@ContextDir:
; 228 : case CONT_CPU:
; 229 : curr->cc.cpu = ModuleInfo.cpu;
movzx eax, WORD PTR ModuleInfo+388
mov WORD PTR [rbx+16], ax
; 230 : curr->cc.curr_cpu = ModuleInfo.curr_cpu;
mov eax, DWORD PTR ModuleInfo+392
mov DWORD PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 721 | 780 |
Terraspace/UASM:x64/Release/context.asm:20 | mov edx, DWORD PTR ModuleInfo+408
shr edx, 13
shl dl, 2
xor dl, cl
and dl, 4
xor dl, cl
mov BYTE PTR [rbx+20], dl
; 226 : curr->lc.list_generated_code = ModuleInfo.list_generated_code;
mov eax, DWORD PTR ModuleInfo+408
shr eax, 14
shl al, 3
xor al, dl
and al, 8
xor al, dl
mov BYT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 761 | 820 |
Terraspace/UASM:x64/Release/context.asm:21 | call GetSegAssumeTable
; 212 : GetStdAssumeTable( curr->ac.StdAssumeTable, curr->ac.type_content );
lea rdx, QWORD PTR [rbx+368]
lea rcx, QWORD PTR [rbx+112]
call GetStdAssumeTable
$LN12@ContextDir:
; 191 : }
; 192 : } else {
; 193 : DebugMsg(( "PUSHCONT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 801 | 860 |
Terraspace/UASM:x64/Release/context.asm:22 | mov rcx, QWORD PTR tokenarray$[rsp]
movsxd rdx, r12d
shl rdx, 5
cmp BYTE PTR [rdx+rcx], 0
jne SHORT $LN44@ContextDir
cmp edi, -1
je SHORT $LN44@ContextDir
; 244 : }
; 245 :
; 246 : return( NOT_ERROR );
xor eax, eax
jmp SHORT $LN1@ContextDir
$LN44@ContextDir:
; 243 : return( EmitErr( SYNTA... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 841 | 900 |
Terraspace/UASM:x64/Release/context.asm:23 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\context.c
_TEXT SEGMENT
ContextSaveState PROC
; 255 : {
$LN20:
sub rsp, 40 ; 00000028H
; 256 : int i;
; 257 : struct context *src;
; 258 : struct context *dst;
; 259 :
; 260 : for ( i = 0, src = ContextStack ; src ; i++, src = src->next );
mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/context.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/context.asm | 881 | 940 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.