??? 03/07/12 20:46 Modified: 03/07/12 20:50 Read: times |
#186487 - what does the instruction spell out Responding to: ???'s previous message |
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 ;LOOP R0 IF R0 =! 0 two comments, 1) your 'comment' "LOOP R0 IF R0 =! 0" is not a comment, a comment should not explain the instruction, but state the intention behind using it 2) GET RID OF THE TABS when posting code, Craig does not know what your tab settings are. USE SPACES ONLY. Erik |
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 |