(1) what diffirence between "0dh" and "0ah"?

(2) what does @szBuffer[128]:byte mean?

(3) what does zero? mean?

(4) i know dd means define dword

the red d means double,but i don't know in df,dq,what does ,f,q,mean?
Posted on 2003-08-24 02:46:40 by tomorrow
1) 3
2) 128 byte buffer declared locally (PS you are missing LOCAL)
3) zero? means the zero flag, used to test for zero, there is also SIGN?, CARRY? etc...
4) df = Float, dq = QWORD (8 bytes)
Posted on 2003-08-24 02:53:01 by donkey
donkey i think he may be asking something else about the 0dh and 0ah

when defining a string they have to be endded with 00h right well when you put in 0dh,0ah this means return/enter

you know when your in notepad and press enter and it goes to the next line thats what 0dh,0ah means


String1 db "Hello how are you",0dh,0ah
db "I'm Fine thanks for asking",00h

this would look like this in text:

Hello how are you
I'm Fine thanks for asking

as you see i ended it with 00h

if you did

String2 db "Hello how are you"
db "I'm Fine thanks for asking",00h

it would look like this

Hello how are youI'm Fine thanks for asking

so i hope that helps you better.
Posted on 2003-08-24 03:50:09 by devilsclaw
thank you
String2 db "Hello how are you"0dh
db "I'm Fine thanks for asking",00h
what will it do?
my problem is i don't what diffirence between "0dh" and "0ah"?
Posted on 2003-08-24 03:54:42 by tomorrow
older version of notepad i think or other programs that means the same thing as 0dh,0ah ... but in some programs it will make a black box show up in the text and it wont do the return...

if your doing message box's then just try it out and see.... im not sure how it affects a message box..

if i were you i would just stay with 0dh,0ah
Posted on 2003-08-24 03:57:35 by devilsclaw
yes ! and another example is:

remember the old typewriter ?
It had Carriage Return and Line Feed as two separate movement... this is from where CR(0Dh)+LF(0Ah) comes :)
Posted on 2003-08-24 03:59:02 by Bit7

donkey i think he may be asking something else about the 0dh and 0ah

:tongue: I know, I was just being funny. The question has been asked soooo many times and it still amazes me that it is even asked at all.
Posted on 2003-08-24 07:42:44 by donkey