mirror of
https://github.com/KarolS/millfork.git
synced 2024-09-10 11:54:30 +00:00
Typos in operator documentation
This commit is contained in:
parent
61599c8d1b
commit
8e3797e7e4
@ -69,7 +69,7 @@ There are no division, remainder or modulo operators.
|
|||||||
`byte | byte`
|
`byte | byte`
|
||||||
|
|
||||||
* `<<`, `>>`: bit shifting; shifting right pads the result with zeroes
|
* `<<`, `>>`: bit shifting; shifting right pads the result with zeroes
|
||||||
`byte * constant byte`
|
`byte << constant byte`
|
||||||
|
|
||||||
* `>>>>`: shifting a 9-bit value and returning a byte; `a >>>> b` is equivalent to `(a & $1FF) >> b`, but the latter doesn't compile yet
|
* `>>>>`: shifting a 9-bit value and returning a byte; `a >>>> b` is equivalent to `(a & $1FF) >> b`, but the latter doesn't compile yet
|
||||||
`word >>>> constant byte`
|
`word >>>> constant byte`
|
||||||
@ -87,7 +87,7 @@ These operators work using the decimal arithmetic and will not work on Ricoh CPU
|
|||||||
`constant *' constant`
|
`constant *' constant`
|
||||||
|
|
||||||
* `<<'`, `>>'`: decimal multiplication/division by power of two
|
* `<<'`, `>>'`: decimal multiplication/division by power of two
|
||||||
`byte * constant byte`
|
`byte <<' constant byte`
|
||||||
|
|
||||||
## Comparison operators
|
## Comparison operators
|
||||||
|
|
||||||
@ -101,9 +101,9 @@ Note you cannot mix those operators, so `a <= b < c` is not valid.
|
|||||||
`long == long`
|
`long == long`
|
||||||
|
|
||||||
* `!=`: inequality
|
* `!=`: inequality
|
||||||
`byte == byte`
|
`byte != byte`
|
||||||
`word == word`
|
`word != word`
|
||||||
`long == long`
|
`long != long`
|
||||||
|
|
||||||
* `>`, `<`, `<=`, `>=`: inequality
|
* `>`, `<`, `<=`, `>=`: inequality
|
||||||
`byte > byte`
|
`byte > byte`
|
||||||
|
Loading…
Reference in New Issue
Block a user