// Flags returns the processor status flags
Flags returns the processor status flags
// Flags returns the processor status flags
func (cpu *CPU) Flags() byte {
	var flags byte
	flags |= cpu.C << 0
	flags |= cpu.Z << 1
	flags |= cpu.I << 2
	flags |= cpu.D << 3
	flags |= cpu.X << 4
	flags |= cpu.M << 5
	flags |= cpu.V << 6
	flags |= cpu.N << 7
	return flags
}
func ( cpu * CPU ) Flags ( ) byte { var flags byte flags |= cpu . C << 0 flags |= cpu . Z << 1 flags |= cpu . I << 2 flags |= cpu . D << 3 flags |= cpu . X << 4 flags |= cpu . M << 5 flags |= cpu . V << 6 flags |= cpu . N << 7 return flags }
Flags returns the processor status flags
Flags returns the processor status flags