I understand what you mean and it seems logical.
But what does the statement imply then?
I am quoting the whole text now instead:
Quote from "HC(S)08 Build Tools Reference Manual for Microcontrollers" :
-------------------------------
Pragma TRAP_PROC
This pragma defines an interrupt routine (i.e., activating this pragma terminates the
function with an RTI instruction instead of an RTS). Normally, interrupt routines save and
restore the H register at the entry response exit. If you are sure that H is not written in the
interrupt routine, you can use the TRAP_PROC pragma to disable the saving and restoring
of H (see #pragma TRAP_PROC: Mark Function as Interrupt Function)
------------------------------
Well english is not my native language so I might miss-interpret.
But I thought it meant that if I was sure that the code I write (or more exactly the generated assembly) in the interrupt routine will not modify the H-reg in any way, I can use the TRAP_PROC to disable the pushing and popping.