Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    	// fmt.Printf("%s %+v\n", op, a)
    	prog := &obj.Prog{
    		Ctxt: p.ctxt,
    		Pos:  p.pos(),
    		As:   op,
    	}
    	switch len(a) {
    	case 0:
    		// Nothing to do.
    	case 1:
    		if p.arch.UnaryDst[op] || op == obj.ARET || op == obj.AGETCALLERPC {
    			// prog.From is no address.
    			prog.To = a[0]
    		} else {
    			prog.From = a[0]
    			// prog.To is no address.
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top