+ 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; }

2nd Jun 2017, 11:48 AM
hadeel
hadeel - avatar
7 Respuestas
+ 7
@Hadeel This will help you. https://www.tutorialspoint.com/assembly_programming/index.htm Do you have a compiler for assembly?
2nd Jun 2017, 2:35 PM
Manual
Manual - avatar
+ 4
@Hadeel, Your welcome!
2nd Jun 2017, 9:36 PM
Manual
Manual - avatar
+ 3
@valentinHacker ?😂😅
2nd Jun 2017, 12:42 PM
hadeel
hadeel - avatar
+ 3
@frost
2nd Jun 2017, 12:42 PM
hadeel
hadeel - avatar
+ 3
help me please this is my first assignment in progamming
2nd Jun 2017, 12:44 PM
hadeel
hadeel - avatar
+ 3
thanks alot @Manual yes I have compiler for assembly
2nd Jun 2017, 7:10 PM
hadeel
hadeel - avatar
+ 1
https://godbolt.org/ will compile C++ code to asm
3rd Jun 2017, 9:58 PM
Tom Cox
Tom Cox - avatar