Re: A83: 'cp F5h' != 'cp 245'


[Prev][Next][Index][Thread]

Re: A83: 'cp F5h' != 'cp 245'




In a message dated 24/02/00 11:35:56 GMT Standard Time, engelen@hotpop.com 
writes:

<< With TASM, 'cp F5h' gives an error message, while 'cp 245' works? Does this
 also happen with other compilers/versions/.... ? Odd. >>

Well, in my version of TASM I use $F5. But anyway, what happens is when
the assembler tries to understand your code it sees the 'F' and assumes it
is a label, not a constant. Numeric constants should begin with a digit.
So use 0F5h, otherwise it thinks you mean a label called "F5H"