Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SPR (0.01 sec)

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

    	// Map of instruction names to enumeration.
    	Instructions map[string]obj.As
    	// Map of register names to enumeration.
    	Register map[string]int16
    	// Table of register prefix names. These are things like R for R(0) and SPR for SPR(268).
    	RegisterPrefix map[string]bool
    	// RegisterNumber converts R(10) into arm.REG_R10.
    	RegisterNumber func(string, int16) (int16, bool)
    	// Instruction is a jump.
    	IsJump func(word string) bool
    }
    
    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

    	case sys.ARM64, sys.Loong64:
    		// R1.xxx
    		return p.peek() == '.'
    	default:
    		return false
    	}
    }
    
    // registerReference parses a register given either the name, R10, or a parenthesized form, SPR(10).
    func (p *Parser) registerReference(name string) (int16, bool) {
    	r, present := p.arch.Register[name]
    	if present {
    		return r, true
    	}
    	if !p.arch.RegisterPrefix[name] {
    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