Post Created date
Help with ASM, and compare and rol.
Will always be 8bit in this case.   sbrs r16, 7    would skip if value was 0x80 right? And I'd want to shift left, in this case. visual exmaple... Starting...
Monday, 22 February 2021 - 20:12
Learing the wonderful art of ASM but still need help.
 Either bad comments orI don't get it.  bad comments, thx ;)     Thx s'AVR , all good now.
Saturday, 20 February 2021 - 22:35
Learing the wonderful art of ASM but still need help.
  Quite glad I initiated this thread, found all of this very helpful..   Ok so the code all works now, here is what I have. There seems to be one little issue left...
Saturday, 20 February 2021 - 15:38
Learing the wonderful art of ASM but still need help.
Perfect explanation. sparrow2 , yes I understand now.   El Tangas , sure I get that but what I'm trying to say is this entire block of code is from an old project I didn't...
Saturday, 20 February 2021 - 03:05
Learing the wonderful art of ASM but still need help.
yeah BRMI, is not the question here. I only post all the code as it was asked for, that comment does not belong to that code.
Friday, 19 February 2021 - 20:48
Learing the wonderful art of ASM but still need help.
or   dec  r18    brne someplaceElse, happens ever bit.    brne someplace, only after 8   like posted above.
Friday, 19 February 2021 - 20:45
Learing the wonderful art of ASM but still need help.
No, I know the brmi part is messed up, still developing that part. I'm talking about the code westfw  posted. For that code I plan to use the same count down from 255, just...
Friday, 19 February 2021 - 20:28
Learing the wonderful art of ASM but still need help.
yes it works!   " "take the branch" on OPPOSITE conditions.  " - Right but the branch instruction is inverted also.       does brne check if a flag is set...
Friday, 19 February 2021 - 20:16
Learing the wonderful art of ASM but still need help.
  Ah crap, never mind that. I miss interpreted my debug. The first part of the top is the send command, data start the first time the orange lines show up. So apparently its...
Friday, 19 February 2021 - 19:31
Learing the wonderful art of ASM but still need help.
  Ok looks like it does count down but does not load back to 8. asm volatile( " clr %0 \n"//clear counter " clr r17 \n"//clear temp " ldi r18,8 \n"//set...
Friday, 19 February 2021 - 17:17
Learing the wonderful art of ASM but still need help.
Ok, ill troubleshoot further. I thought I had it right..
Friday, 19 February 2021 - 17:08
help with ASM.
Yes I did. I'm going over each bit with my analyzer to figure out why 529 is needed.  So I needed to know where to stick the debug. This seems to work well. CLR_DBG  ...
Wednesday, 17 February 2021 - 12:27

Pages