:) 

I understand, that is not my question :) 

As I said, I can write extended ascii , but by sending it's ascii (
extended ) code, é is 233 

, like a , b, c ... are in the standard ascii table, so, when I load a
register in assembly with : 

ld A, #'b' 

then the sendchar command with A (accumulator/register) holding the
value, it s all OK 

to send," é " aka ld A, 'é' 

it doesnt work, because the essemblers (maybe not all?) do not map it
thru the Extended ascii table, meaning cant find it in the standard
ascii 

which is normal. 

the standard ascii table hold 128 caracters, wich are sufficient to the
english alphabet 

the extended is the same + another 128 , hence 255 which is an 8 bit
friendly, and can serve to another douzen of 

human languages I think --- and the plus, is that in some LCD roms, you
have chinese/japanese caraters already there 

too . 

So my question, is , is it worthy to make the assembler ; extended-ascii
aware ? that all :) 

Best regards 

Le 2014-10-06 12:37, Ben Shi a écrit : 

> In my opinion, the character set a LCD supports has nothing to do with the 
> assembler.
> 
> For example, you want "abé" (not sure this is a polite word in your languge 
> :) ) be shown on your LCD, you can do it by
> 
> .db 0x61, 0x62, XX, YY
> 
> XXYY presents é's code in LCD's character set.
> 
> Even if the assembler support unicode, it might assemble é to an unexpected 
> code, which does not conform with your LCD.
> 
> Ben
> 
> 在2014年10月06 16时26分,"remi"<r...@remi.lu>写道: 
> 
>> Hello
>> 
>> I am writing ascii carracters on LCD without a problem,
>> 
>> But i have a problem , i did with gpasm/mpasm too ,
>> 
>> Is it inherent (normal) for extended carracters to not pass the 
>> assembler ?
>> 
>> Or doest worth adding this feature in AN assembler in general ?
>> 
>> For instance, le lettre "é" doesnt print directly, i have to send it 
>> alone by its asscii code ...
>> 
>> Best regards
>> 
>> ------------------------------------------------------------------------------
>> Slashdot TV. Videos for Nerds. Stuff that Matters.
>> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Sdcc-user mailing list
>> Sdcc-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sdcc-user
> 
> ------------------------------------------------------------------------------
> Slashdot TV. Videos for Nerds. Stuff that Matters.
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk 
> [1]
> 
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sdcc-user [2]

 

Links:
------
[1]
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&amp;iu=/4140/ostg.clktrk
[2] https://lists.sourceforge.net/lists/listinfo/sdcc-user
------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to