Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

NooB quick question? Help

Im using the HC11 and Mini IDE to assemble my code for an ATM machine and was just wondering if its possible to compare accumulator A with index register X and if so how do you write that in assembly code? I want to compare the keys pressed by the user with a stored code pointed to by the X register as they are pressed.

cmpa ????

any help appreciated thanks
Sign In or Register to comment.