[Libre-soc-bugs] [Bug 656] add v3.0B BCD instructions to simulator

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Aug 1 10:34:04 BST 2021


--- Comment #22 from Jacob Lifshay <programmerjake at gmail.com> ---
explanation of why addg6s is useful:

> addg6s is used for doing a BCD addition, like x86's daa instruction:
> https://www.felixcloutier.com/x86/daa
> afaict to do a bcd add of a and b, you do `add r, a, b` then
> `addg6s t, a, b` then `add r, r, t`

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list