#1 9712035 13 Lip 2011 01:39 ENTEROO ENTEROO Poziom 1 #1 9712035 13 Lip 2011 01:39 How to divide in AVR Assembler? Does not exist any RISC instruction to divide I am using AVR studio. Thanks
#2 9712157 13 Lip 2011 06:47 Dżyszla Dżyszla Poziom 42 Pomocny post? (0) #2 9712157 13 Lip 2011 06:47 I don't know AVR Asm, but if this true, You can always count, how many add intruction can do until overflow (total >= ...). Next decrase it - then You have result (without fraction). If You do sub total and your number, get rest of divide. mgr inż. Dżyszla <- Download i oficjalna strona Dekodera Elektronika! Nie odpowiadam na problemy i pyt. zgłaszanie via PW/mail! Pisz bardziej wydajny kod w Delphi!
#3 9712181 13 Lip 2011 07:28 Terminator Terminator Poziom 23 Pomocny post? (0) #3 9712181 13 Lip 2011 07:28 You have the example here. And here tutorial. Regards.