In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJ Allen wrote: [color=red>CLRB] JB RC.7,@$ ' get start bit MOV __PARAM2,#8 MOV __PARAM3,#10 MOV __PARAM4,#20 DJNZ __PARAM4,@$ DJNZ __PARAM3,@$-3 NOP NOP MOV __PARAM3,#19 MOV __PARAM4,#39 DJNZ __PARAM4,@$ DJNZ __PARAM3,@$-3 JMP @$+2 RR __PARAM1 MOVB __PARAM1.7,RC.7 DJNZ __PARAM2,@$-17 SETB RC.4 ' CTS OFF[/color] MOV outByte,__PARAM1 ENDASM CRP, Hey, your avatar -- that's the apparatus Spock was making on "The City on the Edge of Forever." [/code] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=283153#m283544 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)