Jun 6, 2001 #1 gandalfjg Programmer Jun 5, 2001 1 US 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:
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: