Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validImmediate (0.19 sec)

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

    func (p *Parser) evalInteger(pseudo string, operands []lex.Token) int64 {
    	addr := p.address(operands)
    	return p.getConstantPseudo(pseudo, &addr)
    }
    
    // validImmediate checks that addr represents an immediate constant.
    func (p *Parser) validImmediate(pseudo string, addr *obj.Addr) bool {
    	if addr.Type != obj.TYPE_CONST || addr.Name != 0 || addr.Reg != 0 || addr.Index != 0 {
    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)
Back to top