Skip to Content
Interfacing PIC Microcontrollers
book

Interfacing PIC Microcontrollers

by Martin P. Bates
April 2011
Intermediate to advanced
312 pages
9h 32m
English
Newnes
Content preview from Interfacing PIC Microcontrollers
called, this destination address is copied into the program counter, and the
program continues from the new address. At the same time, the return ad-
dress (the one following the CALL) is pushed onto the stack, which is a
block of memory dedicated to this purpose. In the PIC, there are 8 stack ad-
dress storage levels, which are used in turn. The return addresses may thus
be viewed as a stack of items, which must be added and removed in the same
sequence.
The subroutine is terminated with a RETURN instruction, which causes the
program to go back to the original position and continue. This is achieved by
pulling the address from the top of the stack ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Interfacing PIC Microcontrollers, 2nd Edition

Interfacing PIC Microcontrollers, 2nd Edition

Martin P. Bates

Publisher Resources

ISBN: 9780750680288