<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Jul 10, 2013, at 6:54 PM, Stephen Checkoway <<a href="mailto:s@pahtak.org">s@pahtak.org</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="auto" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><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>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></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></blockquote><div dir="auto"><br></div>Yeah, me either. That’s part of why I’m asking for references. I’d love to know which ones other people use. Good docs for AT&T syntax are annoyingly hard to find.</div><div><br></div><div><blockquote type="cite"><div dir="auto" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><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></blockquote></div><br><div>Yep, it’s the memory reference versions which IIUC require a suffix.</div><div><br></div><div>I want to make sure we do the right thing here and know why we’re doing it rather than just adding some aliases because it matches gas’ behavior.</div><div><br></div><div>-Jim</div></body></html>