MSP430Constants: Extend CG3 -1 value to 20 bits

Only providing 16 bits doesn't work well

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2023-09-07 20:18:30 -07:00
parent d81226e8f4
commit 7c9fef5800
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ public interface MSP430Constants {
public static final int CG2 = 3;
public static final int[][] CREG_VALUES = new int[][]{
{0, 0, 4, 8}, {0, 1, 2, 0xffff}
{0, 0, 4, 8}, {0, 1, 2, 0xfffff}
};
public static final int CARRY_B = 0;