Thread: WYSIWYG Editor:
View Single Post
Old 02-12-2002, 11:41 PM  
redshift
Confirmed User
 
Join Date: Jan 2002
Location: anus fuckin' yo mama
Posts: 1,044
real men use notepad to write machine code

; call i_xmit to init rs232 port for 1200 baud at 4mhz
; call put_char to push byte to port - byte is in outbyte
outbyte equ 0x20
i_xmit movlw SPBRG
movwf FSR
movlw 0x33
movwf INDF

movlw txsta
movwf FSR
movlw 0x20
movwf INDF

movlw 0x90
movwf rcsta

clrf portc
bsf status,rp0
movlw 0xbf
movwf trisc
bcf status,rp0
retlw 0
redshift is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote