Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 742 Bytes

ii.19.1-protected-blocks.md

File metadata and controls

12 lines (8 loc) · 742 Bytes

II.19.1 Protected blocks

A try, or protected, or guarded, block is declared with the .try directive.

TryBlock ::= Descriptions
.try Label to Label Protect region from first label to prior to second.
| .try ScopeBlock ScopeBlock is protected

In the first case, the protected block is delimited by two labels. The first label is the first instruction to be protected, while the second label is the instruction just beyond the last one to be protected. Both labels shall be defined prior to this point.

The second case uses a scope block (§II.15.4.4) after the .try directive—the instructions within that scope are the ones to be protected.