Okay, I figured it out! So get ready, put your helmet on and fasten your seatbelt. (The helmet is an old geek trick that keeps your head from exploding.)
Oh, and Eric ... armed with this knowledge, you're eligible for a promotion to "Geek Stage II".
The code to calculate LV8 actually starts at $3A00. Here the Reference PA value is read to represent RPM. For this project, we want to determine LV8 for a given RPM and airflow, so we need to convert RPM to Ref PA count. The formula for this is:
Ref PA = 120/(RPM*6)*65536
Using 1200 RPM as an example, the Ref PA would be 1092 (decimal).
By the way, this formula answers my question from earlier regarding where does RPM figure into the equation.
Okay, now we have to multiply the Ref PA with the current MAF table value. Let's assume the reported airflow is 7 or 8 gm/sec. This puts us in MAF table #1 with a value of C3 (decimal 195).
Now here's the tricky part. The ECM has to multiply a 16-bit number (Ref PA) with an 8-bit number (MAF table value) but the result can not exceed 16-bits. To accomplish this it discards the least significant 8 bits of the result. These 8 bits have a value of 256, so if we divide the 8-bit multiplier by 256 prior to the multiplication, we will arrive at the same result.
E = Ref PA*(MAF table value/256)
E = 1092*(195/256)
E = 1092*0.761
E = 831
This is the value Eric called Injector PW because its stored in $83 & $84. Technically, its not the Inj. PW yet, but it will become that at $3EB1.
Next we have to scale the LV8 so we get $3435 [85]. The conversion for this is LV8 Scaler = N/128. So our scaler is 1.04.
Scaled LV8 = E*(LV8 Scaler/128)
Scaled LV8 = 831*1.04
Scaled LV8 = 864
Lastly, we have to multiply this with the current MAF Table Scaler but this is the same deal as before. We need to divide the MAF Scaler by 256 before we multiply. Since we determined the reported airflow has us in table #1, the Scaler is 0A (decimal 10).
LV8 = Scaled LV8*(MAF Table Scaler/256)
LV8 = 864*(10/256)
LV8 = 864*0.039
LV8 = 33
"And that's all I have to say about that." (Forrest Gump)