- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for IsRegisterShift (0.05 seconds)
-
src/cmd/asm/internal/lex/lex.go
BuildComment // //go:build or +build comment macroName // name of macro that should not be expanded ) // IsRegisterShift reports whether the token is one of the ARM register shift operators. func IsRegisterShift(r ScanToken) bool { return ROT <= r && r <= LSH // Order looks backwards because these are negative. } func (t ScanToken) String() string { switch t {Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 4.1K bytes - Click Count (0) -
src/cmd/asm/internal/asm/parse.go
return false } // R1<<... if lex.IsRegisterShift(p.peek()) { return true } // R(1)<<... Ugly check. TODO: Rethink how we handle ARM register shifts to be // less special. if p.peek() != '(' || len(p.input)-p.inputPos < 4 { return false } return p.at('(', scanner.Int, ')') && lex.IsRegisterShift(p.input[p.inputPos+3].ScanToken) }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Nov 12 03:59:40 GMT 2025 - 37.3K bytes - Click Count (0)