[sdiy] Using 8051 to build a synth
synthplayer88 at spymac.com
synthplayer88 at spymac.com
Wed Aug 18 18:14:24 CEST 2004
On Wed Aug 18 9:19 , 'Jason Tribbeck' <jason.tribbeck at argogroup.com> sent:
>
>> Do you mean a seperate multiplier chip or use write the
>> machine code to use 8051
>> as a multiplier?
>
>I think you may have to use machine code to do the multiplication on the
>8051 - although the Cygnal C8051F120 has a built-in multiply function:
>
>You just write to some memory, perform two NOPs and then your result can be
>obtained (three NOPs if you want the extra information first). It does
>rounding and saturation too.
>
>Jason Tribbeck
>
Hi Jason,
What I can see the potential difficulty in using 8051 as a multiplier is that I
would need 2 (8-bit max)AD converter to sample the multiplied inputs and then
move the data to 2 seperate registers then multiply the 2 registers for the
outcome then output to an AD converter? Would there be enough pins (any left)to
do anything else?Also, the acc is only 8 bit wide?
Please excuse my inexperience of programing/use of the 8051, as I am still a
beginner in this.......
I don't think you can multiply 2 registers? and I don't think by moving 1
register to acc first to multiply the other register would either.....
BTW, I think you guys are an AWSOME bunch!!!!! :)
Looking forward to be learning from you knowledgeble chaps!!!!!
regards,
Scott
---- Introducing Spymac MailPro: http://www.spymac.com/mailpro/
More information about the Synth-diy
mailing list