astamp / PyXT

An XT clone written in Python!
GNU General Public License v2.0
5 stars 1 forks source link

Adjust flag (AF) is not implemented #14

Open astamp opened 7 years ago

astamp commented 7 years ago

This is needed for the BCD instructions DAS, AAS, DAA, AAA, and maybe AAM/AAD?

This was previously not implemented because up until this point no BCD instructions were called.

DAS is used in the XT-IDE BIOS (see #12).

astamp commented 7 years ago

ADD: 8e39d41250d9303711984185dea187e3373d9547 SUB: cce676e0f38f58178f7311b198aec9ceb46ef936 ADC: 0f79e1e588f2a7b0817d8e29113acca9b60dcec8 SBB: b122f509b64815b6373da62348ff61b6346cd35d INC/DEC: 77e3a7f07aeb613ee6992062691ef19617775a22 38dac3b40c7263636862e3aecb491cb20a332e3f 580718c99619b47aef1d1c58c257a9fed99c2d80 NEG: 21db593af7b11d5fc3947f44f7f2a5e91ce0da02

astamp commented 7 years ago

Still need to handle rotations, 8x, CMPS, SCAS.