Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ARMMRCOffset (0.06 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: 2024-11-05 11:13
    - Last Modified: 2024-10-23 15:18
    - 6.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    			x3 := int64(p.getRegister(prog, op, &a[3]))
    			x4 := int64(p.getRegister(prog, op, &a[4]))
    			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.
    Registered: 2024-11-05 11:13
    - Last Modified: 2024-10-21 14:11
    - 25.5K bytes
    - Viewed (0)
Back to top