Ruben Jšnsson wrote: > > Tjaart wrote, > > > > > PIC > > --- > > Memory : Piecewise linear (read : banked) > > Stack : No access > > Push/Pop : No > > Deep : Dependant on part. Max 8 deep. > > > > SX > > -- > > Memory : Piecewise linear (read : banked) > > Stack : No access > > Push/Pop : Yes > > How is Push/Pop done on a SX? This is my second reply - Windows crashed just before I sent my first (makes you wonder, doesn't it ;) ) 'PUSH' & 'POP' on the SX is done in the way it should be - automatically! There are shadow registers that automatically save the PC, W, FSR, and STATUS registers. This stack runs independant of the 8 level call stack. -- Friendly Regards /"\ \ / Tjaart van der Walt X ASCII RIBBON CAMPAIGN mailto:tjaart@cellpt.co.za / \ AGAINST HTML MAIL |--------------------------------------------------| | GSM Technology for Positioning and Telematics | | Cellpoint Systems SA http://www.cellpt.com | | http://www.wasp.co.za/~tjaart/index.html | | WGS84 -26.0124 +28.1129 Voice +27 (0)11 2545100 | |--------------------------------------------------|