| ??? 06/11/05 04:29 Read: times |
#94654 - more Responding to: ???'s previous message |
heres what im trying to test just asimple PWM signal, i cut it out of my main code for testing. This is the first time ive programmed a chip and made my own circuit for it. But im not sure what im doing wrong, it simulates fine.
org 0 ; ljmp 080h org 80h mov sp,#050h ; Set stack pointer to address 50h jmp DELAY org 100h DELAY: mov a,#000h mov p1,a mov r3,#0e5h LP: djnz r3,LP ;DELAY .5 ms with a 11.0592 crystal mov r3,#0e5h LP2: djnz r3,LP2 ;DELAY .5 ms **total 1ms** mov r3,#044h LP3: djnz r3,LP3 ;DELAY .5 ms **total 1ms** mov a,#0FFh mov p1,a mov r3,#0e5h mov r4,#02ah llo: LP4: djnz r3,LP4 mov r3,#0e5h LP5: djnz r4,llo jmp DELAY END |
| Topic | Author | Date |
| Chip not functioning properly | 01/01/70 00:00 | |
| more | 01/01/70 00:00 | |
| re:more | 01/01/70 00:00 | |
| mike this is my sajation | 01/01/70 00:00 | |
| Nope | 01/01/70 00:00 | |
| and | 01/01/70 00:00 | |
Welcome back, Erik | 01/01/70 00:00 | |
| re:Chip not functioning properly | 01/01/70 00:00 | |
| re: re:Chip not functioning properly | 01/01/70 00:00 | |
| A guess | 01/01/70 00:00 | |
| Have you considered.... | 01/01/70 00:00 | |
| Michael, | 01/01/70 00:00 | |
| A slight correction | 01/01/70 00:00 | |
| to Mike | 01/01/70 00:00 | |
| Thanks | 01/01/70 00:00 | |
| Thanks everyone | 01/01/70 00:00 | |
| dim light | 01/01/70 00:00 | |
| PLs close this Thread u got the answer | 01/01/70 00:00 | |
| Close? | 01/01/70 00:00 | |
| Thread | 01/01/70 00:00 |



