flat assembler
Message board for the users of flat assembler.

Index > Windows > ASCII Table (Tabla ASCII)

Author
Thread Post new topic Reply to topic
alonso



Joined: 06 Aug 2003
Posts: 15
alonso
Hi to every body, attach is Help file that contains the ASCII table character set with reprecentations in Decimal, Hex and Binary as well as the simbols.

I make this file because a look every where on the web for a complete character set of the ASCII table and I couldn't find it.

I Found some thing very interesting for example: You can convert any text string into lower case just by turning on Bit # 6 on each byte or convert it to upper case by turning bit # 6 off.

I hope it would be usefull to everybody!!!

Any body with Win98 and above should be able to view this file!


Description:
Download
Filename: Tabla Ascii.zip
Filesize: 20.37 KB
Downloaded: 318 Time(s)

Post 25 Dec 2003, 15:21
View user's profile Send private message Reply with quote
Eoin



Joined: 16 Jun 2003
Posts: 68
Location: Ireland
Eoin
Very nice alonso, well presented.

Pity its not in English, but then it is self explanatary Smile .
Post 25 Dec 2003, 16:02
View user's profile Send private message Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo
alonso,
the following functions turn on/off bit 6 of a dword at a time, providing faster lcase/ucase. I hope you find them useful:
Code:
sz:
  .ucase:
 mov     eax,[edi]
   mov edx,eax
 and edx,40404040h
   ror edx,1
   xor edx,-1
  and eax,edx
 mov [edi],eax
       add     edi,4
       lea     edx,[eax-01010101h]
 xor     eax,edx
     and     eax,80808080h
       jz      .ucase
      and     eax,edx
     jz      .ucase
      ret
  .lcase:
        mov     eax,[edi]
   mov edx,eax
 and edx,40404040h
   ror edx,1
   or  eax,edx
 mov [edi],eax
       add     edi,4
       lea     edx,[eax-01010101h]
 xor     eax,edx
     and     eax,80808080h
       jz      .lcase
      and     eax,edx
     jz      .lcase
      ret
    
Post 25 Dec 2003, 17:36
View user's profile Send private message Yahoo Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.