flat assembler
Message board for the users of flat assembler.

Index > IDE Development > fasm bug with some characters...

Author
Thread Post new topic Reply to topic
edfed



Joined: 20 Feb 2006
Posts: 4354
Location: Now
edfed 10 Oct 2014, 07:45
Generate a 256 bytes table, from 0 to 255.

Code:
times 256 db %-1
    


open the generated file with hexadecimal editor

copy the ascii part of the hexa display
paste into fasm

edit at the suposed tild '~' position.

for example, insert a space ' ' after the tild
normally, you get a strange behavior, where the spaces take the appearance of the character after the tild, here the TM '™'.
there is also an offset in character selection, when i select the 'š', i get the '™'
when you select the text, the characters becomes spaces
but it continues to act strangelly.


Description:
Filesize: 30.39 KB
Viewed: 7876 Time(s)

fasmw tild bug.png


Post 10 Oct 2014, 07:45
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20478
Location: In your JS exploiting you and your system
revolution 10 Oct 2014, 07:53
Do you mean the character 0x98?
˜

Or the tilde 0x7e?
~
Post 10 Oct 2014, 07:53
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4354
Location: Now
edfed 10 Oct 2014, 10:01
i mean the 0x98 char Smile the accent tild. sorry for the miss precision.
Post 10 Oct 2014, 10:01
View user's profile Send private message Visit poster's website Reply with quote
idle



Joined: 06 Jan 2011
Posts: 440
Location: Ukraine
idle 12 Oct 2014, 09:30
i have all right on 1251/2 codepages
btw hex-editor inserted newline-s in your case
i used winhex - got single line
it also (character) depends on the font fasmide used
and hex-editor's language (controled via ctfmon's ALT/CRTL-SHIFT) at CTRL-C press e.g. french/english/russian/etc
+the algo hex-editor used
Post 12 Oct 2014, 09:30
View user's profile Send private message 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.