1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-16 18:08:04 +00:00

use url instead of htmlurl, add note on least significant 8bits of the bank value

This commit is contained in:
mrdudz 2021-05-11 13:36:30 +02:00
parent 729690e9e9
commit ef8c70c7af

View File

@ -1389,9 +1389,11 @@ parameter with the <tt/#pragma/.
in their prototypes). in their prototypes).
The identifier is an 8-bit number that's set into <tt/tmp4/. If the identifier The identifier is an 8-bit number that's set into <tt/tmp4/. If the identifier
is "bank", then a <tt><htmlurl url="ca65.html#.BANK" name=".bank"></tt> operator will be used is "bank", then a <tt><url url="ca65.html#.BANK" name=".bank"></tt> operator will be used
to determine the number from the bank attribute defined in the linker config, to determine the number from the bank attribute defined in the linker config,
see <htmlurl url="ld65.html#MEMORY" name="Other MEMORY area attributes">. see <htmlurl url="ld65.html#MEMORY" name="Other MEMORY area attributes">. Note that
this currently implies that only the least significant 8 bits of the bank attribute
can be used.
The address of a wrapped function is passed in <tt/ptr4/. The wrapper can The address of a wrapped function is passed in <tt/ptr4/. The wrapper can
call that function by using "<tt/jsr callptr4/". call that function by using "<tt/jsr callptr4/".