mirror of
https://github.com/uffejakobsen/acme.git
synced 2025-01-12 05:31:19 +00:00
tweaked docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@80 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
parent
90dd2e0a36
commit
4979302d0d
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
- free software -
|
- free software -
|
||||||
|
|
||||||
(C) 1998-2014 Marco Baye
|
(C) 1998-2016 Marco Baye
|
||||||
|
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
@ -14,7 +14,7 @@ Section: Copyright
|
|||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
ACME - a crossassembler for producing 6502/6510/65c02/65816 code.
|
ACME - a crossassembler for producing 6502/6510/65c02/65816 code.
|
||||||
Copyright (C) 1998-2014 Marco Baye
|
Copyright (C) 1998-2016 Marco Baye
|
||||||
The ACME icon was designed by Wanja "Brix" Gayk
|
The ACME icon was designed by Wanja "Brix" Gayk
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
@ -64,6 +64,7 @@ The files in the docs directory and what they contain:
|
|||||||
QuickRef.txt All the basic stuff about ACME
|
QuickRef.txt All the basic stuff about ACME
|
||||||
Source.txt How to compile ACME
|
Source.txt How to compile ACME
|
||||||
Upgrade.txt Incompatibilities to earlier versions
|
Upgrade.txt Incompatibilities to earlier versions
|
||||||
|
cputypes.txt Instruction sets of target CPUs
|
||||||
|
|
||||||
IMPORTANT: If you upgrade from ACME 0.05 or earlier, don't forget to
|
IMPORTANT: If you upgrade from ACME 0.05 or earlier, don't forget to
|
||||||
read the file "Upgrade.txt" - release 0.07 and all later ones are
|
read the file "Upgrade.txt" - release 0.07 and all later ones are
|
||||||
|
@ -17,7 +17,8 @@ ACME supports the following cpu types:
|
|||||||
This is the instruction set of the original NMOS 6502 designed by MOS
|
This is the instruction set of the original NMOS 6502 designed by MOS
|
||||||
(later CSG).
|
(later CSG).
|
||||||
There are 151 documented opcodes.
|
There are 151 documented opcodes.
|
||||||
|
ACME does not use "A" to indicate "accumulator addressing"; just write
|
||||||
|
the mnemonic without any argument: "LSR" will work, "LSR A" won't.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -36,20 +37,20 @@ See "docs/Illegals.txt" for more info.
|
|||||||
This is the CMOS re-design of the 6502. It seems to have also been
|
This is the CMOS re-design of the 6502. It seems to have also been
|
||||||
available from Rockwell, GTE/CMD and others. Features:
|
available from Rockwell, GTE/CMD and others. Features:
|
||||||
- new instructions:
|
- new instructions:
|
||||||
BRA (branch always)
|
BRA branch always
|
||||||
PHX, PHY, PLX, PLY (push/pull X/Y register)
|
PHX/PHY/PLX/PLY push/pull X/Y register
|
||||||
STZ (store zero, 4 addr modes)
|
STZ store zero, 4 addr modes
|
||||||
TRB (test and reset bits, 2 addr modes)
|
TRB test and reset bits, 2 addr modes
|
||||||
TSB (test and set bits, 2 addr modes)
|
TSB test and set bits, 2 addr modes
|
||||||
- new addressing modes for existing instructions:
|
- new addressing modes for existing instructions:
|
||||||
|
LDA/STA/ADC/SBC ($12) zp indirect
|
||||||
|
AND/ORA/EOR/CMP ($12) zp indirect
|
||||||
BIT #$12
|
BIT #$12
|
||||||
BIT $12, x
|
BIT $12, x
|
||||||
BIT $1234, x
|
BIT $1234, x
|
||||||
LDA/STA/ADC/SBC ($12) (zp indirect without index)
|
INC increment accumulator
|
||||||
AND/ORA/EOR/CMP ($12) (zp indirect without index)
|
DEC decrement accumulator
|
||||||
INC (increment accumulator)
|
JMP ($1234, x) x-indexed indirect
|
||||||
DEC (decrement accumulator)
|
|
||||||
JMP ($1234,x) (jump indexed indirect)
|
|
||||||
- bugfix for flags in decimal mode
|
- bugfix for flags in decimal mode
|
||||||
- bugfix for JMP($xxff) instruction
|
- bugfix for JMP($xxff) instruction
|
||||||
- undocumented opcodes are NOPs (although of different lengths)
|
- undocumented opcodes are NOPs (although of different lengths)
|
||||||
@ -61,10 +62,10 @@ There are 178 documented opcodes.
|
|||||||
|
|
||||||
This is a superset of 65c02, probably originally from Rockwell.
|
This is a superset of 65c02, probably originally from Rockwell.
|
||||||
- It adds bit manipulation instructions:
|
- It adds bit manipulation instructions:
|
||||||
BBR0..BBR7 (branch on bit reset)
|
BBR0..BBR7 branch on bit reset
|
||||||
BBS0..BBS7 (branch on bit set)
|
BBS0..BBS7 branch on bit set
|
||||||
RMB0..RMB7 (reset memory bit)
|
RMB0..RMB7 reset memory bit
|
||||||
SMB0..SMB7 (set memory bit)
|
SMB0..SMB7 set memory bit
|
||||||
Chips with this instruction set seem to have been available from
|
Chips with this instruction set seem to have been available from
|
||||||
Rockwell, GTE/CMD and others.
|
Rockwell, GTE/CMD and others.
|
||||||
There are 210 documented opcodes.
|
There are 210 documented opcodes.
|
||||||
@ -89,6 +90,7 @@ have been available from GTE/CMD as well). Features:
|
|||||||
- block transfers
|
- block transfers
|
||||||
There are 256 documented opcodes, but one of them ("WDM") is reserved
|
There are 256 documented opcodes, but one of them ("WDM") is reserved
|
||||||
for future expansion.
|
for future expansion.
|
||||||
|
See "docs/65816.txt" for more info.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -103,6 +105,12 @@ This is a superset of r65c02, originating at CSG. Features:
|
|||||||
There is a known bug: SBC does not work correctly in decimal mode.
|
There is a known bug: SBC does not work correctly in decimal mode.
|
||||||
There are 256 documented opcodes, but one of them ("AUG") is reserved
|
There are 256 documented opcodes, but one of them ("AUG") is reserved
|
||||||
for future expansion.
|
for future expansion.
|
||||||
|
ACME uses different mnemonics for old ("near") and new ("far") branch
|
||||||
|
instructions:
|
||||||
|
BEQ old, 8-bit offset
|
||||||
|
LBEQ new, 16-bit offset
|
||||||
|
The original datasheet called BRA ("branch always") BRU ("branch
|
||||||
|
unconditional") instead. ACME accepts both mnemonics.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -121,7 +129,7 @@ There are 256 documented opcodes.
|
|||||||
This is the cpu in version 2 of the C64DTV. It uses a superset of the
|
This is the cpu in version 2 of the C64DTV. It uses a superset of the
|
||||||
6502 instruction set. Features:
|
6502 instruction set. Features:
|
||||||
- new instructions:
|
- new instructions:
|
||||||
BRA $1234 (branch always)
|
BRA $1234 branch always
|
||||||
SAC #$12 (set accumulator mapping)
|
SAC #$12 set accumulator mapping
|
||||||
SIR #$12 (set index register mapping)
|
SIR #$12 set index register mapping
|
||||||
- support for some of the undocumented opcodes.
|
- support for some of the undocumented opcodes.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user