mirror of
https://github.com/cc65/cc65.git
synced 2025-04-06 04:41:08 +00:00
Adjusted doc to recent drop of VER_PATCH.
This commit is contained in:
parent
f12fbc4a3b
commit
e227a07c8f
@ -1263,14 +1263,14 @@ writable.
|
||||
Reading this pseudo variable will give the assembler version according to
|
||||
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
|
||||
special features not available with older versions.
|
||||
|
||||
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/.
|
||||
|
||||
|
||||
|
@ -749,8 +749,8 @@ The compiler defines several macros at startup:
|
||||
<tag><tt>__CC65__</tt></tag>
|
||||
|
||||
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
|
||||
defined as <tt/0x02A1/.
|
||||
compiler in hex. For example, version 2.14 of the compiler has this macro
|
||||
defined as <tt/0x02E0/.
|
||||
|
||||
<tag><tt>__CC65_STD__</tt></tag>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user