it's a good question..
You've got the chassis code figured out.. Each Nissan chassis gets a special code.. a letter and a two digit number.. R32, S14, Y33, G50, etc.. The 'vert that we all own is the S13 chassis.
As for engines, each engine Nissan makes gets a two letter code, followed by two number, then at least one more letter..
SR20DET
SR is the code for that engine block. Don't believe anybody who tells you that the letters actually stand for anything.. SR= Street Race, RB = Race Bread... it's all rumor and theory.. but not true.
20 is the engine displacement. RB26 is 2.6Liters, SR20 is 2.0 Liters, VH45 is 4.5 Liters.. etc..
D = dual overhead cam I believe.
E = electronic fuel injection
T = turbo
RB26dett = RB block, 2.6 liter, dual over head cam, electronic fuel injected, TWIN turbo.
KA24e = KA block, 2.4 liter, electronic fuel injected.. NO d = single overhead cam.
Here's the list of Nissan engines..
http://www.nicoclub.com/Greg/enginemodeltable.html
That's my understanding at least.... I'm still not 100% certain on the E spot in the code.. There are a few strange ones.. a couple engines have an "i" or an "S".. . not sure about those...Also.. there is an SR20VE engine that I know has some an infinitely variable cam setup.. so it must mean "variable dual cam"... ???