Skip to content

Commit

Permalink
corrected otir etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
ben0109 committed Apr 12, 2012
1 parent 396cd22 commit 17d7437
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions vhdl/t80/T80_MCode.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -1836,10 +1836,12 @@ begin
Set_BusB_To <= "0110";
Set_Addr_To <= aXY;
when 3 =>
if IR(3) = '0' then
IncDec_16 <= "0010";
else
IncDec_16 <= "1010";
if IR(3) = '0' then
--IncDec_16 <= "0010";
IncDec_16 <= "0110";
else
--IncDec_16 <= "0010";
IncDec_16 <= "0110";
end if;
TStates <= "100";
Write <= '1';
Expand All @@ -1865,10 +1867,12 @@ begin
Set_BusB_To <= "0110";
Set_Addr_To <= aBC;
when 3 =>
if IR(3) = '0' then
IncDec_16 <= "0010";
else
IncDec_16 <= "1010";
if IR(3) = '0' then
--IncDec_16 <= "0010";
IncDec_16 <= "0110";
else
--IncDec_16 <= "0010";
IncDec_16 <= "0110";
end if;
IORQ <= '1';
Write <= '1';
Expand Down

0 comments on commit 17d7437

Please sign in to comment.