// LDA - Load Accumulator - for Immediate arguments
Load Accumulator - for Immediate arguments
// LDA - Load Accumulator - for Immediate arguments
func (cpu *CPU) op_lda(info *stepInfo) {
	if cpu.M == 1 {
		cpu.RAl = cpu.cmdRead(info)
		cpu.setZN8(cpu.RAl)
	} else {
		cpu.RA = cpu.cmdRead16(info)
		cpu.setZN16(cpu.RA)
	}
}
func ( cpu * CPU ) op_lda ( info * stepInfo ) { if cpu . M == 1 { cpu . RAl = cpu . cmdRead ( info ) cpu . setZN8 ( cpu . RAl ) } else { cpu . RA = cpu . cmdRead16 ( info ) cpu . setZN16 ( cpu . RA ) } }
Load Accumulator - for Immediate arguments
Load Accumulator - for Immediate arguments