100 Days Of Solidity, Assembly Loops, Solidity Academy.
:= 1 for { } eq(cond, 1) { } { // Your logic here i := add(i, 1) // Update cond based on some condition } } Do-While Loop: Similar to the `while` loop, but it ensures at least one execution of the loop body. assembly { let i := 0 let cond := 1 for { } { } { // Your logic here i := add(i, 1) //