??? 06/24/06 05:08 Read: times |
#118992 - im confused program not working |
can any one figure out whts the mistake now even in this simple program .im not getting the output
ORG #00H LJMP MAIN MAIN: MOV TMOD,#01100000B;TIMER 1,MODE 2 MOV R0,#452;COUNTER FOR MULTIPLE DELAY AGAIN: MOV TH1,#0H SETB P3.5 SETB TR1 BACK: MOV A,TL1 MOV P2,A JNB TF1,BACK CLR TR1 CLR TF1 DJNZ R0,AGAIN END as far as the following is concerned i ve defined TEXT A BYTE SO where would the dptr GO AFTER INCREMENT ORG #00H LJMP MAIN MAIN: MOV TMOD,#20H MOV TH1,#0FAH MOV SCON ,#50H SETB TR1 MOV DPTR,#TEXT AGAIN: CLR A MOVC A,@A+DPTR MOV P1,A ACALL SEND INC DPTR SJMP AGAIN SEND: MOV SBUF,A BACK: JNB TI,BACK CLR TI RET RECVE: JNB RI,RECVE MOV A,SBUF CLR RI RET TEXT: DB "I AM READY" END |
Topic | Author | Date |
im confused program not working | 01/01/70 00:00 | |
the upper one will never assemble! | 01/01/70 00:00 | |
bascom-8051 | 01/01/70 00:00 | |
BASIC compiler; proper link![]() | 01/01/70 00:00 | |
1st program TMOD wrong. | 01/01/70 00:00 | |
How to post code | 01/01/70 00:00 | |
as usual | 01/01/70 00:00 | |
Evidently... | 01/01/70 00:00 | |
do not judge people on their mistakes, j | 01/01/70 00:00 | |
As Usual Erik BULLIES Not Help | 01/01/70 00:00 | |
Instead of bullying ME why do'nt YOU hel | 01/01/70 00:00 | |
Charles take note | 01/01/70 00:00 | |
fait accompli | 01/01/70 00:00 | |
That's true... | 01/01/70 00:00 | |
Why would he? | 01/01/70 00:00 | |
Stop the War please | 01/01/70 00:00 | |
the crux | 01/01/70 00:00 | |
Program # 2 | 01/01/70 00:00 |