comments
Some checks failed
Build / cmake-builds (push) Has been cancelled
Build / makefile (macos-latest, besm6 imlac tt2500 microvax3900 microvax1 rtvax1000 vaxstation3100m76 vaxstation4000m60) (push) Has been cancelled
Build / makefile (macos-latest, id16 id32 sds lgp h316 cdc1700 swtp6800mp-a swtp6800mp-a2 tx-0 ssem b5500 sage pdq3 alpha) (push) Has been cancelled
Build / makefile (macos-latest, microvax2 vax730 vax750 vax780 vax8200 vax8600 microvax2000 infoserver100 infoserver150vxt microvax3100 microvax3100e vaxstation3100m30 vaxstation3100m38) (push) Has been cancelled
Build / makefile (macos-latest, microvax3100m80 vaxstation4000vlc infoserver1000 nova eclipse hp2100 hp3000 i1401 i1620 s3 altair altairz80 gri i7094) (push) Has been cancelled
Build / makefile (macos-latest, pdp1 pdp4 pdp6 pdp7 pdp8 pdp9 pdp10 pdp10-ka pdp10-ki pdp10-kl pdp10-ks pdp11 pdp15 vax) (push) Has been cancelled
Build / makefile (macos-latest, scelbi 3b2 i701 i704 i7010 i7070 i7080 i7090 sigma uc15 i650 sel32 intel-mds ibm1130) (push) Has been cancelled
Build / makefile (ubuntu-latest, besm6 imlac tt2500 microvax3900 microvax1 rtvax1000 vaxstation3100m76 vaxstation4000m60) (push) Has been cancelled
Build / makefile (ubuntu-latest, id16 id32 sds lgp h316 cdc1700 swtp6800mp-a swtp6800mp-a2 tx-0 ssem b5500 sage pdq3 alpha) (push) Has been cancelled
Build / makefile (ubuntu-latest, microvax2 vax730 vax750 vax780 vax8200 vax8600 microvax2000 infoserver100 infoserver150vxt microvax3100 microvax3100e vaxstation3100m30 vaxstation3100m38) (push) Has been cancelled
Build / makefile (ubuntu-latest, microvax3100m80 vaxstation4000vlc infoserver1000 nova eclipse hp2100 hp3000 i1401 i1620 s3 altair altairz80 gri i7094) (push) Has been cancelled
Build / makefile (ubuntu-latest, pdp1 pdp4 pdp6 pdp7 pdp8 pdp9 pdp10 pdp10-ka pdp10-ki pdp10-kl pdp10-ks pdp11 pdp15 vax) (push) Has been cancelled
Build / makefile (ubuntu-latest, scelbi 3b2 i701 i704 i7010 i7070 i7080 i7090 sigma uc15 i650 sel32 intel-mds ibm1130) (push) Has been cancelled

This commit is contained in:
Folkert van Heusden 2025-04-08 07:37:46 +02:00
parent f8ed8f4de9
commit 5f3db4aead
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -593,29 +593,29 @@ void emit_mov()
}; };
int set = i / 6; int set = i / 6;
if (set == 1) if (set == 1) // R1
mem[4].value = 0010001; mem[4].value = 0010001;
else if (set == 2) { else if (set == 2) { // (R1)
mem[3].value = 0002000; mem[3].value = 0002000;
mem[4].value = 0110011; mem[4].value = 0110011;
} }
else if (set == 3) { else if (set == 3) { // (R1)
mem[3].value = 0002000; mem[3].value = 0002000;
mem[4].value = 0010011; mem[4].value = 0010011;
} }
else if (set == 4) { else if (set == 4) { // (R1)+
mem[3].value = 0002000; mem[3].value = 0002000;
mem[4].value = 0110021; mem[4].value = 0110021;
} }
else if (set == 5) { else if (set == 5) { // (R1)+
mem[3].value = 0002000; mem[3].value = 0002000;
mem[4].value = 0010021; mem[4].value = 0010021;
} }
else if (set == 6) { else if (set == 6) { // -(R1)
mem[3].value = 0002000; mem[3].value = 0002000;
mem[4].value = 0110041; mem[4].value = 0110041;
} }
else if (set == 7) { else if (set == 7) { // -(R1)
mem[3].value = 0002000; mem[3].value = 0002000;
mem[4].value = 0010041; mem[4].value = 0010041;
} }
@ -637,7 +637,7 @@ void emit_mov()
{ 0102, test_vals[i % 6] }, { 0102, test_vals[i % 6] },
{ 0104, 012701 }, { 0104, 012701 },
{ 0106, 02000 }, { 0106, 02000 },
{ 0110, 0110051 }, { 0110, 0110051 }, // @-(R1)
{ 01776, 03000 }, { 01776, 03000 },
{ 03000, 0 } { 03000, 0 }
}; };
@ -646,11 +646,11 @@ void emit_mov()
if (set == 1) if (set == 1)
mem[4].value = 0010051; mem[4].value = 0010051;
else if (set == 2) { else if (set == 2) {
mem[4].value = 0010031; mem[4].value = 0010031; // @(R1)+
mem[5].addr = 02000; mem[5].addr = 02000;
} }
else if (set == 3) { else if (set == 3) {
mem[4].value = 0110031; mem[4].value = 0110031; // @(R1)+
mem[5].addr = 02000; mem[5].addr = 02000;
} }
@ -671,7 +671,7 @@ void emit_mov()
{ 0102, test_vals[i % 6] }, { 0102, test_vals[i % 6] },
{ 0104, 012701 }, { 0104, 012701 },
{ 0106, 02000 }, { 0106, 02000 },
{ 0110, 0110061 }, { 0110, 0110061 }, // @(R1)
{ 0112, 0000004 }, { 0112, 0000004 },
{ 02004, 012345 }, { 02004, 012345 },
}; };
@ -697,7 +697,7 @@ void emit_mov()
struct mem_t mem[7] = { struct mem_t mem[7] = {
{ 0100, 012701 }, { 0100, 012701 },
{ 0102, 001000 }, { 0102, 001000 },
{ 0104, 012771 }, { 0104, 012771 }, // @X(R7)
{ 0106, 002222 }, { 0106, 002222 },
{ 0110, 001000 }, { 0110, 001000 },
{ 02000, 012345 }, { 02000, 012345 },