EASy68K  
It is currently Tue Dec 10, 2019 5:10 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Jul 12, 2019 2:01 pm 
Offline

Joined: Sun Nov 01, 2009 4:02 pm
Posts: 26
Location: Belgium
Hello,

It's vacation, so we have some time to progress on are hobby robot,
we need to compare an ascii code of 4 characters

example:
CMPI.L #$'STOP',D7
even
CMPI.L #$"STOP",D7

but I receive an error for this
I can use
CMPI.L #$53544F50,D7
but than I need to convert all my text in to HEX ascii values

How can I do this ?

thanks,
marc

_________________
Greetings from Belgium
Hobby robot builder
www.marc-systems.be


Top
 Profile  
 
PostPosted: Sat Jul 13, 2019 12:25 pm 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1109
Code:
    CMP.L   #'STOP',D7

_________________
Prof. Kelly


Top
 Profile  
 
PostPosted: Sat Jul 13, 2019 2:15 pm 
Offline

Joined: Sun Nov 01, 2009 4:02 pm
Posts: 26
Location: Belgium
thanks,
marc

_________________
Greetings from Belgium
Hobby robot builder
www.marc-systems.be


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group