EASy68K
http://www.easy68k.com/EASy68Kforum/

ascii text to compare ...
http://www.easy68k.com/EASy68Kforum/viewtopic.php?f=5&t=1680
Page 1 of 1

Author:  marc_256 [ Fri Jul 12, 2019 2:01 pm ]
Post subject:  ascii text to compare ...

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

Author:  profkelly [ Sat Jul 13, 2019 12:25 pm ]
Post subject:  Re: ascii text to compare ...

Code:
    CMP.L   #'STOP',D7

Author:  marc_256 [ Sat Jul 13, 2019 2:15 pm ]
Post subject:  Re: ascii text to compare ...

thanks,
marc

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/