Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RegisterPrefix (0.09 sec)

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

    	// it, but give it an opcode number known only to us.
    	instructions["MCR"] = aMCR
    
    	return &Arch{
    		LinkArch:       &arm.Linkarm,
    		Instructions:   instructions,
    		Register:       register,
    		RegisterPrefix: registerPrefix,
    		RegisterNumber: armRegisterNumber,
    		IsJump:         jumpArm,
    	}
    }
    
    func archArm64() *Arch {
    	register := make(map[string]int16)
    	// Create maps for easy lookup of instruction names etc.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Nov 13 12:17:37 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    func (p *Parser) atStartOfRegister(name string) bool {
    	// Simple register: R10.
    	_, present := p.arch.Register[name]
    	if present {
    		return true
    	}
    	// Parenthesized register: R(10).
    	return p.arch.RegisterPrefix[name] && p.peek() == '('
    }
    
    // atRegisterShift reports whether we are at the start of an ARM shifted register.
    // We have consumed the register or R prefix.
    func (p *Parser) atRegisterShift() bool {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Nov 12 03:59:40 UTC 2025
    - 37.3K bytes
    - Viewed (0)
Back to top