BigH
- 10th January 2006, 22:08
Hi Its me again
I am using Oshonsoft PIC Simulator IDE v5.33 to Monitor the Hardware UART for the Following Code. I only get an Output When I Execute the HSEROUT and I haven't a clue why this is, any Ideas Please
DEFINE USART_TXSTA 20h
DEFINE USART_RCSTA 90h
DEFINE USART_BAUD 9600
DEFINE USART_SPBRG 1
REPEAT
UNTIL PIR1.4 = 1
TXREG = "A"
REPEAT
UNTIL PIR1.4 = 1
TXREG = "B"
REPEAT
UNTIL PIR1.4 = 1
TXREG = "C"
REPEAT
UNTIL PIR1.4 = 1
' HSEROUT ["D"] 'I Get NO Output at All Until I Include HSEROUT When I the Expected Output "ABCD"
LOOP:
NOOP
GOTO LOOP
I am using Oshonsoft PIC Simulator IDE v5.33 to Monitor the Hardware UART for the Following Code. I only get an Output When I Execute the HSEROUT and I haven't a clue why this is, any Ideas Please
DEFINE USART_TXSTA 20h
DEFINE USART_RCSTA 90h
DEFINE USART_BAUD 9600
DEFINE USART_SPBRG 1
REPEAT
UNTIL PIR1.4 = 1
TXREG = "A"
REPEAT
UNTIL PIR1.4 = 1
TXREG = "B"
REPEAT
UNTIL PIR1.4 = 1
TXREG = "C"
REPEAT
UNTIL PIR1.4 = 1
' HSEROUT ["D"] 'I Get NO Output at All Until I Include HSEROUT When I the Expected Output "ABCD"
LOOP:
NOOP
GOTO LOOP