Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for asmPCData (0.09 sec)

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

    		return
    	}
    
    	// log.Printf("GLOBL %s %d, $%d", name, flag, size)
    	p.ctxt.GloblPos(nameAddr.Sym, addr.Offset, int(flag), p.pos())
    }
    
    // asmPCData assembles a PCDATA pseudo-op.
    // PCDATA $2, $705
    func (p *Parser) asmPCData(operands [][]lex.Token) {
    	if len(operands) != 2 {
    		p.errorf("expect two operands for PCDATA")
    		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

    	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
    	}
    	return true
    }
    
    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