Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*

SubjectRe: Binary Coded Decimals Reply to this message
Posted byBart T.
Posted on05/07/04 09:47 PM

> Haven't added flags and SBCD yet. I mean that's not too bad a routine since abcd
> isn't used a lot, but will it cater for all the undocumented non decimal cases,
> e.g 0xfe+0x2b or something ??

I can't answer your question directly at the moment, I'd have to look up my Turbo68K code, but Motorola's BCD subtraction algorithm is different than Intel's and I wrote up some documentation on this and the undocumented flags a while back. See: http://www.trzy.org/files/68knotes.txt.


Entire Thread
Subject  Posted byPosted On
*Binary Coded Decimals  finaldave05/07/04 08:45 PM
..Re: Binary Coded Decimals  Bart T.05/07/04 09:47 PM