mijit icon indicating copy to clipboard operation
mijit copied to clipboard

Add `Uxt` and `Sxt`

Open apt1002 opened this issue 4 years ago • 0 comments

Add zero- and sign-extend instructions to code::UnaryOp, each parameterised by a Width.

x86_64 has instructions for zero- or sign-extending a value loaded from memory. Add instructions for zero- or sign-extending a register value.

apt1002 avatar Aug 24 '20 00:08 apt1002