asm-File:
***************************************************************************
** F O R V E T A B L E 1 and 3
** Calculation of Final Pulse Width
**
** The following equation is evaluated here:
**
** High Res Calculation
** PWCALC2H:L = (TPSACCEL * 100) + tmp5:tmp6 + tmp13:tmp14
**
** Note that InjOCFuel (injected fuel during injector open and
** close) is currently a constant - eventually it will be a function
** of battery voltage.
**
***************************************************************************
CALC_FINAL:
; lda tmp11 ; From required fuel, above.
; beq PW_Done ; If no calculated pulse, then
; don't open at all.
;accel in 0.1ms units 100 = 10ms
lda TPSACCEL
tax
lda #$64 ; accel is in 0.1ms units
mul
add tmp14
sta tmp20
txa
adc tmp13
sta tmp19
clc
lda tmp20
add tmp6
sta tmp20
lda tmp5
adc tmp19
sta tmp19
h-File:
tpsaccel: ds 1 ; Acceleration enrichment - percent
tmp1-22 alle als ds 1 definiert
Jetzt fehlt mir nur wie ich
** PWCALC2H:L = tmp5:tmp6 + tmp13:tmp14 - (TPSACCEL * 100)
daraus machen kann.
Oder
** PWCALC2H:L = (TPSACCEL * -100) + tmp5:tmp6 + tmp13:tmp14
Hat hier ev. einer Plan von Assembler ? Der Einäugige reicht mir Blindem völlig aus

Wieso weshalb warum ? Siehe hier:
http://www.megasquirt.de/msforum/viewto ... f=2&t=1774