HCS12 assembly

I am a beginner programming for the micro controller chip MC9S12C32.
I have a question that bother me:

[b]What instructions or instructions would you use and what branch instruction would follow if you wanted to branch someplace if the contents of the memory location $800 ($=hexadecimal) is an odd number/positive?[/b]

I believe that , I first need to test the memory with the instruction

[b]tst $0800[/b]

The I don't know which branch instruction to use in order to check the required conditions.

Does any body familiar with this assembly?

Thank you

Sign In or Register to comment.

Howdy, Stranger!

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