You copied the Doc URL to your clipboard.

TTEST

This instruction takes no inputs and writes to the destination register the value 1 when executed in an outer transaction, the value 2 when executed in a nested transaction, or the value 0 otherwise.

System
(TME)

313029282726252423222120191817161514131211109876543210
110101010010001100110001011Rt

System

TTEST <Xt>

if !HaveTME() then UNDEFINED;
integer t = UInt(Rt);

Assembler Symbols

<Xt>

Is the 64-bit name of the general-purpose destination register, encoded in the "Rt" field.

Operation

CheckTMEEnabled();

X[t] = (TSTATE.depth)<63:0>;
Was this page helpful? Yes No