mirror of
https://github.com/KarolS/millfork.git
synced 2025-01-11 12:29:46 +00:00
Documentation improvements
This commit is contained in:
parent
af812fe348
commit
9d1159e923
@ -21,10 +21,14 @@ Detailed flow analysis was slow, broken, hard to maintain, and didn't even help
|
|||||||
|
|
||||||
* Added `*'=` and `<<<<` operators.
|
* Added `*'=` and `<<<<` operators.
|
||||||
|
|
||||||
|
* Added support for zeropage pseudoregisters, allowing for some operators work with more types of operands.
|
||||||
|
|
||||||
* Added return dispatch statements.
|
* Added return dispatch statements.
|
||||||
|
|
||||||
* Added `break` and `continue` statements.
|
* Added `break` and `continue` statements.
|
||||||
|
|
||||||
|
* Allowed the `else if` combination (i.e. the `else` branch doesn't have to be in braces if it's just a single `if`-`else` statement).
|
||||||
|
|
||||||
* Added octal and quaternary literals.
|
* Added octal and quaternary literals.
|
||||||
|
|
||||||
* Fixed several optimization bugs.
|
* Fixed several optimization bugs.
|
||||||
|
@ -161,7 +161,8 @@ and fail to compile otherwise. This will be changed in the future.
|
|||||||
`mutable long -= simple long`
|
`mutable long -= simple long`
|
||||||
|
|
||||||
* `*=`: multiplication in place
|
* `*=`: multiplication in place
|
||||||
`mutable byte *= constant byte`
|
`mutable byte *= constant byte`
|
||||||
|
`mutable byte *= byte` (zpreg)
|
||||||
|
|
||||||
* `*'=`: decimal multiplication in place
|
* `*'=`: decimal multiplication in place
|
||||||
`mutable byte *'= constant byte`
|
`mutable byte *'= constant byte`
|
||||||
|
@ -192,6 +192,23 @@ for <variable>,<start>,<direction>,<end> {
|
|||||||
|
|
||||||
There is no `paralleldownto`, because it would do the same as `parallelto`.
|
There is no `paralleldownto`, because it would do the same as `parallelto`.
|
||||||
|
|
||||||
|
### `break` and `continue` statements
|
||||||
|
|
||||||
|
Syntax:
|
||||||
|
|
||||||
|
```
|
||||||
|
break
|
||||||
|
break for
|
||||||
|
break while
|
||||||
|
break do
|
||||||
|
break <variable>
|
||||||
|
continue
|
||||||
|
continue for
|
||||||
|
continue while
|
||||||
|
continue do
|
||||||
|
continue <variable>
|
||||||
|
```
|
||||||
|
|
||||||
### `asm` statements
|
### `asm` statements
|
||||||
|
|
||||||
See [Using assembly within Millfork programs](./assembly.md).
|
See [Using assembly within Millfork programs](./assembly.md).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user