I am using GCC inline assembler for the Palm Pilot (68000 chip)
As I understand it, when I right shift (divide by two), if the number was odd then the carry bit is set - so why doesnt the code below work?
lsr.w #1,%d1
bcc EvenNumber
.....
EvenNumber:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.