Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for JMP (0.02 seconds)

  1. src/cmd/asm/internal/asm/asm.go

    		Ctxt: p.ctxt,
    		As:   obj.AFUNCDATA,
    		Pos:  p.pos(),
    		From: valueAddr,
    		To:   nameAddr,
    	}
    	p.append(prog, "", true)
    }
    
    // asmJump assembles a jump instruction.
    // JMP	R1
    // JMP	exit
    // JMP	3(PC)
    func (p *Parser) asmJump(op obj.As, cond string, a []obj.Addr) {
    	var target *obj.Addr
    	prog := &obj.Prog{
    		Ctxt: p.ctxt,
    		Pos:  p.pos(),
    		As:   op,
    	}
    	targetAddr := &prog.To
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/asm/testdata/amd64dynlinkerror.s

    one:
    	RET
    TEXT ·a11(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	JEQ one
    	JMP two
    one:
    	ORQ R15, R15 // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here"
    two:
    	RET
    TEXT ·a12(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	JMP one
    two:
    	ORQ R15, R15
    	RET
    one:
    	MOVL $0, R15
    	JMP two
    
    // Ensure 3-arg instructions get GOT-rewritten without errors.
    // See issue 58735.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 20 19:05:03 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/arch/loong64.go

    	"cmd/internal/obj/loong64"
    	"errors"
    	"fmt"
    )
    
    func jumpLoong64(word string) bool {
    	switch word {
    	case "BEQ", "BFPF", "BFPT", "BLTZ", "BGEZ", "BLEZ", "BGTZ", "BLT", "BLTU", "JIRL", "BNE", "BGE", "BGEU", "JMP", "JAL", "CALL":
    		return true
    	}
    	return false
    }
    
    // IsLoong64RDTIME reports whether the op (as defined by an loong64.A*
    // constant) is one of the RDTIMELW/RDTIMEHW/RDTIMED instructions that
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sat Feb 14 15:17:33 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/arch/arm64.go

    	"BVC":   true,
    	"BHI":   true,
    	"BLS":   true,
    	"BGE":   true,
    	"BLT":   true,
    	"BGT":   true,
    	"BLE":   true,
    	"CALL":  true,
    	"CBZ":   true,
    	"CBZW":  true,
    	"CBNZ":  true,
    	"CBNZW": true,
    	"JMP":   true,
    	"TBNZ":  true,
    	"TBZ":   true,
    
    	// ADR isn't really a jump, but it takes a PC or label reference,
    	// which needs to patched like a jump.
    	"ADR":  true,
    	"ADRP": true,
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 6K bytes
    - Click Count (0)
  5. src/cmd/asm/internal/asm/testdata/riscv64.s

    	// This jumps to the second instruction in the function (the
    	// first instruction is an invisible stack pointer adjustment).
    	JMP	start					// JMP	2
    
    	JMP	2(PC)					// 6f008000
    	JMP	(X5)					// 67800200
    	JMP	4(X5)					// 67804200
    
    	// CALL and JMP to symbol are encoded as JAL (using LR or ZERO
    	// respectively), with a R_RISCV_JAL relocation. The linker resolves
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sat Apr 04 05:25:40 GMT 2026
    - 74.2K bytes
    - Click Count (0)
  6. src/cmd/asm/internal/arch/arch.go

    		"BLT", "BLTU", "BLTZ", "BNE", "BNEZ", "CALL", "CBEQZ", "CBNEZ", "CJ", "CJALR", "CJR",
    		"JAL", "JALR", "JMP":
    		return true
    	}
    	return false
    }
    
    func jumpWasm(word string) bool {
    	return word == "JMP" || word == "CALL" || word == "Call" || word == "Br" || word == "BrIf"
    }
    
    func archX86(linkArch *obj.LinkArch) *Arch {
    	register := make(map[string]int16)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 22K bytes
    - Click Count (0)
  7. doc/asm.html

    	0x0042 00066 (x.go:5)	RET
    	0x0043 00067 (x.go:5)	NOP
    	0x0043 00067 (x.go:3)	PCDATA	$1, $-1
    	0x0043 00067 (x.go:3)	PCDATA	$0, $-1
    	0x0043 00067 (x.go:3)	CALL	runtime.morestack_noctxt(SB)
    	0x0048 00072 (x.go:3)	JMP	0
    ...
    </pre>
    
    <p>
    The <code>FUNCDATA</code> and <code>PCDATA</code> directives contain information
    for use by the garbage collector; they are introduced by the compiler.
    </p>
    
    <p>
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:09:46 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/asm/testdata/arm64enc.s

    	ASR R14, R27, R7                           // 672bce9a
    	ASR $11, R27, R25                          // 79ff4b93
    	ASRW $11, R27, R25                         // 797f0b13
    	BLT -1(PC)                                 // ebffff54
    	JMP -1(PC)                                 // ffffff17
    	BFIW $16, R20, $6, R0                      // 80161033
    	BFI $27, R21, $21, R25                     // b95265b3
    	BFXILW $3, R27, $23, R14                   // 6e670333
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Feb 24 21:29:25 GMT 2026
    - 44K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/asm/testdata/loong64enc1.s

    	BFPF	lable2		// BFPF 6 	// 1ffcff4b
    	BFPF	FCC0, lable2	// BFPF FCC0, 6	// 1ff8ff4b
    	BFPF	FCC7, lable2	// BFPF FCC7, 6	// fff4ff4b
    
    	// relocation in play so the assembled offset should be 0
    	JMP	foo(SB)			// 00000050
    
    	JMP	(R4)			// 8000004c
    	JMP	1(PC)			// 00040050
    	MOVW	$65536, R4		// 04020014
    	MOVW	$4096, R4		// 24000014
    	MOVV	$65536, R4		// 04020014
    	MOVB	R4, R5			// 855c0000
    	MOVH	R4, R5			// 85580000
    	MOVV	$4096, R4		// 24000014
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 27 00:46:52 GMT 2025
    - 44.5K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/asm/testdata/arm64.s

    	RET R30					   // c0035fd6
    	RET	foo(SB)
    
    // B/BL/B.cond cases, and canonical names JMP, CALL.
    	BL	1(PC)      // CALL 1(PC)
    	BL	(R2)       // CALL (R2)
    	BL	foo(SB)    // CALL foo(SB)
    	BL	bar<>(SB)  // CALL bar<>(SB)
    	B	foo(SB)    // JMP foo(SB)
    	BEQ	1(PC)
    	BEQ	2(PC)
    	TBZ	$1, R1, 2(PC)
    	TBNZ	$2, R2, 2(PC)
    	JMP	foo(SB)
    	CALL	foo(SB)
    
    // ADR
    	ADR	next, R11     // ADR R11 // 2b000010
    next:
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 27 20:41:17 GMT 2026
    - 96.2K bytes
    - Click Count (0)
Back to Top