sethi

Assembly Syntax

sethi const22, regrd

Assembly Syntax

sethi %hi(const), regrd

Operation

Sets the hi 22 bits of register regrd to const22 or to the value in the 22 most significant bits of const

Comments

NOP is usually implemented using sethi

Example

sethi %hi(0xff56ffe),%r7

Home Page Index Page All Other Instructions