1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

Merge pull request #1997 from bbbradsmith/doc_ca65_a8_a16_description

ca65 doc for A8/A18/I8/I16: use "assume" instead of "switch" to avoid implying that a hardware state is changed
This commit is contained in:
Bob Andrews 2023-02-24 13:04:48 +01:00 committed by GitHub
commit d808088c64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2027,7 +2027,7 @@ Here's a list of all control commands and a description, what they do:
<sect1><tt>.A16</tt><label id=".A16"><p> <sect1><tt>.A16</tt><label id=".A16"><p>
Valid only in 65816 mode. Switch the accumulator to 16 bit. Valid only in 65816 mode. Assume the accumulator is 16 bit.
Note: This command will not emit any code, it will tell the assembler to Note: This command will not emit any code, it will tell the assembler to
create 16 bit operands for immediate accumulator addressing mode. create 16 bit operands for immediate accumulator addressing mode.
@ -2037,7 +2037,7 @@ Here's a list of all control commands and a description, what they do:
<sect1><tt>.A8</tt><label id=".A8"><p> <sect1><tt>.A8</tt><label id=".A8"><p>
Valid only in 65816 mode. Switch the accumulator to 8 bit. Valid only in 65816 mode. Assume the accumulator is 8 bit.
Note: This command will not emit any code, it will tell the assembler to Note: This command will not emit any code, it will tell the assembler to
create 8 bit operands for immediate accu addressing mode. create 8 bit operands for immediate accu addressing mode.
@ -3044,7 +3044,7 @@ See: <tt><ref id=".ASCIIZ" name=".ASCIIZ"></tt>,<tt><ref id=".CHARMAP" name=".CH
<sect1><tt>.I16</tt><label id=".I16"><p> <sect1><tt>.I16</tt><label id=".I16"><p>
Valid only in 65816 mode. Switch the index registers to 16 bit. Valid only in 65816 mode. Assume the index registers are 16 bit.
Note: This command will not emit any code, it will tell the assembler to Note: This command will not emit any code, it will tell the assembler to
create 16 bit operands for immediate operands. create 16 bit operands for immediate operands.
@ -3055,7 +3055,7 @@ See: <tt><ref id=".ASCIIZ" name=".ASCIIZ"></tt>,<tt><ref id=".CHARMAP" name=".CH
<sect1><tt>.I8</tt><label id=".I8"><p> <sect1><tt>.I8</tt><label id=".I8"><p>
Valid only in 65816 mode. Switch the index registers to 8 bit. Valid only in 65816 mode. Assume the index registers are 8 bit.
Note: This command will not emit any code, it will tell the assembler to Note: This command will not emit any code, it will tell the assembler to
create 8 bit operands for immediate operands. create 8 bit operands for immediate operands.