code snipp

Thread Solved

Join Date: Nov 2008
Posts: 18
Reputation: hellIon is an unknown quantity at this point 
Solved Threads: 0
hellIon hellIon is offline Offline
Newbie Poster

code snipp

 
0
  #1
Nov 29th, 2008
  1. stuff db 0cdh, 20h, 0
wat does this do
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 33
Reputation: carson myers has a little shameless behaviour in the past 
Solved Threads: 1
carson myers carson myers is offline Offline
Light Poster

Re: code snipp

 
0
  #2
Nov 30th, 2008
wat
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,146
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 530
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: code snipp

 
0
  #3
Nov 30th, 2008
For which architechture? is that x86 asm?

consult your reference manual

we cant do much with the info you gave us
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 18
Reputation: hellIon is an unknown quantity at this point 
Solved Threads: 0
hellIon hellIon is offline Offline
Newbie Poster

Re: code snipp

 
0
  #4
Dec 1st, 2008
ya this is x86 asm
can u tell me all machine codes for the instructions.....
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 18
Reputation: hellIon is an unknown quantity at this point 
Solved Threads: 0
hellIon hellIon is offline Offline
Newbie Poster

Re: code snipp

 
0
  #5
Dec 1st, 2008
i meant where can i find them ......
any link
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: code snipp

 
0
  #6
Dec 1st, 2008
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 33
Reputation: carson myers has a little shameless behaviour in the past 
Solved Threads: 1
carson myers carson myers is offline Offline
Light Poster

Re: code snipp

 
0
  #7
Dec 8th, 2008
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

  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.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the Assembly Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC