Assembling

Mike Turner/ENGR/HQ/KEMET/US MikeTurner at kemet.com
Mon Aug 27 17:10:53 GMT 2001


See insertions below.




"Bruce" <nacelp at bright.net>@diy-efi.org on 08/27/2000 11:46:22 AM

Please respond to gmecm at diy-efi.org

Sent by:  owner-gmecm at diy-efi.org


To:   <gmecm at diy-efi.org>
cc:
Subject:  Assembling



I keep getting numerous:
Invalid Opcode / Psuedo-Op  error messages.

In the following if get that error code for BD, D6, 3D, 05, and 25.   I'm
missing something, but just don't understand what.

LC7C2: BD FC00 ;    JSR    LKUP2DAF
;The BD FC00 is the hex output of the assembler for the JSR LKUP2DAF. The
BD FC00 should ;not be reassembled. Ditto the next 3 lines.
             D6 A4      ;    LDA B  AECOOLF
;D6 A4 is a load direct accumulator a from address A4.
             3D           ;     MUL
;3D is the output of the assembler for the multiply instruction.
             05            ;     ASL D
; 25 04 is the output of the assmelber for the branch on carry set. The
target address
; is 4 bytes beyond the 2405.
      25 04(37CF)   ;     BCS    LV8AE3

And what does the (37CF), mean?
; The 37cf is the target address of the branch instruction. The BCS will
goto address 37cf for the next instruction.

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