Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsARMMRC (0.04 sec)

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

    // It is encoded as an MRC with a bit inside the instruction word,
    // passed to arch.ARMMRCOffset.
    const aMCR = arm.ALAST + 1
    
    // IsARMMRC reports whether the op (as defined by an arm.A* constant) is
    // MRC or MCR.
    func IsARMMRC(op obj.As) bool {
    	switch op {
    	case arm.AMRC, aMCR: // Note: aMCR is defined in this package.
    		return true
    	}
    	return false
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    			prog.AddRestSourceArgs([]obj.Addr{a[1], a[2], a[3]})
    			prog.To = a[4]
    			break
    		}
    		p.errorf("can't handle %s instruction with 5 operands", op)
    		return
    	case 6:
    		if p.arch.Family == sys.ARM && arch.IsARMMRC(op) {
    			// Strange special case: MCR, MRC.
    			prog.To.Type = obj.TYPE_CONST
    			x0 := p.getConstant(prog, op, &a[0])
    			x1 := p.getConstant(prog, op, &a[1])
    			x2 := int64(p.getRegister(prog, op, &a[2]))
    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