+ 3
Can you help me please to convert thise code in c++ to assembly language?đ·
#include <iostream> using namespace std; int main() { int arr[10]; int min = arr[0]; int max = arr[0]; for (int num : arr) { if (num>max) { max = num; } else if (num<min) { min = num; } } cout<<"Min:"<<min<<endl<<"Max:"<<max; return 0; }
7 Answers
+ 7
@Hadeel This will help you.
https://www.tutorialspoint.com/assembly_programming/index.htm
Do you have a compiler for assembly?
+ 4
@Hadeel,
Your welcome!
+ 3
@valentinHacker ?đđ
+ 3
@frost
+ 3
help me please this is my first assignment in progamming
+ 3
thanks alot @Manual yes I have compiler for assembly
+ 1
https://godbolt.org/ will compile C++ code to asm