Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for operands (0.25 sec)

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

    // GLOBL shifts<>(SB),$256
    func (p *Parser) asmGlobl(operands [][]lex.Token) {
    	if len(operands) != 2 && len(operands) != 3 {
    		p.errorf("expect two or three operands for GLOBL")
    		return
    	}
    
    	// Operand 0 has the general form foo<>+0x04(SB).
    	nameAddr := p.address(operands[0])
    	if !p.validSymbol("GLOBL", &nameAddr, false) {
    		return
    	}
    	next := 1
    
    	// Next operand is the optional flag, a literal integer.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  2. 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)"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/parse.go

    	}
    	word, cond = p.lex.Text(), ""
    	operands = scratch[:0]
    	// Zero or more comma-separated operands, one per loop.
    	nesting := 0
    	colon := -1
    	for tok != '\n' && tok != ';' {
    		// Process one operand.
    		var items []lex.Token
    		if cap(operands) > len(operands) {
    			// Reuse scratch items slice.
    			items = operands[:cap(operands)][len(operands)][:0]
    		} else {
    			items = make([]lex.Token, 0, 3)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. 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"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 14 00:03:57 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    
    <h2 id="Expressions">Expressions</h2>
    
    <p>
    An expression specifies the computation of a value by applying
    operators and functions to operands.
    </p>
    
    <h3 id="Operands">Operands</h3>
    
    <p>
    Operands denote the elementary values in an expression. An operand may be a
    literal, a (possibly <a href="#Qualified_identifiers">qualified</a>)
    non-<a href="#Blank_identifier">blank</a> identifier denoting a
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  6. doc/go_spec.html

    </pre>
    
    <h2 id="Expressions">Expressions</h2>
    
    <p>
    An expression specifies the computation of a value by applying
    operators and functions to operands.
    </p>
    
    <h3 id="Operands">Operands</h3>
    
    <p>
    Operands denote the elementary values in an expression. An operand may be a
    literal, a (possibly <a href="#Qualified_identifiers">qualified</a>)
    non-<a href="#Blank_identifier">blank</a> identifier denoting a
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                is KtVariableDeclaration ->
                    parent.initializer == child
    
                // Binary expressions always use both operands.
                is KtBinaryExpression ->
                    parent.left == child || parent.right == child
    
                // Binary expressions with type RHS always use its operand.
                is KtBinaryExpressionWithTypeRHS ->
                    parent.left == child
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

    import org.jetbrains.kotlin.resolve.constants.evaluate.evalUnaryOp
    import org.jetbrains.kotlin.types.ConstantValueKind
    
    /**
     * An evaluator that transform numeric operation, such as div, into compile-time constant iff involved operands, such as explicit receiver
     * and the argument, are compile-time constant as well.
     */
    internal object FirCompileTimeConstantEvaluator {
        // TODO: Handle boolean operators, class reference, array, annotation values, etc.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/arm64error.s

    	VMOV	V8.D[0], V12.S[1]                                // ERROR "operand mismatch"
    	VMOV	V8.D[0], V12.H[1]                                // ERROR "operand mismatch"
    	VMOV	V8.D[0], V12.B[1]                                // ERROR "operand mismatch"
    	VMOV	V8.S[0], V12.H[1]                                // ERROR "operand mismatch"
    	VMOV	V8.S[0], V12.B[1]                                // ERROR "operand mismatch"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 37.8K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/arch.go

    	// Pseudo-registers.
    	register["SB"] = RSB
    	register["FP"] = RFP
    	register["PC"] = RPC
    	register["SP"] = RSP
    	registerPrefix := map[string]bool{
    		"F": true,
    		"R": true,
    	}
    
    	// special operands for DMB/DSB instructions
    	register["MB_SY"] = arm.REG_MB_SY
    	register["MB_ST"] = arm.REG_MB_ST
    	register["MB_ISH"] = arm.REG_MB_ISH
    	register["MB_ISHST"] = arm.REG_MB_ISHST
    	register["MB_NSH"] = arm.REG_MB_NSH
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
Back to top