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/08/04 01:47 AM

> 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/08/04 00:45 AM
..Re: Binary Coded Decimals  Bart T.05/08/04 01:47 AM