How is C.EBREAK related to EBREAK?
C.EBREAK performs the same environment-break semantics as EBREAK, encoded as a 16-bit compressed form.
Compressed breakpoint instruction that performs the same environment-break operation as EBREAK.
C.EBREAK is the 16-bit compressed breakpoint instruction in the C extension. It has the same semantics as EBREAK, transferring control to the debug environment or raising an environment-break exception. It has no operands and does not read or write GPRs.
C.EBREAK is the compressed encoding form of EBREAK for breakpoint/debug entry; it is not an ignorable hint.
Understand this scenario with real code like «c.ebreak # trigger debug exception».
Understand this scenario with real code like «c.ebreak # trigger debug exception».
C.EBREAK performs the same environment-break semantics as EBREAK, encoded as a 16-bit compressed form.
No. It is a breakpoint instruction.