Lost Password?

Go Back   CodeCall Programming Forum > Software Development > General Programming

General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #31 (permalink)  
Old 11-29-2007, 11:50 AM
G_Morgan G_Morgan is offline
Guru
 
Join Date: Oct 2007
Age: 24
Posts: 399
Rep Power: 10
G_Morgan is a name known to allG_Morgan is a name known to allG_Morgan is a name known to allG_Morgan is a name known to allG_Morgan is a name known to allG_Morgan is a name known to all
Default

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).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #32 (permalink)  
Old 12-29-2007, 05:28 PM
dargueta dargueta is offline
Programming Expert
 
Join Date: Oct 2007
Age: 17
Posts: 376
Last Blog:
Programs Under the Hoo...
Rep Power: 7
dargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the rough
Default

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".
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #33 (permalink)  
Old 12-29-2007, 05:39 PM
TcM's Avatar   
TcM TcM is offline
Terminator - I'll be back
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 6,076
Rep Power: 50
TcM is a jewel in the roughTcM is a jewel in the roughTcM is a jewel in the roughTcM is a jewel in the rough
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #34 (permalink)  
Old 12-29-2007, 05:40 PM
dargueta dargueta is offline
Programming Expert
 
Join Date: Oct 2007
Age: 17
Posts: 376
Last Blog:
Programs Under the Hoo...
Rep Power: 7
dargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the rough
Default

I made a post here because no one was helping. Kinda letting people know, you know?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #35 (permalink)  
Old 12-29-2007, 07:41 PM
TcM's Avatar   
TcM TcM is offline
Terminator - I'll be back
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 6,076
Rep Power: 50
TcM is a jewel in the roughTcM is a jewel in the roughTcM is a jewel in the roughTcM is a jewel in the rough
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #36 (permalink)  
Old 12-29-2007, 07:56 PM
dargueta dargueta is offline
Programming Expert
 
Join Date: Oct 2007
Age: 17
Posts: 376
Last Blog:
Programs Under the Hoo...
Rep Power: 7
dargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the rough
Default

The problem I'm having is more theoretical. I can handle the disassembler part myself.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #37 (permalink)  
Old 07-15-2008, 02:06 PM
softfalls softfalls is offline
Newbie
 
Join Date: Jul 2008
Posts: 2
Rep Power: 0
softfalls is on a distinguished road
Default Re: Free Assembly Tutorials

thanks these web sites will really help a lot
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -5. The time now is 02:14 AM.

Contest Stats

dargueta ........ 128.00000
John ........ 127.00000
Xav ........ 107.00000
gaylo565 ........ 18.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

Ads