Can I swap a 97' engine with a 98'?

I need to replace the engine in my otherwise perfect 97' Honda CR-V. Can I replace it with a 98' Honda CR-V engine? Are they the same or would I have to do modifications?

Thanks

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0