Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for asmFuncData (0.24 sec)

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

    	}
    
    	prog := &obj.Prog{
    		Ctxt: p.ctxt,
    		As:   obj.APCALIGN,
    		Pos:  p.pos(),
    		From: key,
    	}
    	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.
    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

    		return
    	}
    	p.asmInstruction(op, cond, p.addr)
    }
    
    func (p *Parser) pseudo(word string, operands [][]lex.Token) bool {
    	switch word {
    	case "DATA":
    		p.asmData(operands)
    	case "FUNCDATA":
    		p.asmFuncData(operands)
    	case "GLOBL":
    		p.asmGlobl(operands)
    	case "PCDATA":
    		p.asmPCData(operands)
    	case "PCALIGN":
    		p.asmPCAlign(operands)
    	case "TEXT":
    		p.asmText(operands)
    	default:
    		return false
    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