When is the status register updated in the 6502?

Viewed 1011

I am currently developing a subset of the 6502 in LogiSim. One of my main resources is Hanson's Block Diagram.

I am trying to determine how and where I should build circuitry to update the Processor States Register. In the diagram of the Processor Status Register below, there are multiple control lines going into the register, but there is no indication of where they come from.

confusing part of the diagram

When and where is the 6502 Processor status register updated? I would think that it is on the output of the ALU, but I want to make sure that this is the case.

2 Answers
Related