In SX Microcontrollers, SX/B Compiler and SX-Key Tool, rodneymc wrote: Can someone help me clarify what does the "OPEN" refer to for the baud modes in SERIN/OUT? I had thought it was "Open Collector" but doesn't seem to be, looking at the asm code. Here's the difference's in assembly of a subroutine I'm using - taking a quick look, it seems to inverse the data !RA, but I thought that's what the "N" (inverted) was used for... BAUD = "OTnnnn" [code] 293 0092 0425 CLRB MyOut 294 0093 0C7E MOV __PARAM4,#126 0094 002B 295 0095 02EB DJNZ __PARAM4,@$ 0096 0010 0A95 296 0098 0708 MOVB IND.1,__PARAM1.0 0099 0420 0608 0520 297 009C 0200 MOV !RA,IND 009D 0005 298 009E 0503 STC 299 009F 0328 RR __PARAM1 300 00A0 02E9 DJNZ __PARAM2,@$-13 00A1 0010 0A93 301 00A3 0018 BANK $00 [/code] BAUD = "Tnnnn" [code] 293 0092 0018 BANK $00 294 0093 0425 CLRB MyOut 295 0094 0C7E MOV __PARAM4,#126 0095 002B 296 0096 02EB DJNZ __PARAM4,@$ 0097 0010 0A96 297 0099 0000 NOP 298 009A 0000 NOP 299 009B 0708 MOVB MyOut,__PARAM1.0 009C 0425 0608 0525 300 009F 0503 STC 301 00A0 0328 RR __PARAM1 302 00A1 02E9 DJNZ __PARAM2,@$-13 00A2 0010 0 [/code] Thanks! Rodney ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=280511 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)