Post Created date
help with ASM.
Ok, one more question here for my debugging effort.   How is ths used? :     "z" ((unsigned char volatile *)gcn64_workbuf),      ...
Wednesday, 17 February 2021 - 03:23
help with ASM.
Whoa..  PickKit4  LOL I used the 3 on mplab for pic chips... That works on avr studio? I know microchip bought ateml but I'd like to stay on avr studio for now. Are...
Tuesday, 16 February 2021 - 13:24
help with ASM.
Is  Atmel-ICE still the best option there? I only have an stk-500 but that's no jtag... I see the ICE goes for %100 + these days and dragons are a bit out of sync.  Hmm...
Tuesday, 16 February 2021 - 12:19
help with ASM.
    I can see the two register here.  ldi r24,lo8(529)          ldi r25,hi8(529)   I know the effected register is 24....
Tuesday, 16 February 2021 - 03:22
help with ASM.
for the count issue I need to use a constant of 529, that gets me out free and clear but really makes no sense.   As for the ASM, isn't r16 the only register its using? Other...
Monday, 15 February 2021 - 23:36
help with ASM.
LOL, sorry I forgot about the stupid double counting bits.   Simple math tells me 32bytes times 2 is 512 bits. I what I meant.   Yes the counting variable is actually...
Monday, 15 February 2021 - 23:10
help with ASM.
I was wrong, it will work. Seems the issue is that the ASM is cutting out of the code too early?   There are only two condition to exit AFAICT, 1) a timeout 2 this overflow....
Monday, 15 February 2021 - 22:35
help with ASM.
N.Winterbottom thx for the help.   That did the trick, sadly the entire time is > 1ms, killing the USB frame KA as I have to disable interrupts during this time. a mega328...
Monday, 15 February 2021 - 15:22
help with ASM.
My compiler says garbage at end of line of I use high or low.   About the registers. As mentioned above here Its not wise to select a register with asm("r24"), as they are...
Monday, 15 February 2021 - 01:54
help with ASM.
I have been looking in to that sort of thing   like           "    adiw %0,1         ...
Monday, 15 February 2021 - 00:31
help with ASM.
Ok so if I just do this register int count =0; :     "=&w" (count)                  ...
Sunday, 14 February 2021 - 23:39
help with ASM.
oh, like this  register int count asm("r24"); count =0;     Complies and runs but still does not count right?   The following code returns a count of 65 when...
Sunday, 14 February 2021 - 15:33

Pages