I have added the optional comparison parameter using both the constant variable and the constant variable equivalent value. This will result in two message boxes, both showing the position of “H” in the myString variable.
Number Conversion Instructions (Accumulator) Binary (BIN) Converts the BCD value in the accumulator to the equivalent binary value. The result resides in the accumulator. Binary Coded Decimal (BCD) Converts the binary value in the accumulator to the equivalent BCD value. The result resides in ...