"w. v. ooijen / f. hanneman" wrote: > > > When it is not necessary to switch RAM banks, the PIC's architecture is > > generally quite nice. > I agree, especially for the 14 bits. > > > RAM banking, of course, causes most ideas of niceness to go out the > window. > Your examples show this: the nice 2-instruction > if ! a then b++ > explodes to 5 instructions (even without code paging). It is interesting to see how much code space the banking actually hogs. I've noticed a trend of about 15%-27% depending on the program structure. Scenix releived this problem very eloquently with their "BANK" commands. -- Friendly Regards /"\ \ / Tjaart van der Walt X ASCII RIBBON CAMPAIGN mailto:tjaart@wasp.co.za / \ AGAINST HTML MAIL |--------------------------------------------------| | WASP International | |R&D Engineer : GSM peripheral services development| |--------------------------------------------------| | Mobile : tjaart@sms.wasp.co.za (160 text chars) | | http://www.wasp.co.za/~tjaart/index.html | |Voice: +27-(0)11-622-8686 Fax: +27-(0)11-622-8973| | WGS-84 : 26¡10.52'S 28¡06.19'E | |--------------------------------------------------|