You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an inofficial version of the M6809PM document, with additional errata at https://github.com/M6809-Docs/m6809pm
Incl. errata for DAA (H for LSN). Currently updating pages incl. upcoming errata for BGT.
Please provide input to create a more reliable document. Thanks.
Steps to reproduce:
Assemble and run the following code:
What happened?
Carry was reset.
When similar code was used for multi-byte decimal addition, it yielded incorrect results.
What was expected?
Carry should be set. DAA keeps the carry flag set if it was set beforehand, see the mc6809 emulator sources for comparison: https://github.com/spc476/mc6809/blob/master/mc6809.c#L420 or the official Programming Manual: https://archive.org/details/bitsavers_motorola68_13419254/page/n83/mode/2up
After some research, I noticed that this is a common bug in many 6809 emulators.
The text was updated successfully, but these errors were encountered: