Hi, from MPAMS's point of view, AD12H is not a valid hexadecimal number. Only either h'AD12' or 0xAD12 would be... Another assemblers (e. g. CVASM) think differently: AD12H is a symbol. To make it to a hex number, prepend a zero, as 0AD12h Regards, Imre On Sat, 16 Oct 1999, Jason Langenauer wrote: > Greeting's Y'all, > > How does MPASM interpret the following > > ADDWF AD12H, 1 > > Specifically the AD12H, which is both a valid hexadecimal number, and a symbol ? > Does it see if it's in the symbol table, and use the number if it's not? Or > something else? > > The reason I ask is that I'm writing a PIC assembler for Linux, and am trying > to emulate MPASM behaviour as much as possible. I've just finished the parser, > and am now about to code the symbol table and expression evaluator. > > Does anyone know what happened to the GPASM project? Its seemed to have > disappeared. > > Finally, since this is my first posting to the list, I'l tell a little about > myself. As the .sig suggests, I am studying aerospace engineering, and play > around with PICs when I find the time. My main interest lies in > rocketry/aerospace applications, and no doubt a few of you will recognize my > name from the arocket list, where I lurk. > > Thanks a lot, > > -- > Jason Langenauer > Mechanical and Space Enginnering, The University of Queensland > -- > Lady Astor: If you were my husband, I'd poison you drink. > Winston Churchill : If I was your husband, I'd drink it. > >