Skip to content

Commit

Permalink
[cdm16e] Fix swpw and swpb mnemonics in microcode
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelix8996 committed Feb 12, 2024
1 parent 4581ce1 commit 00bc440
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions logisim/cdm16e/microcode/cdm16e_decoder.def
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ stssp: r_asrtD
move: r_asrt0, alu_asrtD, r_latch, ps_latch_flags
2op_1:

sww: mem, data, read, word, r_asrt0;
swpw: mem, data, read, word, r_asrt0;
mem, data, word, r_asrt0, r_asrtD;
r_latch

swb: mem, data, read, r_asrt0;
swpb: mem, data, read, r_asrt0;
mem, data, r_asrt0, r_asrtD;
r_latch

Expand Down
4 changes: 2 additions & 2 deletions logisim/cdm16e/microcode/cdm16e_decoder_exc.def
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ move: r_asrt0, alu_asrtD; # r_latch, ps_latch_flags
pc_inc
2op_1:

sww: mem, data, read, word, r_asrt0;
swpw: mem, data, read, word, r_asrt0;
mem, data, word, r_asrt0, r_asrtD;
pc_inc # r_latch

swb: mem, data, read, r_asrt0;
swpb: mem, data, read, r_asrt0;
mem, data, r_asrt0, r_asrtD;
pc_inc # r_latch

Expand Down

0 comments on commit 00bc440

Please sign in to comment.