DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Assembly (http://www.daniweb.com/forums/forum125.html)
-   -   code snipp (http://www.daniweb.com/forums/thread159962.html)

hellIon Nov 29th, 2008 2:36 am
code snipp
 
stuff   db      0cdh, 20h, 0
wat does this do

carson myers Nov 30th, 2008 7:35 pm
Re: code snipp
 
wat

jbennet Nov 30th, 2008 9:04 pm
Re: code snipp
 
For which architechture? is that x86 asm?

consult your reference manual

we cant do much with the info you gave us

hellIon Dec 1st, 2008 1:11 pm
Re: code snipp
 
ya this is x86 asm
can u tell me all machine codes for the instructions.....

hellIon Dec 1st, 2008 1:13 pm
Re: code snipp
 
i meant where can i find them ......
any link

Salem Dec 1st, 2008 1:15 pm
Re: code snipp
 
http://x86.org/

carson myers Dec 8th, 2008 1:03 pm
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

mov ah,02h
mov dl,0cdh
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.


All times are GMT -4. The time now is 9:01 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC