??? 03/07/12 21:17 Read: times |
#186489 - Instruction says Responding to: ???'s previous message |
Hi Erik,
You are clearing accumulator Then a byte of data is being moved from code memory to Accumulator and then written to SBUF1 in WRITE_SERIAL. I will use spaces in future. Thanks WRITE_TABLE_SERIAL: NEXT_BYTE: CLR ACC ;;***** read the instruction below @A PLUS DPTR MOVC A, @A+DPTR ;LET ACC = THE POINT THAT VALUE OF ACC POINTS TO IN DATAPOINTER LCALL WRITE_SERIAL ;CALL ROUTINE INC DPTR ;INCREMENT DATAPOINTER TO WRITE NEXT BYTE OF CODE DJNZ R0,NEXT_BYTE ;DECREMENT RO TO ACCOUNT FOR NEXT BYTE IN CODE MEMORY TO BE SENT, THEN JUMP BACK TO NEXT_BYTE IF NOT = 0 |
Topic | Author | Date |
Serial coms, bytes not matching in serial capture | 01/01/70 00:00 | |
Couple of things at first glance... | 01/01/70 00:00 | |
Response | 01/01/70 00:00 | |
OK | 01/01/70 00:00 | |
what does the instruction spell out | 01/01/70 00:00 | |
Instruction says | 01/01/70 00:00 | |
Got it | 01/01/70 00:00 | |
have a good read | 01/01/70 00:00 | |
Nitgen FIM5360 module | 01/01/70 00:00 | |
Not familiar with the module... | 01/01/70 00:00 | |
Boot up time... | 01/01/70 00:00 | |
Response | 01/01/70 00:00 | |
Isn't boot time always time from reset or time from power-on | 01/01/70 00:00 | |
Ok | 01/01/70 00:00 | |
SCON1... | 01/01/70 00:00 | |
Jumping from RET to Jump Start | 01/01/70 00:00 | |
Please Ignore last post, issue resolved | 01/01/70 00:00 |