From: bodfish AT austen DOT notis DOT com (John Bodfish) Subject: Re: AT&T asm. immediate operands To: RGRUNWAL AT wasp DOT cs DOT cowan DOT edu DOT au (Ron Grunwald) Date: Mon, 20 Feb 95 8:29:46 CST Cc: djgpp AT sun DOT soe DOT clarkson DOT edu In reply to the following: > Does anyone know how or if binary and octal numbers > are written in AT&T assembly instructions? The as doc in info says: A binary integer is '0b' or '0B' followed by zero or more of the binary digits '01'. An octal integer is '0' followed by zero or more of the octal digits ('01234567'). A decimal integer starts with a non-zero digit followed by zero or more digits ('0123456789'). A hexadecimal integer is '0x' or '0X' followed by one or more hexadecimal digits chosen from '0123456789abcdefABCDEF'. I checked this out -- fed an instance of each format to "as" and then disassembled the a.out; it worked as expected. > Does anyone know how or if binary and octal numbers > are written in AT&T assembly instructions? John Bodfish bodfish AT notis DOT com