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
  #1 (permalink)  
Old 08-27-2008, 10:59 AM
youwish youwish is offline
Newbie
 
Join Date: Aug 2008
Posts: 14
Rep Power: 0
youwish will become famous soon enough
Arrow DOS Debug

hey.. I'm really not sure where I should go for help with this so I decided to try here along with the other forums I've tried lol.

I used dos debug to dump a file (it HAS to be done using dos) the out is here pastebin.com/m69fa9513 so I have all that stored in file.scr now using debug in dos:

debug file.scr
r cx
AOF
n file.otm
w
q

that's "supposed" to assemble the dumped file back to an otm file. There's a reason why I'm doing it this way.. so yea, I'm just curious why it's not assembling it? I did it once and it assembled fine I just forgot what I did right...

thanks

ps: it copies the hex code as it is to file.otm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 08-27-2008, 11:47 AM
v0id's Avatar   
v0id v0id is offline
Retired
 
Join Date: Apr 2007
Location: Denmark
Posts: 2,654
Last Blog:
CherryPy(thon)
Rep Power: 29
v0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of light
Send a message via MSN to v0id
Default Re: DOS Debug

Check dargueta's blog. He's writing a series on architecture, debugging, assembling, disassembling and much more, and he's using debug for many of the examples.
__________________
05-03-2007 - 11-13-2008
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-27-2008, 01:44 PM
youwish youwish is offline
Newbie
 
Join Date: Aug 2008
Posts: 14
Rep Power: 0
youwish will become famous soon enough
Default Re: DOS Debug

Assembly is the only language I know. However that doesn't answer my question The issue still exists. How to assemble hex code using dos debug...

ps: why the hell is he using 16-bit for teaching assembly when we're in the 64-bit days although everything is still 32-bit..for now

pps: Dos isn't my strong point, there was no need at-all for me to use it for something like this up until now.

The correct input was:

rcx
56F0
n C:\file
w
q

thank you for you're reply

Last edited by youwish; 08-27-2008 at 03:34 PM.
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug Mode dirkfirst Managed C++ 4 10-09-2007 09:11 PM
Project Debug Database Chan C# Programming 1 05-03-2007 12:59 PM
Visual Studio 2005 and Windows Vista Jordan General Programming 3 01-22-2007 04:21 PM
Debug Vs. Release NeedHelp C# Programming 1 07-12-2006 10:44 PM
Variable to Debug Window Void C# Programming 3 07-04-2006 09:26 AM


All times are GMT -5. The time now is 07:20 AM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads