mirror of
https://github.com/ariejan/i6502.git
synced 2024-12-28 05:29:53 +00:00
Fix OpType attribute ordering
This commit is contained in:
parent
e77a599b10
commit
c361eedc46
@ -161,11 +161,12 @@ var instructionNames = [...]string{
|
|||||||
// emulator, like number of cycles
|
// emulator, like number of cycles
|
||||||
type OpType struct {
|
type OpType struct {
|
||||||
Opcode byte // 65(C)02 Opcode, this includes an instruction and addressing mode
|
Opcode byte // 65(C)02 Opcode, this includes an instruction and addressing mode
|
||||||
Size uint8 // Size of the entire instruction in bytes
|
|
||||||
Cycles uint8 // Number of clock cycles required to complete this instruction
|
|
||||||
|
|
||||||
opcodeId uint8 // Decoded opcode Id,
|
opcodeId uint8 // Decoded opcode Id,
|
||||||
addressingId uint8 // Decoded address mode Id
|
addressingId uint8 // Decoded address mode Id
|
||||||
|
|
||||||
|
Size uint8 // Size of the entire instruction in bytes
|
||||||
|
Cycles uint8 // Number of clock cycles required to complete this instruction
|
||||||
}
|
}
|
||||||
|
|
||||||
var opTypes = map[uint8]OpType{
|
var opTypes = map[uint8]OpType{
|
||||||
|
Loading…
Reference in New Issue
Block a user