1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-06-12 06:29:34 +00:00

Documentation improvements

This commit is contained in:
Karol Stasiak 2018-03-06 16:59:18 +01:00
parent af812fe348
commit 9d1159e923
3 changed files with 23 additions and 1 deletions

View File

@ -21,10 +21,14 @@ Detailed flow analysis was slow, broken, hard to maintain, and didn't even help
* Added `*'=` and `<<<<` operators.
* Added support for zeropage pseudoregisters, allowing for some operators work with more types of operands.
* Added return dispatch 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.
* Fixed several optimization bugs.

View File

@ -161,7 +161,8 @@ and fail to compile otherwise. This will be changed in the future.
`mutable long -= simple long`
* `*=`: multiplication in place
`mutable byte *= constant byte`
`mutable byte *= constant byte`
`mutable byte *= byte` (zpreg)
* `*'=`: decimal multiplication in place
`mutable byte *'= constant byte`

View File

@ -192,6 +192,23 @@ for <variable>,<start>,<direction>,<end> {
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
See [Using assembly within Millfork programs](./assembly.md).