mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-11-29 18:49:42 +00:00
Fixed new addressing modes.
This commit is contained in:
parent
517b2af6d5
commit
0b4a53ae12
@ -182,13 +182,13 @@ public enum CpuAddressingMode {
|
|||||||
* #imm,zp Immediate, zeropage <br>
|
* #imm,zp Immediate, zeropage <br>
|
||||||
* IMMEDIATE ADDRESSING, ZEROPAGE — Two parameters, one immediate the other a zeropage address. Only used by HUC6280 TST.
|
* IMMEDIATE ADDRESSING, ZEROPAGE — Two parameters, one immediate the other a zeropage address. Only used by HUC6280 TST.
|
||||||
*/
|
*/
|
||||||
IMMANDZP("#imm,zp", "%i #%p,%q", 3),
|
IMMANDZP("#imm,zp", "%i #%p,%q", 2),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* #imm,abs Immediate, absolute <br>
|
* #imm,abs Immediate, absolute <br>
|
||||||
* IMMEDIATE ADDRESSING, ABSOLUTE — Two parameters, one immediate the other an absolute address. Only used by HUC6280 TST.
|
* IMMEDIATE ADDRESSING, ABSOLUTE — Two parameters, one immediate the other an absolute address. Only used by HUC6280 TST.
|
||||||
*/
|
*/
|
||||||
IMMANDABS("#imm,abs", "%i #%p,%q", 4);
|
IMMANDABS("#imm,abs", "%i #%p,%q", 3);
|
||||||
|
|
||||||
|
|
||||||
/** The short name of the addressing mode. */
|
/** The short name of the addressing mode. */
|
||||||
|
@ -139,6 +139,8 @@ public class TestCpuFamilyKickAssCompatibility {
|
|||||||
map.put(CpuAddressingMode.ISY, Collections.singletonList(_65xxArgType.indirectStackZeropageY));
|
map.put(CpuAddressingMode.ISY, Collections.singletonList(_65xxArgType.indirectStackZeropageY));
|
||||||
map.put(CpuAddressingMode.REL, Arrays.asList(_65xxArgType.relative, _65xxArgType.relativeWord));
|
map.put(CpuAddressingMode.REL, Arrays.asList(_65xxArgType.relative, _65xxArgType.relativeWord));
|
||||||
map.put(CpuAddressingMode.REZ, Collections.singletonList(_65xxArgType.zeropageRelative));
|
map.put(CpuAddressingMode.REZ, Collections.singletonList(_65xxArgType.zeropageRelative));
|
||||||
|
map.put(CpuAddressingMode.IMMANDZP, Collections.singletonList(_65xxArgType.immediateAndZeropage));
|
||||||
|
map.put(CpuAddressingMode.IMMANDABS, Collections.singletonList(_65xxArgType.immediateAndAbsolute));
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user