
Basic Embedded Programming Concepts 83
So, limiting the number of subroutines built into a program is only
prudent.
One of the reasons often given for including a large number of
subroutines in a program is the ability of subroutines to compress func-
tionality, making the program more readable to anyone following the
designer. If the purpose of a subroutine is to alleviate complexity in the
listing, then subroutines can still be used, they just have to include the
INLINE statement in front of the CALL. What the INLINE statement
does is force the language compiler to disregard the CALL/RETURN
statements and compile the routines from the subroutine ...