[Coco] 6809 Opcode informations...

William Astle lost at l-w.ca
Mon Oct 21 11:43:51 EDT 2013


On 2013-10-21 09:33, Jens wrote:
> Now i use the data in DragonPy and the Simple6809 ROM works a little bit
> more:
> I can input some code... but get allays "OM ERROR" Back.
> Think there are bugs in CC flags :(

You'll need to pay special attention to the overflow (V) flag. I had 
some problems with that caused floating point in DECB to go weird in an 
emulator I was tinkering with some time ago. Notably, how it behaves on 
the bit shift instructions. Also, making sure carry (C) is set right on 
subtraction would be something to look at.



More information about the Coco mailing list