Formatting
This commit is contained in:
parent
88ec4b2af4
commit
7afdeaf088
1 changed files with 4 additions and 4 deletions
|
@ -9,27 +9,27 @@ into assembly.
|
|||
## if
|
||||
|
||||
else is just a part you jump over in assembly lol, so EZ XD
|
||||
'''
|
||||
```
|
||||
if (condition) {
|
||||
...
|
||||
} else {
|
||||
...
|
||||
}
|
||||
'''
|
||||
```
|
||||
|
||||
## loop
|
||||
|
||||
We have only a single type of loop where you are responsible to decide when
|
||||
to check and how to exit. Break is just a goto:after-loop ?
|
||||
|
||||
'''
|
||||
```
|
||||
loop {
|
||||
...
|
||||
if (condition) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
'''
|
||||
```
|
||||
|
||||
## func, label ...
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue