help in code,im noob

Discussion in 'Assembly Language Programming (ALP) Forum' started by ralgrado_surd, Apr 14, 2012.

  1. ralgrado_surd

    ralgrado_surd New Member

    Joined:
    Apr 14, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    MOVE.B #10,$1001
    MOVE.B #20,$1002
    MOVE.B #30,$1003

    MOVEA.L #$1001,A0

    LOOP ADD.B (A0)+,D0
    MULU #9,D0
    DIVU #5,D0
    ADD #32,D0

    MOVE.B D0,$2000

    CLR D0
    CMP #$1004,A0

    BNE LOOP

    *can anyone help me to correct this code? i am beginner, i cant store the 3 data in address $2000 respectively...helppp...im using easy68k software
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice