I got my programmer going today and I am trying to assemble a program. A switch on port A is ment to turn a LED on/off on port B. loop BFTSC porta,0 ;if bit 0 porta is set then BSF portb,0 ;turn on bit 0 port b else BCF portb,0 ;turn of bit 0 port b goto loop I am using Charles Mannings development system. (same as the Kits R Us kit, I think) Below is the error message I get. Can anyone give me a few tips? Thanks. -----------------------------------error message-------------------------- C:\Seth\PIC>a84 seth.pic seth.obj A84: Assembler for PIC16C84 V1.01 Charles Manning 1996 seth.pic:25 loop BFTSC porta,0 ERROR AT ^ INSTRUCTION: Bad instruction or directive seth.pic:26 BSF portb,0 ERROR AT ^ ARG 1: Need value in range 0..7fh, (0 to 127) seth.pic:27 BCF portb,0 ERROR AT ^ ARG 1: Need value in range 0..7fh, (0 to 127) -------------------------------------------------------------------------------- --- -- Seth Fischer Auckland, New Zealand