flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > IDE Development > fasm bug with some characters...

Author
Thread Post new topic Reply to topic
edfed



Joined: 20 Feb 2006
Posts: 4157
Location: achtétépéhèseu://pasteubineu.comeu/Vw7WXXf4
fasm bug with some characters...
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: 777 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: 15301
Location: Bigweld Industries
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: 4157
Location: achtétépéhèseu://pasteubineu.comeu/Vw7WXXf4
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: 348
Location: ukraina
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 Send e-mail 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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.