Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

-w command in debug

Status
Not open for further replies.

xlav

Technical User
Oct 23, 2003
223
JM
Used debug in windows 2kpro to assemble a code to add two numbers. Determined the code length with 'h' command. Then used -w command to write the code to disk. This command is always adding a 1 before the code length. eg if code length is 0009 and enter 0009 in cx register, then -w command gives-> Writing 10009 bytes. Doing a -l (load) command gives a message saying Insufficient memory. Why is a 1 being added by -w before the code length?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top