#Anyone good at assembly language?
7 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @cunning terrace! Please use
/closeor theClose Postbutton 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.
question is
convert the following C code ```
- int sum (int x, int y) {
- return x+y;
- }
- int main () {
- int a = 5;
- int b = 5;
- int c = sum(a,b);
- } ```
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.
@cunning terrace this is a Java only help channel
I am closing this post, as it has nothing to do with java
understood