c.sub

Subtract the value in xs2 from xd, and store the result in xd. The xd and xs2 register indexes should be used as xd+8 and xs2+8 (registers x8-x15). C.SUB expands into `sub xd, xd, xs2`.

Synopsis

c.sub xd, xs2

Encoding

Type:

01245679101501xs200xd100011

RISC-V Instruction Encoder/Decoder

open c.sub in rvcodecjs

Availability