Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

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


Subjectbit testing Reply to this message
Posted byaravan72rs
Posted on07/13/06 09:46 AM



Hi all, this may be a noob question, but I just can seem to come up with a good answer. When writing an emulator, how do you test a result of a mathmatic operation to see if a half carry occurred so you can set the H flag (6809 cpu). I have looked at some source code, but the way they have checked for this is not readily apparent to me. Anyway, if anyone knows of a good way to test a result in c++ for a half carry, I would be interested in seeing it.

Thanks for the time



-
Entire Thread
Subject  Posted byPosted On
.bit testing  aravan72rs07/13/06 09:46 AM
.*Re: bit testing  smf07/27/06 07:42 PM