|
Page 1 of 1 |
JackQ
Non-expret in Derps lagunge
Posts: 14184
Location: Kibbutznik, Israel
|
Posted: Sat, 18th Oct 2014 11:00 Post subject: best Programming software for Assembly? |
|
 |
I came to my final year at practical engineering studding,now I'm at the Hard part with all what people are saying to me: Assembly.
time to organize things up,I'm looking for the best Programming software to use cuz I'm gonna use my laptop a lot,and Assembly is considered a bit 'clumsy' programming language to use,I'm already finished with the most major other programming languages,C,Java,C++... Assembly is essential to get my Practical Engineer's degree.
thanks
"Fuck Denuvo"
Your personal opinions != the rest of the forum
|
|
Back to top |
|
 |
|
Posted: Sat, 18th Oct 2014 11:07 Post subject: |
|
 |
There's no just "assembly", you have to pick a platform and see which compilers are available and what would you actually do with it. Actual compilers and the instruction sets they support heavily depend on specific architectures.
Would you code on Intel, ARM Cortex-A family, Cortex-M... ? If Intel, would you code DOS-like programs in 8086 mode by calling BIOS routines, or would you code Windows applications by calling Windows API routines directly from your asm code?
I would suggest going with ARM Cortex-M4 family, it's very powerful (for a MCU), and STMicro has a nice cheap development kit (STM32F4DISCOVERY).
|
|
Back to top |
|
 |
JackQ
Non-expret in Derps lagunge
Posts: 14184
Location: Kibbutznik, Israel
|
Posted: Sat, 18th Oct 2014 11:17 Post subject: |
|
 |
as far as I concern,I don't need to program to a dedicate hardware when it come to ASM,sorry that I didn't said it before,not with ASM at least,I think after this year there going to be a project you need to make and then the Hardware would matter.... but even then you could do it with better,more advanced languages.
I'm still at pretty basics when it's come to the language,I just need something like Visual C or eclipse to ASM:
you know,create matrix,String etc.. just of course using ASM ,and the result will be printed on the CMD,something simple....
thanks for the help tough.
"Fuck Denuvo"
Your personal opinions != the rest of the forum
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Sat, 18th Oct 2014 13:40 Post subject: |
|
 |
There is no single IDE for ASM, exactly because ASM by definition isn't a universal language. Every chip has its own ASM dialect. Of course there are some general instructions that they all have (MOV, ORG, RET, calls, (non-)zero jumps and so on), but in most cases there's also some unique instructions. More importantly though, every chip has its own registers and you need to know those to write the ASM code properly. Aside from that, with every chip you usually get an IDE and there are some non-instruction difference between compilers (i.e. some have extra types of labels for flow control).
So even if you're just looking to learn ASM in general, you still need to pick a platform to work for
It's been more than a few years since my ASM, but I've heard good things about MASM, that's probably your best option (Google it). That's writing x86 (Intel) ASM though, whereas your project next year will most likely involve some kind of microcontroller from Siemens or Philips. So be warned, while you'll learn how to deal with memory and registers, you'll still need the microcontroller's manual to look up the correct registers to do stuff, as well as that controller's IDE 
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73231
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Sat, 18th Oct 2014 23:02 Post subject: |
|
 |
Why not just use any C/C++ IDE, and use an `asm` block (or `__asm__`) and do your thing there?
|
|
Back to top |
|
 |
JackQ
Non-expret in Derps lagunge
Posts: 14184
Location: Kibbutznik, Israel
|
Posted: Sun, 19th Oct 2014 12:00 Post subject: |
|
 |
thanks for the Help and useful info here,current year we did learned some ASM at the very basic I guess,didn't know it's very different in hardware,I guess even more reasons not to use it for final project
you didn't have to use any software on PC to actually pass the ASM exams ,all the work done in papers and were mostly "understanding the codes basics commands" and a bit writing(which you didn't even have to answer it to makes a pass grade).
this year going to be different and there going to be some projects like creating matrix etc.. and a Programming Software is pretty much must,but I don't think it will be further then creating matrix/strings like we did in Basic C,even in Java we did more "advanced" things like creating a basic site. there will be final exam on it tough.
it seems the lecturer talked about Virtual PC or masm as been mention,but it is been quite a while I touched it. I guess I will just have to wait and see,what the excat hardware/software needed.
"Fuck Denuvo"
Your personal opinions != the rest of the forum
Last edited by JackQ on Tue, 21st Oct 2014 19:31; edited 2 times in total
|
|
Back to top |
|
 |
|
Posted: Sun, 19th Oct 2014 12:23 Post subject: |
|
 |
You get MASM with Visual Studio (vs_folder\VC\bin\ml.exe), but you can't create ASM projects in VS, I guess it's just there for asm snippets in C/C++ code. You can probably use it directly from the command line.
|
|
Back to top |
|
 |
|
Posted: Sun, 19th Oct 2014 14:33 Post subject: |
|
 |
We just debugged our c++ code with ASM and as Leo said. Was quite easy tbh.
|
|
Back to top |
|
 |
[mrt]
[Admin] Code Monkey
Posts: 1342
|
|
Back to top |
|
 |
JackQ
Non-expret in Derps lagunge
Posts: 14184
Location: Kibbutznik, Israel
|
Posted: Wed, 5th Nov 2014 15:52 Post subject: |
|
 |
There seems to be 2 options we are using,DOSBOX for runing masm32 or assembly masm32 on XP(original or virtual) the coding 'text' on qeditor,but you can still compile it and run it to see the results.
I personally using msam on XP virtual(my laptop is WIN8) as it more comfortable. is there any updated version of qeditor? I want to see errors while coding,similar to VC or eclipse,thanks
"Fuck Denuvo"
Your personal opinions != the rest of the forum
Last edited by JackQ on Sat, 8th Nov 2014 12:28; edited 1 time in total
|
|
Back to top |
|
 |
[mrt]
[Admin] Code Monkey
Posts: 1342
|
Posted: Fri, 7th Nov 2014 18:31 Post subject: |
|
 |
A tiny bit has changed since the last time I had my mits in the assembly cookie jar.
Basically masm is now ml. So if you wish to use it its bundled with Visual Studio and there are two versions, ml.exe and ml64.exe.
As far as IDE's go try http://dman95.github.io/SASM/english.html
Hope this helps and you don't have to bother with virtual machines anymore.
BTW, I wouldn't put too much effort in live syntax checking as ASM is basically as low as you can get. There isn't much in the way of syntax, when you make a mistake you know it.
teey
|
|
Back to top |
|
 |
Page 1 of 1 |
All times are GMT + 1 Hour |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group
|
|
 |
|