Go4Expert (http://www.go4expert.com/)
-   Assembly Language Programming (ALP) Forum (http://www.go4expert.com/forums/assembly-language-programming-forum/)
-   -   SDK6800 Assembly Question Help (http://www.go4expert.com/forums/sdk6800-assembly-question-help-t17736/)

lakia 29May2009 13:28

SDK6800 Assembly Question Help
1. Create a 6800 program which sums the modulo (remainder) of all elements in a (zero terminated) array with an input number n:

n .byte $7

myArray .byte 2,9,7,2,3,5,0

So this will compute:

7 mod 2 + 7 mod 9 + 7 mod 7 + 7 mod 2 + 7 mod 3 + 7 mod 5

After your program executes, the output (which has an initial value of zero) should be stored in a variable called output:

output .byte 0

xpi0t0s 30May2009 13:39

Re: SDK6800 Assembly Question Help
This isn't a free homework service. Post what you've got so far, with a description of where you're stuck and we'll try to help you.

All times are GMT +5.5. The time now is 09:23.