Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for op2str1 (0.13 sec)

  1. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/inst.go

    		buf.WriteString(arg.String())
    	}
    	return buf.String()
    }
    
    // An Op is an instruction operation.
    type Op uint16
    
    func (o Op) String() string {
    	if int(o) >= len(opstr) || opstr[o] == "" {
    		return fmt.Sprintf("Op(%d)", int(o))
    	}
    	return opstr[o]
    }
    
    // An Arg is a single instruction argument, one of these types: Reg, CondReg, SpReg, Imm, PCRel, Label, or Offset.
    type Arg interface {
    	IsArg()
    	String() string
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 03 01:35:44 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/arm/armasm/inst.go

    // are not a dense packing from 0 to N, although the
    // density is high, probably at least 90%.
    
    func (op Op) String() string {
    	if op >= Op(len(opstr)) || opstr[op] == "" {
    		return fmt.Sprintf("Op(%d)", int(op))
    	}
    	return opstr[op]
    }
    
    // An Inst is a single instruction.
    type Inst struct {
    	Op   Op     // Opcode mnemonic
    	Enc  uint32 // Raw encoding bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 22:23:32 UTC 2017
    - 7.5K bytes
    - Viewed (0)
Back to top