Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ADR (0.01 sec)

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

    	"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,
    }
    
    func jumpArm64(word string) bool {
    	return arm64Jump[word]
    }
    
    var arm64SpecialOperand map[string]arm64.SpecialOperand
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/arm64.s

    	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:
    	NOP
    	ADR -2(PC), R10    // 0a000010
    	ADR 2(PC), R16     // 10000010
    	ADR -26(PC), R1    // 01000010
    	ADR 12(PC), R2     // 02000010
    	ADRP -2(PC), R10   // 0a000090
    	ADRP 2(PC), R16    // 10000090
    	ADRP -26(PC), R1   // 01000090
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Mar 26 10:48:50 UTC 2025
    - 95.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/asm.go

    		}
    		p.errorf("wrong number of arguments to %s instruction", op)
    		return
    	case 1:
    		target = &a[0]
    	case 2:
    		// Special 2-operand jumps.
    		if p.arch.Family == sys.ARM64 && arch.IsARM64ADR(op) {
    			// ADR label, R. Label is in From.
    			target = &a[0]
    			prog.To = a[1]
    			targetAddr = &prog.From
    		} else {
    			target = &a[1]
    			prog.From = a[0]
    		}
    	case 3:
    		if p.arch.Family == sys.PPC64 {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 17:31:25 UTC 2025
    - 26.2K bytes
    - Viewed (0)
Back to top