auxiliary carry and carry flags in 8085

一曲冷凌霜 提交于 2019-12-02 01:09:24

According to 8085 manual here in page 118, the operation should be set. It looks like that GNUSim8085 has a bug. GNUSim8085 had several bugs, some of which they fixed in the latest version (including the bug with the DAA instruction), but it looks like there are still more auxiliary carry related bugs. Check here for a list of bugs which I found long ago with v1.3.7

I would recommend using gsim85 here https://gsim85.soft112.com/, as it seems that this has implemented the auxiliary carry operation correctly. This may be a bit difficult to use though.

Also, if you do not want a simulator but want an interface like the 8085 trainer kits, have a look at Dirty8085, which I wrote around 9 ~ 10 years ago, and recently fixed the auxiliary carry update.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!