|
||||||
| General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
The other thing with assemblers. Different ones use different relocatable binary formats. In Linux you will likely use ELF, in Windows there's PE. Any assembler will have to support the binaries of your systems linker, many support several.
WRT other OS dependent stuff. It's mostly about calling conventions. You'll use different ABI's depending on platform. This goes from how they handle function calls to what interrupts the system uses. You can use one assembler to produce Linux code from Windows, it just probably won't work on Windows without modification. As for not knowing C. Don't worry. Essentially you traditionally pick a register and say all returned values will be stored in that register (perhaps if you use a double word variable you will have a convention for the second register). Then you establish a similar convention for passed arguments. Once you've done this you are left handling what state you have to push on the stack (so it is saved) before a new function call so that function can use your registers. The best advice that can be given is to explicitly state in comments what each variable in a function is, there aren't nice labels in ASM programming (at least there aren't always nice labels). |
|
|||
|
I'm having an issue with creating a disassembler in C/C++. Can someone help? I posted a thread on this in the C/C++ section titled "Need Help With Disassembler".
|
|
|||||
|
Then people would help you in there. this is not exactly the right thread to help you on such thing.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall ![]() Business Directory | Technology Blog | Windows Help |
|
|||
|
I made a post here because no one was helping. Kinda letting people know, you know?
|
|
|||||
|
IMO a dissembler is not an easy thing to do... maybe too complicated for people to help you out.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall ![]() Business Directory | Technology Blog | Windows Help |
| Sponsored Links |
|
|
|
|||
|
The problem I'm having is more theoretical. I can handle the disassembler part myself.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Free Java Tutorials | EdSquareCat | Java Help | 2 | 08-22-2007 01:25 AM |
| Lots of free Tutorials | Saint | General Programming | 6 | 10-15-2006 11:24 AM |
| General: Tutorial, Keep your PC secure for Free! | TcM | Tutorials, Classes and Code | 2 | 09-21-2006 12:51 PM |
| Free Online PHP Tutorials | RobSoftware | PHP Forum | 5 | 08-24-2006 04:38 PM |
| Assembly tutorials | Kaabi | General Programming | 1 | 07-05-2006 11:18 AM |