Ca20e swap

Hello, I was wondering if anyone on here knows if a ca20e from a 1988 nissan stanza will fit a 1988 nissan pulsar? As near as I can tell the pulsar came with a ca16e which would be the same eng. family but just smaller displacement?
Thanks for the time.