Hello all, After I finally got the gpasm project into mplabx (thanks for the help with the linker scripts and .cinit issues!), I have a problem with PORTA not changing in the simulator, when using bsf instructions. I checked this: 1- The A/D converters are configures as b'00000111' (ADCON1) 2- The output pins are TRISA'd with b'11100001' Both of these values checked with the mplabx simulator. Then executing a bsf PORTA,1 or ,2 seems to have no effect in the simulator. I read I/O Pin Issues (TB3009), but as this is the simulator hardware related problems shouldn't influence the sim... As I used macros to define the bits, I even disassembled the code to be sure the right bsf's are generated: 0004fb: 1485 bsf 0x5, 0x1 0004fc: 1505 bsf 0x5, 0x2 0004fd: 1585 bsf 0x5, 0x3 Any suggestions? John --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .