Skip to content

Commit d8b1b8f

Browse files
committed
V1.23 - Fixed the JCC opcodes
1 parent 6b21960 commit d8b1b8f

File tree

7 files changed

+10
-7
lines changed

7 files changed

+10
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ATasm v1.22
1+
# ATasm v1.23
22
### A mostly Mac/65 compatible 6502 cross-assembler
33
Copyright (c) 1998-2021 Mark Schmelzenbach, modified by Peter Hinz (2021-2023)
44

VERSION.TXT

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,4 +187,7 @@ Jan 10, 2023
187187
BVC, BVS, but can target the entire 64KB address space via a jump. If the distance is short
188188
and the target is known during the first assembler pass then the jump is converted into a branch.
189189
The assembler spits out code change suggestions if it finds jumps that could be optimized.
190-
190+
191+
Mar 19, 2023
192+
version 1.23 - Fixed the opcodes for the JCC -> BCS/BCC long jumps.
193+
Thank you to LarsImNetz for finding this.

atasm.exe

0 Bytes
Binary file not shown.

docs/atasm.blurb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ATasm v1.22
1+
ATasm v1.23
22
A mostly Mac/65 compatible 6502 cross-assembler
33
Copyright (c) 1998-2023 Mark Schmelzenbach
44

docs/atasm.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
============================================================================
2-
ATasm v1.22
2+
ATasm v1.23
33
A mostly Mac/65 compatible 6502 cross-assembler
44

55
Copyright (c) 1998-2022 Mark Schmelzenbach

src/directive.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ unsigned longJump2ShortOpcode[NUM_DIR] = {
8484
0x10, // JPL -> BPL
8585
0x30, // JMI -> BMI
8686
0x90, // JCC -> BCC
87-
0x80, // JCS -> BCS
87+
0xB0, // JCS -> BCS
8888
0x50, // JVC -> BVC
8989
0x70, // JVS -> BVS
9090
};
@@ -109,7 +109,7 @@ unsigned longJump2InverseOpcode[NUM_DIR] = {
109109
0xF0, // JNE -> BEQ
110110
0x30, // JPL -> BMI
111111
0x10, // JMI -> BPL
112-
0x80, // JCC -> BCS
112+
0xB0, // JCC -> BCS
113113
0x90, // JCS -> BCC
114114
0x70, // JVC -> BVS
115115
0x50, // JVS -> BVC

src/symbol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#define SYMBOL_H
2323

2424
#define MAJOR_VER 1
25-
#define MINOR_VER 22
25+
#define MINOR_VER 23
2626
#define BETA_VER 0
2727

2828
/*==========================================================================*/

0 commit comments

Comments
 (0)