Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for JMP (0.02 sec)

  1. src/cmd/asm/internal/asm/testdata/mips64.s

    //	}
    	BEQ	R1, 2(PC)
    label0:
    	JMP	1(PC)		// JMP 1(PC)	// 10000001
    	BEQ	R1, 2(PC)
    	JMP	label0+0	// JMP 3	// 1000fffd
    	BEQ	R1, 2(PC)
    	JAL	1(PC)		// CALL 1(PC)	// 0c00000f
    	BEQ	R1, 2(PC)
    	JAL	label0+0	// CALL 3	// 0c000007
    
    //	LBRA addr
    //	{
    //		outcode(int($1), &nullgen, 0, &$2);
    //	}
    	BEQ	R1, 2(PC)
    	JMP	0(R1)		// JMP (R1)	// 00200008
    	BEQ	R1, 2(PC)
    	JMP	foo+0(SB)	// JMP foo(SB)	// 08000019
    	BEQ	R1, 2(PC)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/mips.s

    	//	}
    	BEQ	R1, 2(PC)
    label0:
    	JMP	1(PC)
    	BEQ	R1, 2(PC)
    	JMP	label0+0	// JMP 66
    	BEQ	R1, 2(PC)
    	JAL	1(PC)	// CALL 1(PC)
    	BEQ	R1, 2(PC)
    	JAL	label0+0	// CALL 66
    
    	//	LBRA addr
    	//	{
    	//		outcode(int($1), &nullgen, 0, &$2);
    	//	}
    	BEQ	R1, 2(PC)
    	JMP	0(R1)	// JMP (R1)
    	BEQ	R1, 2(PC)
    	JMP	foo+0(SB)	// JMP foo(SB)
    	BEQ	R1, 2(PC)
    	JAL	0(R1)	// CALL (R1)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/arm.s

    	BLE	1(PC)  // BLE 1(PC)    // ffffffda
    	ADD	$0, R0, R0
    	B	-1(PC) // JMP -1(PC)   // fdffffea
    	B	-2(PC) // JMP -2(PC)   // fcffffea
    	B	-3(PC) // JMP -3(PC)   // fbffffea
    	B	-4(PC) // JMP -4(PC)   // faffffea
    	B	-5(PC) // JMP -5(PC)   // f9ffffea
    	B	jmp_label_0 // JMP     // 010000ea
    	B	jmp_label_0 // JMP     // 000000ea
    	B	jmp_label_0 // JMP     // ffffffea
    jmp_label_0:
    	ADD	$0, R0, R0
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 69K bytes
    - Viewed (0)
  4. 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
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 17:31:25 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  5. 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.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Mar 15 20:45:41 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/ppc64.s

    	BC 20,undefined_symbol,LR       // BC $20,CR0LT,LR // 4e800020
    	BC 20,undefined_symbol+1,LR     // BC $20,CR0GT,LR // 4e810020
    	JMP LR                          // 4e800020
    	BR LR                           // JMP LR // 4e800020
    	BCL $20,CR0LT,$1,LR             // 4e800821
    	BCL $20,CR0LT,$0,LR             // 4e800021
    	BCL $20,CR0LT,LR                // 4e800021
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 21 18:27:17 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  7. 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
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 17:31:25 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/arch/ppc64.go

    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/ppc64"
    )
    
    func jumpPPC64(word string) bool {
    	switch word {
    	case "BC", "BCL", "BEQ", "BGE", "BGT", "BL", "BLE", "BLT", "BNE", "BR", "BVC", "BVS", "BDNZ", "BDZ", "CALL", "JMP":
    		return true
    	}
    	return false
    }
    
    // IsPPC64CMP reports whether the op (as defined by an ppc64.A* constant) is
    // one of the CMP instructions that require special handling.
    func IsPPC64CMP(op obj.As) bool {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 21 18:27:17 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. 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
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 14:19:19 UTC 2025
    - 49.1K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/arm.go

    	"BLO":  true,
    	"BMI":  true,
    	"BPL":  true,
    	"BVS":  true,
    	"BVC":  true,
    	"BHI":  true,
    	"BLS":  true,
    	"BGE":  true,
    	"BLT":  true,
    	"BGT":  true,
    	"BLE":  true,
    	"CALL": true,
    	"JMP":  true,
    }
    
    func jumpArm(word string) bool {
    	return armJump[word]
    }
    
    // IsARMCMP reports whether the op (as defined by an arm.A* constant) is
    // one of the comparison instructions that require special handling.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top