??? 02/24/04 15:22 Read: times |
#65436 - RE: Why not a different derivative ? Responding to: ???'s previous message |
Azhar Ali Chohan wrote:
------------------------------- Now the big question why i want to implement virtual machine on 8051, so that i can put EEPROM like 8k or 64k++, and put all of my dead slow code in it and make something very efficient in many ways. I do not think that you can do anything more efficient than assembler. Writing a virtual machine will not likely make your code more efficient. If you want to do something that re-uses stuff and puts "program code" in a serial eprom, you could try to implement some TIL-language (Threaded Interpretive Language, e.g. forth). This will however not fit into the remaining code space you have, so your best bet is to translate all your code to your TIL and then put your TIL statements in an eprom (serial or other). Will this be efficient? I doubt it. But it could be a solution to your code-space problem. However, finding an alternative device would be better (ie best) as has already been suggested. regards Patrick |