943,916 Members | Top Members by Rank

Ad:
  • Assembly Discussion Thread
  • Marked Solved
  • Views: 810
  • Assembly RSS
Nov 29th, 2008
0

code snipp

Expand Post »
Assembly Syntax (Toggle Plain Text)
  1. stuff db 0cdh, 20h, 0
wat does this do
Reputation Points: 10
Solved Threads: 0
Newbie Poster
hellIon is offline Offline
18 posts
since Nov 2008
Nov 30th, 2008
0

Re: code snipp

wat
Reputation Points: 5
Solved Threads: 1
Unverified User
carson myers is offline Offline
33 posts
since Sep 2007
Nov 30th, 2008
0

Re: code snipp

For which architechture? is that x86 asm?

consult your reference manual

we cant do much with the info you gave us
Moderator
Featured Poster
Reputation Points: 1784
Solved Threads: 574
Moderator
jbennet is offline Offline
16,520 posts
since Apr 2005
Dec 1st, 2008
0

Re: code snipp

ya this is x86 asm
can u tell me all machine codes for the instructions.....
Reputation Points: 10
Solved Threads: 0
Newbie Poster
hellIon is offline Offline
18 posts
since Nov 2008
Dec 1st, 2008
0

Re: code snipp

i meant where can i find them ......
any link
Reputation Points: 10
Solved Threads: 0
Newbie Poster
hellIon is offline Offline
18 posts
since Nov 2008
Dec 1st, 2008
0

Re: code snipp

Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Dec 8th, 2008
0

Re: code snipp

wat

this is pretty easy...
it's a 3 byte variable which contains a symbol (0x00CD, or a double-line similar to an equals sign used to make box-drawings in console applications), a space, and a null character.

to print this to the screen you would do something like

asm Syntax (Toggle Plain Text)
  1. mov ah,02h
  2. mov dl,0cdh
  3. int 21h

you should do some reading on assembly before you start asking questions like this, like this is pretty basic... learn about segment:offset, the stack, data and code segments, basic syntax, etc. first.
Last edited by carson myers; Dec 8th, 2008 at 1:04 pm.
Reputation Points: 5
Solved Threads: 1
Unverified User
carson myers is offline Offline
33 posts
since Sep 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Assembly Forum Timeline: Simple Assembly Copy Program using int 21h
Next Thread in Assembly Forum Timeline: wat does this do





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC