mirror of
https://github.com/zellyn/go6502.git
synced 2024-12-26 13:31:17 +00:00
Move opcodes/ into asm dir that uses it
This commit is contained in:
parent
ed5d558dc1
commit
3f60f49bd3
@ -13,7 +13,7 @@ import (
|
||||
"github.com/zellyn/go6502/asm/flavors/scma"
|
||||
"github.com/zellyn/go6502/asm/ihex"
|
||||
"github.com/zellyn/go6502/asm/lines"
|
||||
"github.com/zellyn/go6502/opcodes"
|
||||
"github.com/zellyn/go6502/asm/opcodes"
|
||||
)
|
||||
|
||||
var flavorNames = []string{
|
||||
|
@ -11,7 +11,7 @@ import (
|
||||
"regexp"
|
||||
"strconv"
|
||||
|
||||
"github.com/zellyn/go6502/opcodes"
|
||||
"github.com/zellyn/go6502/asm/opcodes"
|
||||
)
|
||||
|
||||
// Symbols are symbol tables used to convert addresses to names
|
||||
|
@ -9,7 +9,7 @@ import (
|
||||
"github.com/zellyn/go6502/asm/flavors/common"
|
||||
"github.com/zellyn/go6502/asm/inst"
|
||||
"github.com/zellyn/go6502/asm/lines"
|
||||
"github.com/zellyn/go6502/opcodes"
|
||||
"github.com/zellyn/go6502/asm/opcodes"
|
||||
)
|
||||
|
||||
var defaultCMap = [256]byte{
|
||||
|
@ -13,7 +13,7 @@ import (
|
||||
"github.com/zellyn/go6502/asm/flavors"
|
||||
"github.com/zellyn/go6502/asm/inst"
|
||||
"github.com/zellyn/go6502/asm/lines"
|
||||
"github.com/zellyn/go6502/opcodes"
|
||||
"github.com/zellyn/go6502/asm/opcodes"
|
||||
)
|
||||
|
||||
const Letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_"
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/zellyn/go6502/asm/context"
|
||||
"github.com/zellyn/go6502/asm/inst"
|
||||
"github.com/zellyn/go6502/opcodes"
|
||||
"github.com/zellyn/go6502/asm/opcodes"
|
||||
)
|
||||
|
||||
// DecodeOp contains the common code that decodes an Opcode, once we
|
||||
|
@ -9,7 +9,7 @@ import (
|
||||
"github.com/zellyn/go6502/asm/flavors/common"
|
||||
"github.com/zellyn/go6502/asm/inst"
|
||||
"github.com/zellyn/go6502/asm/lines"
|
||||
"github.com/zellyn/go6502/opcodes"
|
||||
"github.com/zellyn/go6502/asm/opcodes"
|
||||
)
|
||||
|
||||
// Merlin implements the Merlin-compatible assembler flavor.
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
"github.com/zellyn/go6502/asm/flavors/common"
|
||||
"github.com/zellyn/go6502/asm/inst"
|
||||
"github.com/zellyn/go6502/asm/lines"
|
||||
"github.com/zellyn/go6502/opcodes"
|
||||
"github.com/zellyn/go6502/asm/opcodes"
|
||||
)
|
||||
|
||||
// RedBook implements a Redbook-listing-compatible-ish assembler flavor.
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
"github.com/zellyn/go6502/asm/flavors/common"
|
||||
"github.com/zellyn/go6502/asm/inst"
|
||||
"github.com/zellyn/go6502/asm/lines"
|
||||
"github.com/zellyn/go6502/opcodes"
|
||||
"github.com/zellyn/go6502/asm/opcodes"
|
||||
)
|
||||
|
||||
// 40 spaces = comment column
|
||||
|
@ -12,7 +12,7 @@ import (
|
||||
"github.com/zellyn/go6502/asm/flavors/scma"
|
||||
"github.com/zellyn/go6502/asm/lines"
|
||||
"github.com/zellyn/go6502/asm/membuf"
|
||||
"github.com/zellyn/go6502/opcodes"
|
||||
"github.com/zellyn/go6502/asm/opcodes"
|
||||
)
|
||||
|
||||
// h converts from hex or panics.
|
||||
|
@ -12,7 +12,7 @@ import (
|
||||
"github.com/zellyn/go6502/asm/flavors/scma"
|
||||
"github.com/zellyn/go6502/asm/inst"
|
||||
"github.com/zellyn/go6502/asm/lines"
|
||||
"github.com/zellyn/go6502/opcodes"
|
||||
"github.com/zellyn/go6502/asm/opcodes"
|
||||
)
|
||||
|
||||
func TestSimpleCommonFunctions(t *testing.T) {
|
||||
|
@ -1,6 +1,4 @@
|
||||
/*
|
||||
Package cpu provides routines for emulating a 6502 or 65C02. It also
|
||||
provides data about opcodes that is used by the asm package to
|
||||
(dis)assemble 6502 assembly language.
|
||||
Package cpu provides routines for emulating a 6502 or (in the future) 65C02.
|
||||
*/
|
||||
package cpu
|
||||
|
Loading…
Reference in New Issue
Block a user