Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/28/07 03:05
Read: times


 
#131610 - Bitbanging help needed
In a bit banging code i found, it uses a * character as a stop/start bit. Can some one tell me why * is used? Isnt it supposed to be blank?
;Transmit character in A via TXD line
;
putc	CLR	TXD		;Drop line for start bit
	MOV	R0,#BITTIM	;Wait full bit-time
	DJNZ	R0,*		;For START bit
	MOV	R1,#8		;Send 8 bits
putc1	RRC	A		;Move next bit into carry
	MOV	TXD,C		;Write next bit
	MOV	R0,#BITTIM	;Wait full bit-time
	DJNZ	R0,*		;For DATA bit
	DJNZ	R1,putc1	;write 8 bits
	SETB	TXD		;Set line high
	RRC	A		;Restore ACC contents
	MOV	R0,#BITTIM	;Wait full bit-time
	DJNZ	R0,*		;For STOP bit
	RET


List of 16 messages in thread
TopicAuthorDate
Bitbanging help needed            01/01/70 00:00      
   Because they mistyped $            01/01/70 00:00      
      or use assembler with different syntax            01/01/70 00:00      
      Re: Because they mistyped $            01/01/70 00:00      
         That's not what Jan said            01/01/70 00:00      
   The bit banging file            01/01/70 00:00      
      RE: Bitbanging            01/01/70 00:00      
         They are timing loops            01/01/70 00:00      
   they used * for a reason            01/01/70 00:00      
   RE:Bit banging help            01/01/70 00:00      
      Code for bitbanging(Modified)            01/01/70 00:00      
         testing two unknowns            01/01/70 00:00      
         A hint            01/01/70 00:00      
         Another hint            01/01/70 00:00      
      Simulate!            01/01/70 00:00      
   cross posted            01/01/70 00:00      

Back to Subject List