replace the term program counter by address counter (its not the CPUs PC)

This commit is contained in:
Bernd Boeckmann
2023-04-23 19:39:46 +02:00
parent 76816482f0
commit 6960e12b0b
2 changed files with 3 additions and 3 deletions

View File

@@ -504,7 +504,7 @@ Copyright 2022-2023 by Bernd Boeckmann
Relative addressing is only used by branch instructions. The branch
offset in the range of -128 to 127 is encoded by the byte following
the opcode. The assembler interprets the argument, which may be any
numeric expression, relative to the current program counter.
numeric expression, relative to the current address counter.
loop: BNE loop
@@ -996,4 +996,4 @@ A Instruction Reference
98 tya
[So 23 Apr 19:35:37 2023]
[So 23 Apr 19:39:01 2023]

View File

@@ -326,7 +326,7 @@ The byte-sized argument is encoded in the byte following the opcode. The argumen
\S{}Relative addressing
Relative addressing is only used by branch instructions. The branch offset in the range of -128 to 127 is encoded by the byte following the opcode. The assembler interprets the argument, which may be any numeric expression, relative to the current program counter.
Relative addressing is only used by branch instructions. The branch offset in the range of -128 to 127 is encoded by the byte following the opcode. The assembler interprets the argument, which may be any numeric expression, relative to the current address counter.
\c loop: BNE loop