??? 06/17/05 13:02 Read: times |
#95156 - Is it need to set P3.2 if v use ext,intr Responding to: ???'s previous message |
Hi friends
I have a doubt that is it need to setb P3.3 bit in the programme if i am using an external inerrupt.Also if i am simulating it ,I can't get the real answer is it due to with out an hardware. My code is given bellow , org 0000h mov sp,#30h sjmp over ;; Interrupt for the counter org 0013h setb IP.2 jb int1, noise jbc tr1,stop setb tr1 noise: reti stop: setb flag clr ex1 reti ;; interrupt for internal timmer to count 2microsec Org 000bh mov TL0,#0f9h mov TH0,#0f0h setb PSW.3 mov p1,@r0 inc R0 mov P2,@r0 ; the cathode pattern that is 20h inc R0 Cjne R0,#56h,nxt mov R0,#ch1 nxt: Clr PSW.3 reti ; is it ok, |
Topic | Author | Date |
interrupt problem | 01/01/70 00:00 | |
The code doesn't seem to do much | 01/01/70 00:00 | |
Reti? | 01/01/70 00:00 | |
are you ok | 01/01/70 00:00 | |
RETI & CALL | 01/01/70 00:00 | |
The CPU performs an implicit call | 01/01/70 00:00 | |
SORRY! i was wrong. | 01/01/70 00:00 | |
No loop or no jump around isr_timer1 | 01/01/70 00:00 | |
Is it need to set P3.2 if v use ext,intr | 01/01/70 00:00 | |
read all about it | 01/01/70 00:00 | |
No "main loop" | 01/01/70 00:00 | |
re:code | 01/01/70 00:00 | |
re: code | 01/01/70 00:00 | |
Yes, and what have we gained? | 01/01/70 00:00 | |
Superman![]() | 01/01/70 00:00 |