Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!fernwood!portal!cup.portal.com!Bits_of_Magic From: Bits_of_Magic@cup.portal.com Newsgroups: comp.sys.mac.programmer Subject: MPW Asm Bitwise Operators? Message-ID: <33404@cup.portal.com> Date: 30 Aug 90 18:38:52 GMT Distribution: usa Organization: The Portal System (TM) Lines: 18 I am using a Mac IIfx for embedded systems development, and while switching some code from another assembler, I realized that MPW Assember appears to have no bitwise operators for use in expressions. Am I missing something? I've got a bunch of macros along the lines of: move.w #((input & $3FFF) | $4000),D0 where & is bitwise AND and | is bitwise OR. Changing them all so that the bit manipulation is actually done in code would really be a pain. Anybody want to tell me I'm unable to find a simple reference in the MPW manuals or suggest some other reasonable alternative? thanks in advance for any replys, **************************************************************************** * Evan Robinson * "You have a very workable substitute for * * bits_of_magic@cup.portal.com * high intelligence" * * GEnie: EVANROB * Keith Rienzi, "Pick Up Axe" * ****************************************************************************