Randy Silks

BRCLR, BRSET, and TAX not working

Discussion created by Randy Silks on Mar 5, 2009
Latest reply on Mar 7, 2009 by bigmac

Hello All,  


Have a problem with a short assembly language program

running on a M98S08AC32-64

CodeWarrior is killing me by throwing errors on what looks like legit code.


Thank you all,

Code is below.




 Doofus(void) {


asm { 


       brclr   6,cmdsave,scan_2       
        brclr   6,soundop,scan_11     

         brset   6,command,scan



 CodeWarrior 6.2

Throwing unknown opcode 45. It does this with TAX and other instructions