comparison code_part1/OSTC_code_asm_part1/isr.asm @ 345:8bb7c901743d ScreenDump

Added screen dumps in simulator mode too.
author JeanDo
date Sat, 21 May 2011 15:12:20 +0200
parents 797e2ac42d24
children ba0f30f3d560
comparison
equal deleted inserted replaced
344:797e2ac42d24 345:8bb7c901743d
91 bcf RCSTA,CREN ; Clear receiver status 91 bcf RCSTA,CREN ; Clear receiver status
92 bsf RCSTA,CREN 92 bsf RCSTA,CREN
93 return 93 return
94 94
95 simulator_int: 95 simulator_int:
96 movlw 'l' ; Received 'l' dump-screen command ?
97 xorwf RCREG,W
98 bnz simulator_int2 ; NO: skip
99 bsf uart_dump_screen ; YES: set flag
100 bra uartint1 ; and this is not a depth...
101
102 simulator_int2:
96 btfsc standalone_simulator ; ignore in standalone simulator mode 103 btfsc standalone_simulator ; ignore in standalone simulator mode
97 bra uartint1 104 bra uartint1
98 105
99 bsf LED_blue 106 bsf LED_blue
100 tstfsz RCREG ; =0x00? 107 tstfsz RCREG ; =0x00?