MCPcopy Create free account
hub / github.com/fogleman/nes / tya

Method tya

nes/cpu.go:913–916  ·  view source on GitHub ↗

TYA - Transfer Y to Accumulator

(info *stepInfo)

Source from the content-addressed store, hash-verified

911
912// TYA - Transfer Y to Accumulator
913func (cpu *CPU) tya(info *stepInfo) {
914 cpu.A = cpu.Y
915 cpu.setZN(cpu.A)
916}
917
918// illegal opcodes below
919

Callers

nothing calls this directly

Calls 1

setZNMethod · 0.95

Tested by

no test coverage detected