Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Assembly Language Programming (ALP) Forum (http://www.go4expert.com/forums/assembly-language-programming-forum/)
-   -   help in code,im noob (http://www.go4expert.com/forums/help-codeim-noob-t28187/)

ralgrado_surd 14Apr2012 09:20

help in code,im noob
 
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


All times are GMT +5.5. The time now is 03:51.