In SX Microcontrollers, SX/B Compiler and SX-Key Tool, rodneymc wrote: Hi, I have a few questions I'm running into on my project. I'm using SX/B v. 1.51.02 1. DELAY command - After I program the SX using the SX/Key, I'm getting slightly more of a delay on the first DELAY statement than on the second. After one loop occurs all is fine, and after a reset all is fine. It's seems to be only after programming. Here's a snippit of the code: [code] Main: for idx = 1 to 10 SEROUT Out, Baud, Data PAUSE 500 SEROUT Out, Baud, Data PAUSE 500 next END [/code] However, if I add another pause before the loop, it works fine after programming: Main: PAUSE 500 for idx = 1 to 10 SEROUT Out, Baud, Data PAUSE 500 SEROUT Out, Baud, Data PAUSE 500 next END The assembly output looks the same... 2. Now it could be part of the problem, as above. I'm using the new PIN declariation: [code] MyOut PIN RA.1 OUTPUT [/code] However, doesn't this declariation make it an output, or should I go ahead and still initilize the A pins, as in: Start: TRIS_A = %11111111 Also, I was suprised that the following gives the same assembly code: EQU RA.1 MyOut1 PIN RA.1 OUTPUT MyOut2 VAR RA.1 Is this correct? I am setting TRIS_A in question #1, above. A funny thing happens though. I get invalid data unless I set TRIS_A before adding the initial DELAY statement. Without, it seems to work fine, as I'm not sure I have an initialization issue or not. 3. What's the difference betwen the T and the OT baud modes in the baud rate for SERIN/SEROUT? I see in the help file, that T (True) seems to be no-parity, 8-data bits, and 1-stop bit. Would "T" also include a start bit too? What does "Open" mean? No stop bit? 4. I like to copy from the listing page (ctrl+L) and put it into another text editor for comparison (UltraEdit). Would it be possible within the SX-Key IDE in the next release to: