Pereiti prie turinio

Reikia išspręsti assembler uždavinį


Rekomenduojami pranešimai

Reikia išspręsti šį uždavinį:

 

1. Write a program in assembly language to do the following:

 

- Input a number between -99 and +99 (excluding zero).

- If the number is positive, add the number to a memory location labeled “POSITIVE”.

- If the number is negative, add the number to a memory location labeled “NEGATIVE”.

- The program ends when zero is entered.

- Output the total to the output box (the contents of “POSITIVE” added to “NEGATIVE”.

 

 

Rekomendacijose nurodyta naudotis little man computer.

 

Už pagalba bus atsilyginta, dėl plačiau AŽ

Redagavo Sypsnius
Nuoroda į pranešimą
Dalintis kituose puslapiuose
  • Dabar naršo   0 narių

    Nei vienas registruotas narys šiuo metu nežiūri šio puslapio.

×
×
  • Pasirinkite naujai kuriamo turinio tipą...