سلام دوستان
شما راه سراغ دارید یک شبه کد ++C رو به کد معادل اسمبلی MIPS تبدیل کنیم
Printable View
سلام دوستان
شما راه سراغ دارید یک شبه کد ++C رو به کد معادل اسمبلی MIPS تبدیل کنیم
windows
eMbedded Visual C++ 4.0
http://www.microsoft.com/download/en....aspx?id=24809
linux
The GNU C++ compiler
http://gcc.gnu.org/install/specific.html
http://gcc.gnu.org/
g++ -S -fverbose-asm foo.cpp
از MSVC هم میتونید استفاده کنید
برای خروجی اسمبلی
Project --> Properties (the last item in the menu) --> Configuration Properties --> C/C++ -> Output Files --> then on the right side of the screen you will see Assembly Output
برای کامپایل
linker->advanced ->target machine
و این هم دوتا لینک دیگه
http://stackoverflow.com/questions/1...embly-language
http://ubuntuforums.org/showthread.php?t=587595
موفق باشی