The Museum of HP Calculators
HP Forum Archive 14
[ Return to Index | Top of Index ]
Message #1 Posted by klaus on 16 June 2004, 11:45 a.m.
Whoever has problems squeezing the microcode instructions in the rom of a ucontroller, can try the following to save space:
There are 1024 possible instructions, but only about 526 are used.
The Roms 1,5 and 6 use a similar subset of only 254 instructions. So you number the 254 instructions from 0 to 253 and store them instead of the original 10bit instructions. Next you have to build a translation table which translates the 8 bit number to the original opcode.
If you only have the choice between 8 and 16 bit words, you can save space:
Return to Index | Top of Index ]
Go back to the main exhibit hall