Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mrc (0.01 sec)

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

    		return true
    	}
    	return false
    }
    
    // ARMMRCOffset implements the peculiar encoding of the MRC and MCR instructions.
    // The difference between MRC and MCR is represented by a bit high in the word, not
    // in the usual way by the opcode itself. Asm must use AMRC for both instructions, so
    // we return the opcode for MRC so that asm doesn't need to import obj/arm.
    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

    			x5 := p.getConstant(prog, op, &a[5])
    			// Cond is handled specially for this instruction.
    			offset, MRC, ok := arch.ARMMRCOffset(op, cond, x0, x1, x2, x3, x4, x5)
    			if !ok {
    				p.errorf("unrecognized condition code .%q", cond)
    			}
    			prog.To.Offset = offset
    			cond = ""
    			prog.As = MRC // Both instructions are coded as MRC.
    			break
    		}
    		if p.arch.Family == sys.PPC64 {
    			prog.From = a[0]
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/arch.go

    		if obj.As(i) >= obj.A_ARCHSPECIFIC {
    			instructions[s] = obj.As(i) + obj.ABaseARM
    		}
    	}
    	// Annoying aliases.
    	instructions["B"] = obj.AJMP
    	instructions["BL"] = obj.ACALL
    	// MCR differs from MRC by the way fields of the word are encoded.
    	// (Details in arm.go). Here we add the instruction so parse will find
    	// it, but give it an opcode number known only to us.
    	instructions["MCR"] = aMCR
    
    	return &Arch{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 24 12:32:56 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top