Conditional Statement, Solidity Assembly, 100 Days Of Solidity, Solidity Academy.
assembly { if iszero(eq(x, y)) { // Code to execute if x is not equal to y } } We use the `eq` opcode to check if `x` is equal to `y`, and then `iszero` to invert the result. If `x` is not equal to `y`, the code within the “if” block will be executed. The “else” Statement 😅 Adding an “else” block