<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>On Jul 10, 2013, at 17:44, Jim Grosbach <<a href="mailto:grosbach@apple.com">grosbach@apple.com</a>> wrote:</div><blockquote type="cite"><div><div>The length specifier is, as I understand it, required when the instruction references memory but is optional (and inferred from the registers) for the register variants.</div><div><br></div><div>The best reference I know of for the AT&T syntax is: <a href="http://docs.oracle.com/cd/E19253-01/817-5477/817-5477.pdf">http://docs.oracle.com/cd/E19253-01/817-5477/817-5477.pdf</a></div></div></blockquote><div><br></div><div>I'm not sure I'd use the documentation for the Solaris assembler as authoritative for AT&T syntax, but page 17 does say that if the suffix is omitted it defaults to long.</div><div><br></div><div>However, that isn't my experience with gas which uses register operands to disambiguate, if possible (although I'm on a phone and can't check right now).</div><div><div style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><br>-- <div><div>Stephen Checkoway</div><div><br></div></div></div></div></body></html>