I have an assignment where I have to create some compiler using assembly language on Raspberry Pi 2. I currently own a Raspberry Pi B+ model. What I want to know is: *can I develop for model B+ and make it work on Pi 2?* Or is there major architecture difference between the two? 

Okay so this might be a basic question for most of you, but I am a beginner so go easy on me.