Post Created date
Can ASM clobber a static varable in another file?
  Well ok then, that's done, I'm not really sure I see how this works but I guess the rule if thumb is clear up your mess?   after  the ASM was done, and I used my...
Saturday, 27 February 2021 - 01:00
Can ASM clobber a static varable in another file?
clawson I have to give you my profound thank you. I really have been waning to move this to a S file. Quite happy with it but by a shocking surprise the original issue came back...
Friday, 26 February 2021 - 20:21
Can ASM clobber a static varable in another file?
the ICE is on the way.
Friday, 26 February 2021 - 12:09
Can ASM clobber a static varable in another file?
OH, sorry I didn't see a doc link? Most links on this page are just poking fun at me.   EDIT: found it in your post...   Is there a reason not to use R18–R27, R30, R31...
Friday, 26 February 2021 - 00:12
Can ASM clobber a static varable in another file?
Ok, I see what you mean about the parameters now.  I do not know what I was thinking. If the first parm is 25/24 what is next? Is it the next parm r22?    ...
Thursday, 25 February 2021 - 18:48
Can ASM clobber a static varable in another file?
Ok so for my arrays I did this (func,parm,parm) is this right, I saw this from another example.?   FUNCTION(nN64GC_Receive, arrayDataIn):     ldi  ...
Thursday, 25 February 2021 - 18:24
Can ASM clobber a static varable in another file?
So I just made an S files and move what I have over but I need to also work out the %1...4 stuff.  Passing in the arrays I'm not sure about either but it may come to me. #...
Thursday, 25 February 2021 - 18:04
Can ASM clobber a static varable in another file?
I need to have two sections of code   1 asm volatile( " ldi r18, 9 \n" // byte counter " ld r16, x+ \n" // move buffer to r16 "next_byte%=: \n" " dec r18 \n...
Thursday, 25 February 2021 - 17:36
Can ASM clobber a static varable in another file?
I need to and want to learn how, I get how to call it from C and how to add an S in my MAKE but its all the set up in the S file itself that I do not really understand. If I'm...
Thursday, 25 February 2021 - 17:35
Can ASM clobber a static varable in another file?
Fixed my type-o       I have seen this before in ASM code.         "    push r30        ...
Thursday, 25 February 2021 - 16:21
Help with ASM, and compare and rol.
I also need the test before the shift.   This worked  best for me or r16,r16 ; don't change r16, but update flags brmi L1    ; jump if bit 7 set ;code for...
Tuesday, 23 February 2021 - 02:36
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

Pages