Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getImmediate (0.15 sec)

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

    		p.errorf("%s: expected integer constant; found %s", op, obj.Dconv(prog, addr))
    	}
    	return addr.Offset
    }
    
    // getImmediate checks that addr represents an immediate constant and returns its value.
    func (p *Parser) getImmediate(prog *obj.Prog, op obj.As, addr *obj.Addr) int64 {
    	if addr.Type != obj.TYPE_CONST || addr.Name != 0 || addr.Reg != 0 || addr.Index != 0 {
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top