MCPcopy
hub / github.com/fogleman/nes / and

Method and

nes/cpu.go:532–535  ·  view source on GitHub ↗

AND - Logical AND

(info *stepInfo)

Source from the content-addressed store, hash-verified

530
531// AND - Logical AND
532func (cpu *CPU) and(info *stepInfo) {
533 cpu.A = cpu.A & cpu.Read(info.address)
534 cpu.setZN(cpu.A)
535}
536
537// ASL - Arithmetic Shift Left
538func (cpu *CPU) asl(info *stepInfo) {

Callers

nothing calls this directly

Calls 2

setZNMethod · 0.95
ReadMethod · 0.65

Tested by

no test coverage detected