- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for parseScale (0.11 sec)
-
src/cmd/asm/internal/asm/parse.go
func (p *Parser) address(operand []lex.Token) obj.Addr { p.start(operand) addr := obj.Addr{} p.operand(&addr) return addr } // parseScale converts a decimal string into a valid scale factor. func (p *Parser) parseScale(s string) int8 { switch s { case "1", "2", "4", "8": return int8(s[0] - '0') } p.errorf("bad scale: %s", s) return 0 }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 36.9K bytes - Viewed (0)