Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. gandalfjg

    Right Shift not setting Carry flag?

    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:

Part and Inventory Search

Back
Top