Download Assertion Language manual - Bound

Transcript
options) and even if the subprogram now starts at a different address. Of course, if you change
the subprogram itself, the offset to the interesting instruction may change and you must then
change the offset in the assertion, too.
Some instruction sets divide the memory space into “pages” and require a longer branch
instruction to jump across a page boundary than to jump to a location in the same page. For
such target processors, the offset of a given instruction within a subprogram may depend on
the absolute address of the subrogram, because the absolute address influences where page
boundaries fall. Thus the sizes of the branch instructions in the subprogram may change,
which changes the offsets of the instructions.
To be safe, you should check all addresses and offsets that your assertions use, after any
changes to the target program and any recompilation and relinking.
Bound-T Assertion Language
Identifying parts
69