ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Воскресенье
14 июля
492984 Топик полностью
Илья (03.03.2014 13:11, просмотров: 191) ответил ASDFS на 10,12,16 не имнют доступа к аппаратному стеку. 18 имеют.
не совсем так. PIC12F1xxx, PIC16F1xxx, т,е. все F1 имеют доступ к стеку http://ww1.microchip.com/downloads/en/DeviceDoc/41413C.pdf
3.4.1 ACCESSING THE STACK The stack is available through the TOSH, TOSL and STKPTR registers. STKPTR is the current value of the Stack Pointer. TOSH:TOSL register pair points to the TOP of the stack. Both registers are read/writable. TOS is split into TOSH and TOSL due to the 15-bit size of the PC. To access the stack, adjust the value of STKPTR, which will position TOSH:TOSL, then read/write to TOSH:TOSL. STKPTR is five bits to allow detection of overflow and underflow и.т.д