24.5 Inlining Inline Assembler Code

For a short subprogram such as the Incr function in the previous section, the overhead of the call and return (creating / deleting the stack frame)
can be significant, compared to the amount of code in the subprogram body.
A solution is to apply Ada's Inline pragma to the subprogram,
which directs the compiler to expand invocations of the subprogram at the point(s)
of call, instead of setting up a stack frame for out-of-line calls.
Here is the resulting program: