This Book's Link Library (Cont.)


IsDigit
It determines whether the character in AL is a valid decimal digit. It sets the Zero flag if AL contains a valid decimal digit; otherwise, the flag is clear.

WriteBin
It writes an integer to the console window in ASCII binary format. Pass the integer in EAX.

WriteChar
It writes a single character to the console window. Pass the character in AL.

WriteDec
It writes a 32-bit unsigned integer to the console window in decimal format with no leading zeros. Pass the integer in EAX.

WriteHex
It writes a 32-bit unsigned integer to the console window in 8-digit hexadecimal format. Leading zeros are inserted if necessary. Pass the integer in EAX.

WriteInt
It writes a 32-bit signed integer to the console window in decimal format with a leading sign and no leading zeros. Pass the integer in EAX.

WriteString
It writes a null-terminated string to the console window. Pass the string's offset in EDX.

 WriteDec  WriteHex  WriteInt
 
 
 .code
 
 
 mov   eax, -128
 
 
 call  WriteDec
 
 
 .code
 
 
 mov   eax, -128
 
 
 call  WriteHex
 
 
 .code
 
 
 mov   eax, -128
 
 
 call  WriteInt
 Output  Output  Output
   



   



   





      “I’m not arguing, I’m just explaining why I’m right.”    
      ― Unknown