#Anyone good at assembly language?

7 messages · Page 1 of 1 (latest)

cunning terrace
#

help

frozen yokeBOT
#

This post has been reserved for your question.

Hey @cunning terrace! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

stark mantleBOT
#

question is

convert the following C code ```

  1. int sum (int x, int y) {
  2. return x+y;
  3. }
  4. int main () {
  5. int a = 5;
  6. int b = 5;
  7. int c = sum(a,b);
  8. } ```

into assemly language that uses registers A and B to store inputs of the sum of the fraction and register C to return its result

you should also use an 8 bit assembler

This message has been formatted automatically. You can disable this using /preferences.

serene escarp
#

@cunning terrace this is a Java only help channel

#

I am closing this post, as it has nothing to do with java

cunning terrace
#

understood