> I thought I knew how to specify numeric notation in my source, > now I'm confused :( > > This is what I thought > > 9 = Single digit 0-7 don't care > > d'9' = Decimal notation > > b'1' = Binary notation > > FFh = Hex notation > > 0xFF = Hex notation > > I get errors using either HEX notation. The first hex notation needs to have a leading digit (0FFh) so the parser can differentiate it from a symbol. The second variant follows the C syntax and should work. See the sample code in the listing -- all forms generate the same instruction. MPASM 01.30.01 Intermediate TEMP99.ASM 2-27-2000 16:21:04 PAGE 1 LOC OBJECT CODE LINE SOURCE TEXT VALUE 00001 list p=16c84, f=inhx8m 00002 0000 00003 org 0 0000 30FF 00004 movlw 0xFF 0001 30FF 00005 movlw d'255' 0002 30FF 00006 movlw o'377' 0003 30FF 00007 movlw b'11111111' 0004 30FF 00008 movlw .255 0005 30FF 00009 movlw 0FFh 00010 end MPASM 01.30.01 Intermediate TEMP99.ASM 2-27-2000 16:21:04 PAGE 2 SYMBOL TABLE LABEL VALUE __16C84 00000001 MEMORY USAGE MAP ('X' = Used, '-' = Unused) 0000 : XXXXXX---------- ---------------- ---------------- ---------------- 0040 : ---------------- ---------------- ---------------- ---------------- All other memory blocks unused. Program Memory Words Used: 6 Program Memory Words Free: 1018 Errors : 0 Warnings : 0 reported, 0 suppressed Messages : 0 reported, 0 suppressed Lee Jones