Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

code segment in MARIE assembly language

fm96fm96 Member Posts: 2
Hi,
I have a homework to convert a code segment of "for loop" (as shown)into Marie assembly language. Please advise.
-------------
Sum := 0;
for X := 1 to 10 do
Sum := Sum + X;

Comments

  • AsmGuru62AsmGuru62 Member Posts: 6,519
    : Hi,
    : I have a homework to convert a code segment of "for loop" (as shown)into Marie assembly language. Please advise.
    : -------------
    : Sum := 0;
    : for X := 1 to 10 do
    : Sum := Sum + X;
    :
    :
    [blue]I may be off topic here, but why your homework require this MARIE assembler? I doubt, anyone is able to help you, since no one knows what MARIE assembler is. You should have taken a course of normal (industrial) assembler.[/blue]
  • fm96fm96 Member Posts: 2
    : : Hi,
    : : I have a homework to convert a code segment of "for loop" (as shown)into Marie assembly language. Please advise.
    : : -------------
    : : Sum := 0;
    : : for X := 1 to 10 do
    : : Sum := Sum + X;
    : :
    : :
    : [blue]I may be off topic here, but why your homework require this MARIE assembler? I doubt, anyone is able to help you, since no one knows what MARIE assembler is. You should have taken a course of normal (industrial) assembler.[/blue]
    :

    I'm studying a Computer Architecture course and marie assembler is used
    for this course.
Sign In or Register to comment.