NOP, OK now BRA

Daniel bossute at iprimus.com.au
Mon Aug 20 14:29:47 GMT 2001


Why are just slow the program down by 14 clock cycles ? other than that the
before and after code looks identical ?
Or is this just  a check to see what happens if the extra instructions
LDDAA,BPL and JSR are added later ?

Daniel - the inquisitive ?


----- Original Message -----
From: "rr" <RRauscher at nni.com>
To: <gmecm at diy-efi.org>
Sent: Monday, August 20, 2001 12:32 AM
Subject: Re: NOP, OK now BRA


>
> If I understand what you would like to do, it is an easy
> change. This is the original code:
>
> LCC3D:  STD       L0091        ;     FuelTrim = D
>                LDAA    L0000         ;
>                BPL        LCC46       ;     if (External Test Equipment
Enabled)
>
>                JSR        $5800          ;                     Call $5800
'
> External test equipment
>                                                  ;
> LCC46:  LDAA    L000B         ;
>               ANDA    #$FB           ; Enable Block Learn /0B04
>               STAA    L000B          ;
>
>
> And you want to overwrite the HUD call, change it to this:
>
> LCC3D:  STD       L0091       ;     FuelTrim = D
>                NOP                        ; 1/2 of LDAA xxxx
>                NOP                        ; 1/2 of LDAA xxxx
>                NOP                        ; 1/2 of BPL xxxx
>                NOP                        ; 1/2 of BPL xxxx
>                NOP                        ; 1/3 of JSR xxxx
>                NOP                        ; 1/3 of JSR xxxx
>                NOP                        ; 1/3 of JSR xxxx
> ;               LDAA    L0000         ;
> ;               BPL        LCC46          ;     if (External Test
Equipment
> Enabled)
> ;               JSR        $5800             ;                     Call
$5800 '
> External test equipment
>                                         ;
> LCC46:  LDAA    L000B         ;
>               ANDA    #$FB        ;     ; Enable Block Learn /0B04
>               STAA    L000B         ;
>
>
> That should do it.
>
> BobR.
>
>
>
> Bruce wrote:
>
> > Well, my NOP, didn't work long term, so I guess I need to BRA it out.
The
> > section I wan to get "rid" of is what is used for a HUD, from 0C3F to
0CEA.
> > Now inserting a 20 at OC3F would mean Branch right?, but how do I tell
it to
> > go to 0CEB?.
> > Or do I have this all wrong?.
> > TIA
> > Bruce
> >
>
> --------------------------------------------------------------------------
--
>
> --------------------------------------------------------------------------
--
> To unsubscribe from gmecm, send "unsubscribe gmecm" (without the quotes)
> in the body of a message (not the subject) to majordomo at lists.diy-efi.org
>

----------------------------------------------------------------------------
To unsubscribe from gmecm, send "unsubscribe gmecm" (without the quotes)
in the body of a message (not the subject) to majordomo at lists.diy-efi.org




More information about the Gmecm mailing list