Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for symbolReference (0.11 sec)

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

    func (p *Parser) qualifySymbol(name string) string {
    	if strings.HasPrefix(name, ".") {
    		name = p.pkgPrefix + name
    	}
    	return name
    }
    
    // symbolReference parses a symbol that is known not to be a register.
    func (p *Parser) symbolReference(a *obj.Addr, name string, prefix rune) {
    	// Identifier is a name.
    	switch prefix {
    	case 0:
    		a.Type = obj.TYPE_MEM
    	case '$':
    		a.Type = obj.TYPE_ADDR
    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