1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-07-13 15:29:01 +00:00

Typos in operator documentation

This commit is contained in:
Karol Stasiak 2018-01-10 13:09:38 +01:00
parent 61599c8d1b
commit 8e3797e7e4

View File

@ -69,7 +69,7 @@ There are no division, remainder or modulo operators.
`byte | byte`
* `<<`, `>>`: 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
`word >>>> constant byte`
@ -87,7 +87,7 @@ These operators work using the decimal arithmetic and will not work on Ricoh CPU
`constant *' constant`
* `<<'`, `>>'`: decimal multiplication/division by power of two
`byte * constant byte`
`byte <<' constant byte`
## Comparison operators
@ -101,9 +101,9 @@ Note you cannot mix those operators, so `a <= b < c` is not valid.
`long == long`
* `!=`: inequality
`byte == byte`
`word == word`
`long == long`
`byte != byte`
`word != word`
`long != long`
* `>`, `<`, `<=`, `>=`: inequality
`byte > byte`