Adjusted doc to recent drop of VER_PATCH.
This commit is contained in:
@@ -1263,14 +1263,14 @@ writable.
|
|||||||
Reading this pseudo variable will give the assembler version according to
|
Reading this pseudo variable will give the assembler version according to
|
||||||
the following formula:
|
the following formula:
|
||||||
|
|
||||||
VER_MAJOR*$100 + VER_MINOR*$10 + VER_PATCH
|
VER_MAJOR*$100 + VER_MINOR*$10
|
||||||
|
|
||||||
It may be used to encode the assembler version or check the assembler for
|
It may be used to encode the assembler version or check the assembler for
|
||||||
special features not available with older versions.
|
special features not available with older versions.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
Version 2.11.1 of the assembler will return $2B1 as numerical constant when
|
Version 2.14 of the assembler will return $2E0 as numerical constant when
|
||||||
reading the pseudo variable <tt/.VERSION/.
|
reading the pseudo variable <tt/.VERSION/.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -749,8 +749,8 @@ The compiler defines several macros at startup:
|
|||||||
<tag><tt>__CC65__</tt></tag>
|
<tag><tt>__CC65__</tt></tag>
|
||||||
|
|
||||||
This macro is always defined. Its value is the version number of the
|
This macro is always defined. Its value is the version number of the
|
||||||
compiler in hex. For example, version 2.10.1 of the compiler has this macro
|
compiler in hex. For example, version 2.14 of the compiler has this macro
|
||||||
defined as <tt/0x02A1/.
|
defined as <tt/0x02E0/.
|
||||||
|
|
||||||
<tag><tt>__CC65_STD__</tt></tag>
|
<tag><tt>__CC65_STD__</tt></tag>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user