Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 12-12-2005, 09:36 PM   #1
Beta Member
 
Join Date: Dec 2005
Posts: 2
Default need help with assembly using debug.exe

i am writing program that accepts uppercase user input and converts it into lowercase using debug.exe.

here is the code that i wrote it so far:
i am almost halfway there.

c:\>debug
-a100
178E:0100 mov ah,01;
178E:0102 int 21;
178E:0102 cmp al,0d;
178E:0106 jnz 0100;
178E:0108 mov ah,02;
178E:010A mov dl,al;
178E:010C int 21;
178E:010E int 20;
178E:0110
-w
(W)rite error, no destination defined
-h 0110 - 0100
^ Error
-h 0110-0100
^ Error
-h0110-0100
^ Error
-h
^ Error
-rcx 0010
^ Error
-rcx
CX 0000
:0010
-n text.com
-w
Writing 00010 bytes
-g

please help if you can.
__________________

indianj is offline   Reply With Quote
Old 12-13-2005, 10:18 AM   #2
In Runtime
 
Quinton McLeod's Avatar
 
Join Date: Dec 2005
Posts: 298
Default Re: need help with assembly using debug.exe

Quote:
Originally Posted by indianj
i am writing program that accepts uppercase user input and converts it into lowercase using debug.exe.

here is the code that i wrote it so far:
i am almost halfway there.

c:\>debug
-a100
178E:0100 mov ah,01;
178E:0102 int 21;
178E:0102 cmp al,0d;
178E:0106 jnz 0100;
178E:0108 mov ah,02;
178E:010A mov dl,al;
178E:010C int 21;
178E:010E int 20;
178E:0110
-w
(W)rite error, no destination defined
-h 0110 - 0100
^ Error
-h 0110-0100
^ Error
-h0110-0100
^ Error
-h
^ Error
-rcx 0010
^ Error
-rcx
CX 0000
:0010
-n text.com
-w
Writing 00010 bytes
-g

please help if you can.

Can you use an Assembly compiler other than debug?
Quinton McLeod is offline   Reply With Quote
Reply

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 Off



All times are GMT -5. The time now is 01:39 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0