I guess the move went well, it seems to still be notifying us, and replies are going to the new thread. That's the first time I've split a thread, so I wasn't sure.
Back to the topic, this isn't quite what I had thought of earlier, but the code changed since then. I haven't had a chance to try it yet, but it does compile.
So assuming everything is working, I wanted to add one thing that gets you closer to that 1 line "embedded message strings" that you're looking for.
Here's a simple macro that should do the same thing that you have now, but only takes 1 line (of PBP code) to do it. It needs to be before Main:Now in the "Main" code, it'll look like this...Code:ASM SendStr macro Astring call _prntSTR data Astring,0 endm ENDASMOR, of course it could also be...Code:Main: CALL USART_Init @ SendStr "This is a string" @ SendStr "yet another string again" @ SendStr "and one more time!"DarrelCode:ASM SendStr "This is a string" SendStr "yet another string again" SendStr "and one more time!" ENDASM




Bookmarks