P&E assembler to Codewarrior

Discussion created by donw on Oct 9, 2008
Latest reply on Oct 10, 2008 by donw
This is my first attempt to convert a P&E assembler code (S08) into
CodeWarrior . (using  _asm  in C code assembly)
Some strange things someone may be able to help with:
- Maths operators and quotes on a comment line (ie after a :smileywink: cause errors. I would have thought the line was ignored!    (putting ; //  solves the problem !)
 How do I express a binary format number?     LDA  #%01101101   causes an 'octal number' error.
- How doI express a decimal number such as LDA #01    (again an octal error if there is a leading zero. I would like to show a leading zero somehow)