Type in the full discussion title or a part of it.
Discussion Title Created date
Fastest way nibbles to bytes
Is this the fastest way to convert nibbles to bytes? mov temp, m16u3 ;copy m16u3 andi temp, 0x0f ;only lower nibble andi m16u3, 0xf0 ;only upper nibble swap m16u3 ;...
Monday, 22 October 2007 - 18:01
Fastest way to test nibbles on zero
What is the fastest way to test nibbles on zero? Want to test two nibbles. I can only come up with something like this. andi r16, 0xf0 brne notZero andi r16, 0x0f brne notZero...
Friday, 19 October 2007 - 10:15
[ASM] Compare 32bit
How to do a 32bit compare in ASM? :?
Thursday, 6 September 2007 - 20:14
How do I round 0xd8068 to 3 MSB digits?
Tuesday, 4 September 2007 - 19:46
Division by 10000
I multiply two 16bit numbers. (mul instr.) How do I divide by 10000 and round the right way? 8846640 / 10000 = 884.6640 -> 884 (is wrong number) Rounded it's 885.
Sunday, 2 September 2007 - 13:54
Serial programming AT90PWM3?
I wonder are MOSI_A, MISO_A en SCK_A the right programming pins or MISO, MOSI, SCK? (PORTB) The datasheet says MOSI_A, MISO_A en SCK_A (on PORTD). I'm not sure. (have to design a...
Thursday, 30 August 2007 - 21:10
How generating sine values?
In how many ways are generating sine values possible? 1. Sine table 2. Taylor series Any other methodes possible to get sine values? Perhaps via a circle? :?:
Monday, 27 August 2007 - 18:27
Better way to do this construction? (ASM)
nextRow:ror r19 ;bit0 r19 -> carry tst temp breq zero dec temp ;else shift count x brne nextRow I want to shift data r19 right, one time when temp=0, 2 times when...
Sunday, 26 August 2007 - 19:34
How can I calculate a 10-bit sinetable?
A 10-bit sine starts at 511, climbing to 1023. I want to use only one quadrant (90 deg.) of the sine (smaller table), thus 511 - 1023. (512 sine values) I calculate the other 3...
Thursday, 23 August 2007 - 21:49
ATtiny861 def file?
Does someone have the ATtiny861 definition file? Can't find it on Google or here, while it's in the list. (below) https://www.avrfreaks.net/index.p... Thanks. 8)
Wednesday, 22 August 2007 - 19:26
Implementing MP3 decoder in AVR
Is it possible to implement an MP3 decoder in an AVR? Or which datacompression is possible? Can we use simple datacompressor (zip, arj, rar types perhaps?) to compres audiodata a...
Saturday, 18 August 2007 - 22:16
Multiplying large numbers
How can I multiply large numbers with ASM? For example I want. 7854^3 = 7854*7854*7854 (7854 to the power of 3.) But I do not want to use larger than 16 bit numbers. Is this...
Friday, 10 August 2007 - 18:15