Commodore 64 (C64) Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Mixed Case

 
Post new topic   Reply to topic    Commodore 64 (C64) Forum Index -> General
View previous topic :: View next topic  
Author Message
ajordison
Über Groupie
Über Groupie


Joined: 09 Apr 2008
Posts: 341
Location: Hartlepool, UK

PostPosted: Sat May 12, 2012 2:51 pm    Post subject: Mixed Case Reply with quote

How do most assemblers cope with mixed case text directives? For example, with the line
Code:
text 'Hello'

how do assemblers determine which character set to use, as the code for upper and lower case 'H' is the same in character set 1, or do they 'detect' which set to use by the fact that the string is mixed case?
_________________
Try out CBM prg Studio over at www.ajordison.co.uk
Back to top
View user's profile Send private message Visit poster's website
groepaz
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 13 Oct 2004
Posts: 4698

PostPosted: Sat May 12, 2012 3:08 pm    Post subject: Reply with quote

Quote:
the code for upper and lower case 'H' is the same in character set 1

no?
_________________
Back to top
View user's profile Send private message
ajordison
Über Groupie
Über Groupie


Joined: 09 Apr 2008
Posts: 341
Location: Hartlepool, UK

PostPosted: Sat May 12, 2012 3:34 pm    Post subject: Reply with quote

Erm I mean't the code for 'H' in set 1 is the same as 'h' in set 2! Embarassed
_________________
Try out CBM prg Studio over at www.ajordison.co.uk
Back to top
View user's profile Send private message Visit poster's website
groepaz
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 13 Oct 2004
Posts: 4698

PostPosted: Sat May 12, 2012 3:55 pm    Post subject: Reply with quote

Smile

it depends on the individual assembler - some will assume the lowercase charset, others the uppercase charset, and many of the "modern" ones will let you choose a completely custom mapping if needed.
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Commodore 64 (C64) Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
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
Tip: Get C64 Forever for super-comfy C64 emulation with pre-installed games, demos and other goodies!


Powered by phpBB © 2001, 2005 phpBB Group