Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for JMP (0.01 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/amd64.s

    // LTYPEC spec3	{ outcode($1, &$2); }
    	JCS	2(PC)
    	JMP	-4(PC)
    	JCS	2(PC)
    	JMP	label // JMP 17
    	JCS	2(PC)
    	JMP	foo+4(SB)
    	JCS	2(PC)
    	JMP	bar<>+4(SB)
    	JCS	2(PC)
    	JMP	bar<>+4(SB)(R11*4)
    	JCS	2(PC)
    	JMP	*4(SP) // JMP 4(SP)
    	JCS	2(PC)
    	JMP	*(R12) // JMP (R12)
    	JCS	2(PC)
    //	JMP	*(R12*4) // TODO: This line is silently dropped on the floor!
    	JCS	2(PC)
    	JMP	*(R12)(R13*4) // JMP (R12)(R13*4)
    	JCS	2(PC)
    	JMP	*(AX) // JMP (AX)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Apr 09 18:57:21 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/386.s

    // LTYPER nonrel	{ outcode(int($1), &$2); }
    label:
    	JC	label // JCS
    	JC	-1(PC) // JCS -1(PC)
    
    // LTYPEC spec3	{ outcode(int($1), &$2); }
    	CALL	AX
    	JCS	2(PC)
    	JMP	*AX // JMP AX
    	CALL	*foo(SB)
    	JCS	2(PC)
    	JMP	$4
    	JCS	2(PC)
    	JMP	label // JMP 16
    	CALL	foo(SB)
    //	CALL	(AX*4) // TODO: This line is silently dropped on the floor!
    	CALL	foo+4(SB)(AX*4)
    	CALL	*4(SP) // CALL 4(SP)
    	CALL	*(AX) // CALL (AX)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Apr 09 18:57:21 UTC 2019
    - 2K bytes
    - Viewed (0)
  4. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  5. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 69K bytes
    - Viewed (0)
  6. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/arch/s390x.go

    		"CMPBNE",
    		"CMPUBEQ",
    		"CMPUBGE",
    		"CMPUBGT",
    		"CMPUBLE",
    		"CMPUBLT",
    		"CMPUBNE",
    		"CRJ",
    		"CGRJ",
    		"CLRJ",
    		"CLGRJ",
    		"CIJ",
    		"CGIJ",
    		"CLIJ",
    		"CLGIJ",
    		"CALL",
    		"JMP":
    		return true
    	}
    	return false
    }
    
    func s390xRegisterNumber(name string, n int16) (int16, bool) {
    	switch name {
    	case "AR":
    		if 0 <= n && n <= 15 {
    			return s390x.REG_AR0 + n, true
    		}
    	case "F":
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 17 14:55:25 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  8. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 25 12:05:29 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/arch/loong64.go

    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/loong64"
    )
    
    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
    }
    
    // IsLoong64MUL reports whether the op (as defined by an loong64.A* constant) is
    // one of the MUL/DIV/REM instructions that require special handling.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Jul 29 02:47:00 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Mar 15 20:45:41 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top