Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Operands (1.06 sec)

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

    	}
    	return res
    }
    
    func TestErroneous(t *testing.T) {
    
    	type errtest struct {
    		pseudo   string
    		operands string
    		expected string
    	}
    
    	nonRuntimeTests := []errtest{
    		{"TEXT", "", "expect two or three operands for TEXT"},
    		{"TEXT", "%", "expect two or three operands for TEXT"},
    		{"TEXT", "1, 1", "TEXT symbol \"<erroneous symbol>\" must be a symbol(SB)"},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/amd64error.s

    	CALL (AX)(PC*1)                 // ERROR "invalid instruction"
    	CALL (AX)(SB*1)                 // ERROR "invalid instruction"
    	CALL (AX)(FP*1)                 // ERROR "invalid instruction"
    	// Forbid memory operands for MOV CR/DR. See #24981.
    	MOVQ CR0, (AX)                  // ERROR "invalid instruction"
    	MOVQ CR2, (AX)                  // ERROR "invalid instruction"
    	MOVQ CR3, (AX)                  // ERROR "invalid instruction"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/loong64error.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    TEXT errors(SB),$0
    	VSHUF4IV	$16, V1, V2	// ERROR "operand out of range 0 to 15"
    	XVSHUF4IV	$16, X1, X2	// ERROR "operand out of range 0 to 15"
    	ADDV16		$1, R4, R5	// ERROR "the constant must be a multiple of 65536."
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Sep 04 19:24:25 UTC 2025
    - 454 bytes
    - Viewed (0)
  4. src/cmd/asm/internal/arch/riscv64.go

    	return op == riscv.AVSETVLI || op == riscv.AVSETIVLI
    }
    
    var riscv64SpecialOperand map[string]riscv.SpecialOperand
    
    // RISCV64SpecialOperand returns the internal representation of a special operand.
    func RISCV64SpecialOperand(name string) riscv.SpecialOperand {
    	if riscv64SpecialOperand == nil {
    		// Generate mapping when function is first called.
    		riscv64SpecialOperand = map[string]riscv.SpecialOperand{}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/arm.go

    		(1 << 4) /* must be set */
    	return offset, arm.AMRC, true
    }
    
    // IsARMMULA reports whether the op (as defined by an arm.A* constant) is
    // MULA, MULS, MMULA, MMULS, MULABB, MULAWB or MULAWT, the 4-operand instructions.
    func IsARMMULA(op obj.As) bool {
    	switch op {
    	case arm.AMULA, arm.AMULS, arm.AMMULA, arm.AMMULS, arm.AMULABB, arm.AMULAWB, arm.AMULAWT:
    		return true
    	}
    	return false
    }
    
    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