Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FUNCDATA (0.08 sec)

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

    	p.append(prog, "", true)
    }
    
    // asmFuncData assembles a FUNCDATA pseudo-op.
    // FUNCDATA $1, funcdata<>+4(SB)
    func (p *Parser) asmFuncData(operands [][]lex.Token) {
    	if len(operands) != 2 {
    		p.errorf("expect two operands for FUNCDATA")
    		return
    	}
    
    	// Operand 0 must be an immediate constant.
    	valueAddr := p.address(operands[0])
    	if !p.validImmediate("FUNCDATA", &valueAddr) {
    		return
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    				fmt.Fprintf(w, "def %s %s\n", name, abi)
    			}
    		}
    		return
    	case "GLOBL", "PCDATA":
    		// No text definitions or symbol references.
    	case "DATA", "FUNCDATA":
    		// For DATA, operands[0] is defined symbol.
    		// For FUNCDATA, operands[0] is an immediate constant.
    		// Remaining operands may have references.
    		if len(operands) < 2 {
    			return
    		}
    		operands = operands[1:]
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top