I wrote pseudo code for program.. i just need someone translate it to assembly... we have to find beat per minute and we have the period... so if we count the number of period in each 60 second thats our BPM...
BPM=0
Total time= 0
loop totaltime=totaltime+period
bpm=bpm+1
if total time < 60 s go to loop
done
the period is given in 100ms unit (16 bits) so 60 sec = .6 *10^6 which is more than 16 bit...what should we do?
2007-02-12
16:43:32
·
3 answers
·
asked by
Princess Jasmine
2
in
Computers & Internet
➔ Programming & Design