}
// 1000 DnDn imm8....; mov imm8,Dn (imm8 is sign extended)
-4.0x8,2.DM1,2.DN0=DM1+IMM8:S0i:::mov
+4.0x8,2.DM1,2.DN0=DM1+8.IMM8:S0i:::mov
"mov"
*mn10300
// start-sanitize-am33
*am33
// end-sanitize-am33
{
- // OP_8000 ();
+ /* OP_8000 (); */
signed32 immed = EXTEND8 (IMM8);
State.regs[REG_D0+DN0] = immed;
PC = cia;
// end-sanitize-am33
{
PC = cia;
- // OP_80 ();
+ /* OP_80 (); */
State.regs[REG_D0+DN0] = State.regs[REG_D0+DM1];
}
*am33
// end-sanitize-am33
{
- // OP_F1E0 ();
+ /* OP_F1E0 (); */
PC = cia;
State.regs[REG_A0 + AN0] = State.regs[REG_D0 + DM1];
}
*am33
// end-sanitize-am33
{
- // OP_F1D0 ();
+ /* OP_F1D0 (); */
PC = cia;
State.regs[REG_D0 + DN0] = State.regs[REG_A0 + AM1];
}
// 1001 AnAn imm8....; mov imm8,An (imm8 is zero-extended)
-4.0x9,2.AM1,2.AN0=AM1+IMM8:S0ai:::mov
+4.0x9,2.AM1,2.AN0=AM1+8.IMM8:S0ai:::mov
"mov"
*mn10300
// start-sanitize-am33
// end-sanitize-am33
{
PC = cia;
- // OP_9000 ();
+ /* OP_9000 (); */
State.regs[REG_A0+AN0] = IMM8;
}
// end-sanitize-am33
{
PC = cia;
- // OP_90 ();
+ /* OP_90 (); */
State.regs[REG_A0+AN0] = State.regs[REG_A0+AM1];
}
*am33
// end-sanitize-am33
{
- // OP_3C ();
+ /* OP_3C (); */
PC = cia;
State.regs[REG_A0 + AN0] = State.regs[REG_SP];
}
*am33
// end-sanitize-am33
{
- // OP_F2F0 ();
+ /* OP_F2F0 (); */
PC = cia;
State.regs[REG_SP] = State.regs[REG_A0 + AM1];
}
*am33
// end-sanitize-am33
{
- // OP_F2E4 ();
+ /* OP_F2E4 (); */
PC = cia;
State.regs[REG_D0 + DN0] = PSW;
}
*am33
// end-sanitize-am33
{
- // OP_F2F3 ();
+ /* OP_F2F3 (); */
PC = cia;
PSW = State.regs[REG_D0 + DM1];
}
*am33
// end-sanitize-am33
{
- // OP_F2E0 ();
+ /* OP_F2E0 (); */
PC = cia;
State.regs[REG_D0 + DN0] = State.regs[REG_MDR];
}
*am33
// end-sanitize-am33
{
- // OP_F2F2 ();
+ /* OP_F2F2 (); */
PC = cia;
State.regs[REG_MDR] = State.regs[REG_D0 + DM1];
}
*am33
// end-sanitize-am33
{
- // OP_70 ();
+ /* OP_70 (); */
PC = cia;
State.regs[REG_D0 + DN1] = load_word (State.regs[REG_A0 + AM0]);
}
*am33
// end-sanitize-am33
{
- // OP_F80000 ();
+ /* OP_F80000 (); */
PC = cia;
State.regs[REG_D0 + DN1]
= load_word ((State.regs[REG_A0 + AM0] + EXTEND8 (D8)));
*am33
// end-sanitize-am33
{
- // OP_FA000000 ();
+ /* OP_FA000000 (); */
PC = cia;
State.regs[REG_D0 + DN1]
= load_word ((State.regs[REG_A0 + AM0] + EXTEND16 (FETCH16(D16A, D16B))));
*am33
// end-sanitize-am33
{
- // OP_FC000000 ();
+ /* OP_FC000000 (); */
PC = cia;
State.regs[REG_D0 + DN1]
= load_word ((State.regs[REG_A0 + AM0]
*am33
// end-sanitize-am33
{
- // OP_5800 ();
+ /* OP_5800 (); */
PC = cia;
State.regs[REG_D0 + DN0] = load_word (State.regs[REG_SP] + D8);
}
*am33
// end-sanitize-am33
{
- // OP_FAB40000 ();
+ /* OP_FAB40000 (); */
PC = cia;
State.regs[REG_D0 + DN0]
= load_word (State.regs[REG_SP] + FETCH16(IMM16A, IMM16B));
*am33
// end-sanitize-am33
{
- // OP_FCB40000 ();
+ /* OP_FCB40000 (); */
PC = cia;
State.regs[REG_D0 + DN0]
= load_word (State.regs[REG_SP] + FETCH32(IMM32A, IMM32B, IMM32C, IMM32D));
*am33
// end-sanitize-am33
{
- // OP_F300 ();
+ /* OP_F300 (); */
PC = cia;
State.regs[REG_D0 + DN2]
= load_word ((State.regs[REG_A0 + AM0] + State.regs[REG_D0 + DI]));
*am33
// end-sanitize-am33
{
- // OP_300000 ();
+ /* OP_300000 (); */
PC = cia;
State.regs[REG_D0 + DN0] = load_word (FETCH16(IMM16A, IMM16B));
}
*am33
// end-sanitize-am33
{
- // OP_FCA40000 ();
+ /* OP_FCA40000 (); */
PC = cia;
State.regs[REG_D0 + DN0] = load_word (FETCH32(IMM32A, IMM32B, IMM32C, IMM32D));
}
*am33
// end-sanitize-am33
{
- // OP_F000 ();
+ /* OP_F000 (); */
PC = cia;
State.regs[REG_A0 + AN1] = load_word (State.regs[REG_A0 + AM0]);
}
*am33
// end-sanitize-am33
{
- // OP_F82000 ();
+ /* OP_F82000 (); */
PC = cia;
State.regs[REG_A0 + AN1]
= load_word ((State.regs[REG_A0 + AM0] + EXTEND8 (D8)));
*am33
// end-sanitize-am33
{
- // OP_FA200000 ();
+ /* OP_FA200000 (); */
PC = cia;
State.regs[REG_A0 + AN1]
= load_word ((State.regs[REG_A0 + AM0]
*am33
// end-sanitize-am33
{
- // OP_FC200000 ();
+ /* OP_FC200000 (); */
PC = cia;
State.regs[REG_A0 + AN1]
= load_word ((State.regs[REG_A0 + AM0]
*am33
// end-sanitize-am33
{
- // OP_5C00 ();
+ /* OP_5C00 (); */
PC = cia;
State.regs[REG_A0 + AN0]
= load_word (State.regs[REG_SP] + D8);
*am33
// end-sanitize-am33
{
- // OP_FAB00000 ();
+ /* OP_FAB00000 (); */
PC = cia;
State.regs[REG_A0 + AN0]
= load_word (State.regs[REG_SP] + FETCH16(IMM16A, IMM16B));
*am33
// end-sanitize-am33
{
- // OP_FCB00000 ();
+ /* OP_FCB00000 (); */
PC = cia;
State.regs[REG_A0 + AN0]
= load_word (State.regs[REG_SP]
*am33
// end-sanitize-am33
{
- // OP_F380 ();
+ /* OP_F380 (); */
PC = cia;
State.regs[REG_A0 + AN2]
= load_word ((State.regs[REG_A0 + AM0]
*am33
// end-sanitize-am33
{
- // OP_FAA00000 ();
+ /* OP_FAA00000 (); */
PC = cia;
State.regs[REG_A0 + AN0] = load_word (FETCH16(IMM16A, IMM16B));
}
*am33
// end-sanitize-am33
{
- // OP_FCA00000 ();
+ /* OP_FCA00000 (); */
PC = cia;
State.regs[REG_A0 + AN0]
= load_word (FETCH32(IMM32A, IMM32B, IMM32C, IMM32D));
*am33
// end-sanitize-am33
{
- // OP_F8F000 ();
+ /* OP_F8F000 (); */
PC = cia;
State.regs[REG_SP]
= load_word ((State.regs[REG_A0 + AM0] + EXTEND8 (D8)));
*am33
// end-sanitize-am33
{
- // OP_60 ();
+ /* OP_60 (); */
PC = cia;
store_word (State.regs[REG_A0 + AN0], State.regs[REG_D0 + DM1]);
}
*am33
// end-sanitize-am33
{
- // OP_F81000 ();
+ /* OP_F81000 (); */
PC = cia;
store_word ((State.regs[REG_A0 + AN0] + EXTEND8 (D8)),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_FA100000 ();
+ /* OP_FA100000 (); */
PC = cia;
store_word ((State.regs[REG_A0 + AN0] + EXTEND16 (FETCH16(D16A, D16B))),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_FC100000 ();
+ /* OP_FC100000 (); */
PC = cia;
store_word ((State.regs[REG_A0 + AN0]
+ FETCH32(IMM32A, IMM32B, IMM32C, IMM32D)),
*am33
// end-sanitize-am33
{
- // OP_4200 ();
+ /* OP_4200 (); */
PC = cia;
store_word (State.regs[REG_SP] + D8, State.regs[REG_D0 + DM1]);
}
*am33
// end-sanitize-am33
{
- // OP_FA910000 ();
+ /* OP_FA910000 (); */
PC = cia;
store_word (State.regs[REG_SP] + FETCH16(IMM16A, IMM16B),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_FC910000 ();
+ /* OP_FC910000 (); */
PC = cia;
store_word (State.regs[REG_SP] + FETCH32(IMM32A, IMM32B, IMM32C, IMM32D),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_F340 ();
+ /* OP_F340 (); */
PC = cia;
store_word ((State.regs[REG_A0 + AN0] + State.regs[REG_D0 + DI]),
State.regs[REG_D0 + DM2]);
*am33
// end-sanitize-am33
{
- // OP_10000 ();
+ /* OP_10000 (); */
PC = cia;
store_word (FETCH16(IMM16A, IMM16B), State.regs[REG_D0 + DM1]);
}
*am33
// end-sanitize-am33
{
- // OP_FC810000 ();
+ /* OP_FC810000 (); */
PC = cia;
store_word (FETCH32(IMM32A, IMM32B, IMM32C, IMM32D),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_F010 ();
+ /* OP_F010 (); */
PC = cia;
store_word (State.regs[REG_A0 + AN0], State.regs[REG_A0 + AM1]);
}
*am33
// end-sanitize-am33
{
- // OP_F83000 ();
+ /* OP_F83000 (); */
PC = cia;
store_word ((State.regs[REG_A0 + AN0] + EXTEND8 (D8)),
State.regs[REG_A0 + AM1]);
*am33
// end-sanitize-am33
{
- // OP_FA300000 ();
+ /* OP_FA300000 (); */
PC = cia;
store_word ((State.regs[REG_A0 + AN0] + EXTEND16 (FETCH16(D16A, D16B))),
State.regs[REG_A0 + AM1]);
*am33
// end-sanitize-am33
{
- // OP_FC300000 ();
+ /* OP_FC300000 (); */
PC = cia;
store_word ((State.regs[REG_A0 + AN0]
+ FETCH32(IMM32A, IMM32B, IMM32C, IMM32D)),
*am33
// end-sanitize-am33
{
- // OP_4300 ();
+ /* OP_4300 (); */
PC = cia;
store_word (State.regs[REG_SP] + (D8), State.regs[REG_A0 + (AM1)]);
}
*am33
// end-sanitize-am33
{
- // OP_FA900000 ();
+ /* OP_FA900000 (); */
PC = cia;
store_word (State.regs[REG_SP] + FETCH16(IMM16A, IMM16B),
State.regs[REG_A0 + AM1]);
*am33
// end-sanitize-am33
{
- // OP_FC900000 ();
+ /* OP_FC900000 (); */
PC = cia;
store_word (State.regs[REG_SP] + FETCH32(IMM32A, IMM32B, IMM32C, IMM32D),
State.regs[REG_A0 + AM1]);
*am33
// end-sanitize-am33
{
- // OP_F3C0 ();
+ /* OP_F3C0 (); */
PC = cia;
store_word ((State.regs[REG_A0 + AN0] + State.regs[REG_D0 + DI]),
State.regs[REG_A0 + AM2]);
*am33
// end-sanitize-am33
{
- // OP_FA800000 ();
+ /* OP_FA800000 (); */
PC = cia;
store_word (FETCH16(IMM16A, IMM16B),
State.regs[REG_A0 + AM1]);
*am33
// end-sanitize-am33
{
- // OP_FC800000 ();
+ /* OP_FC800000 (); */
PC = cia;
store_word (FETCH32(IMM32A, IMM32B, IMM32C, IMM32D),
State.regs[REG_A0 + AM1]);
*am33
// end-sanitize-am33
{
- // OP_F8F400 ();
+ /* OP_F8F400 (); */
PC = cia;
store_word (State.regs[REG_A0 + AN0] + EXTEND8 (D8),
State.regs[REG_SP]);
*am33
// end-sanitize-am33
{
- // OP_2C0000 ();
+ /* OP_2C0000 (); */
unsigned long value;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_FCCC0000 ();
+ /* OP_FCCC0000 (); */
unsigned long value;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_240000 ();
+ /* OP_240000 (); */
unsigned long value;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_FCDC0000 ();
+ /* OP_FCDC0000 (); */
PC = cia;
State.regs[REG_A0 + AN0] = FETCH32(IMM32A, IMM32B, IMM32C, IMM32D);
}
*am33
// end-sanitize-am33
{
- // OP_F040 ();
+ /* OP_F040 (); */
PC = cia;
State.regs[REG_D0 + DN1]
= load_byte (State.regs[REG_A0 + AM0]);
*am33
// end-sanitize-am33
{
- // OP_F84000 ();
+ /* OP_F84000 (); */
PC = cia;
State.regs[REG_D0 + DN1]
= load_byte ((State.regs[REG_A0 + AM0] + EXTEND8 (D8)));
*am33
// end-sanitize-am33
{
- // OP_FA400000 ();
+ /* OP_FA400000 (); */
PC = cia;
State.regs[REG_D0 + DN1]
= load_byte ((State.regs[REG_A0 + AM0]
*am33
// end-sanitize-am33
{
- // OP_FC400000 ();
+ /* OP_FC400000 (); */
PC = cia;
State.regs[REG_D0 + DN1]
= load_byte ((State.regs[REG_A0 + AM0]
*am33
// end-sanitize-am33
{
- // OP_F8B800 ();
+ /* OP_F8B800 (); */
PC = cia;
State.regs[REG_D0 + DN0]
= load_byte ((State.regs[REG_SP] + (D8)));
*am33
// end-sanitize-am33
{
- // OP_FAB80000 ();
+ /* OP_FAB80000 (); */
PC = cia;
State.regs[REG_D0 + DN0]
= load_byte ((State.regs[REG_SP]
*am33
// end-sanitize-am33
{
- // OP_FCB80000 ();
+ /* OP_FCB80000 (); */
PC = cia;
State.regs[REG_D0 + DN0]
= load_byte (State.regs[REG_SP]
*am33
// end-sanitize-am33
{
- // OP_F400 ();
+ /* OP_F400 (); */
PC = cia;
State.regs[REG_D0 + DN2]
= load_byte ((State.regs[REG_A0 + AM0]
*am33
// end-sanitize-am33
{
- // OP_340000 ();
+ /* OP_340000 (); */
PC = cia;
State.regs[REG_D0 + DN0] = load_byte (FETCH16(IMM16A, IMM16B));
}
*am33
// end-sanitize-am33
{
- // OP_FCA80000 ();
+ /* OP_FCA80000 (); */
PC = cia;
State.regs[REG_D0 + DN0]
= load_byte (FETCH32(IMM32A, IMM32B, IMM32C, IMM32D));
*am33
// end-sanitize-am33
{
- // OP_F050 ();
+ /* OP_F050 (); */
PC = cia;
store_byte (State.regs[REG_A0 + AN0], State.regs[REG_D0 + DM1]);
}
*am33
// end-sanitize-am33
{
- // OP_F85000 ();
+ /* OP_F85000 (); */
PC = cia;
store_byte ((State.regs[REG_A0 + AN0] + EXTEND8 (D8)),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_FA500000 ();
+ /* OP_FA500000 (); */
PC = cia;
store_byte ((State.regs[REG_A0 + AN0] + EXTEND16 (FETCH16(D16A, D16B))),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_FC500000 ();
+ /* OP_FC500000 (); */
PC = cia;
store_byte ((State.regs[REG_A0 + AN0]
+ FETCH32(IMM32A, IMM32B, IMM32C, IMM32D)),
*am33
// end-sanitize-am33
{
- // OP_F89200 ();
+ /* OP_F89200 (); */
PC = cia;
store_byte (State.regs[REG_SP] + (D8), State.regs[REG_D0 + DM1]);
}
*am33
// end-sanitize-am33
{
- // OP_FA920000 ();
+ /* OP_FA920000 (); */
PC = cia;
store_byte (State.regs[REG_SP] + FETCH16(IMM16A, IMM16B),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_FC920000 ();
+ /* OP_FC920000 (); */
PC = cia;
store_byte (State.regs[REG_SP] + FETCH32(IMM32A, IMM32B, IMM32C, IMM32D),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_F440 ();
+ /* OP_F440 (); */
PC = cia;
store_byte ((State.regs[REG_A0 + AN0] + State.regs[REG_D0 + DI]),
State.regs[REG_D0 + DM2]);
*am33
// end-sanitize-am33
{
- // OP_20000 ();
+ /* OP_20000 (); */
PC = cia;
store_byte (FETCH16(IMM16A, IMM16B),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_FC820000 ();
+ /* OP_FC820000 (); */
PC = cia;
store_byte (FETCH32(IMM32A, IMM32B, IMM32C, IMM32D),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_F060 ();
+ /* OP_F060 (); */
PC = cia;
State.regs[REG_D0 + DN1]
= load_half (State.regs[REG_A0 + AM0]);
*am33
// end-sanitize-am33
{
- // OP_F86000 ();
+ /* OP_F86000 (); */
PC = cia;
State.regs[REG_D0 + DN1]
= load_half ((State.regs[REG_A0 + AM0] + EXTEND8 (D8)));
*am33
// end-sanitize-am33
{
- // OP_FA600000 ();
+ /* OP_FA600000 (); */
PC = cia;
State.regs[REG_D0 + DN1]
= load_half ((State.regs[REG_A0 + AM0]
*am33
// end-sanitize-am33
{
- // OP_FC600000 ();
+ /* OP_FC600000 (); */
PC = cia;
State.regs[REG_D0 + DN1]
= load_half ((State.regs[REG_A0 + AM0]
*am33
// end-sanitize-am33
{
- // OP_F8BC00 ();
+ /* OP_F8BC00 (); */
PC = cia;
State.regs[REG_D0 + DN0]
= load_half ((State.regs[REG_SP] + (D8)));
*am33
// end-sanitize-am33
{
- // OP_FABC0000 ();
+ /* OP_FABC0000 (); */
PC = cia;
State.regs[REG_D0 + DN0]
= load_half ((State.regs[REG_SP] + FETCH16(IMM16A, IMM16B)));
*am33
// end-sanitize-am33
{
- // OP_FCBC0000 ();
+ /* OP_FCBC0000 (); */
PC = cia;
State.regs[REG_D0 + DN0]
= load_half (State.regs[REG_SP] + FETCH32(IMM32A, IMM32B, IMM32C, IMM32D));
*am33
// end-sanitize-am33
{
- // OP_F480 ();
+ /* OP_F480 (); */
PC = cia;
State.regs[REG_D0 + DN2]
= load_half ((State.regs[REG_A0 + AM0] + State.regs[REG_D0 + DI]));
*am33
// end-sanitize-am33
{
- // OP_380000 ();
+ /* OP_380000 (); */
PC = cia;
State.regs[REG_D0 + DN0] = load_half (FETCH16(IMM16A, IMM16B));
}
*am33
// end-sanitize-am33
{
- // OP_FCAC0000 ();
+ /* OP_FCAC0000 (); */
PC = cia;
State.regs[REG_D0 + DN0]
= load_half (FETCH32(IMM32A, IMM32B, IMM32C, IMM32D));
*am33
// end-sanitize-am33
{
- // OP_F070 ();
+ /* OP_F070 (); */
PC = cia;
store_half (State.regs[REG_A0 + AN0],
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_F87000 ();
+ /* OP_F87000 (); */
PC = cia;
store_half ((State.regs[REG_A0 + AN0] + EXTEND8 (D8)),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_FA700000 ();
+ /* OP_FA700000 (); */
PC = cia;
store_half ((State.regs[REG_A0 + AN0] + EXTEND16 (FETCH16(D16A, D16B))),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_FC700000 ();
+ /* OP_FC700000 (); */
PC = cia;
store_half ((State.regs[REG_A0 + AN0]
+ FETCH32(IMM32A, IMM32B, IMM32C, IMM32D)),
*am33
// end-sanitize-am33
{
- // OP_F89300 ();
+ /* OP_F89300 (); */
PC = cia;
store_half (State.regs[REG_SP] + (D8),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_FA930000 ();
+ /* OP_FA930000 (); */
PC = cia;
store_half (State.regs[REG_SP] + FETCH16(IMM16A, IMM16B),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_FC930000 ();
+ /* OP_FC930000 (); */
PC = cia;
store_half (State.regs[REG_SP] + FETCH32(IMM32A, IMM32B, IMM32C, IMM32D),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_F4C0 ();
+ /* OP_F4C0 (); */
PC = cia;
store_half ((State.regs[REG_A0 + AN0] + State.regs[REG_D0 + DI]),
State.regs[REG_D0 + DM2]);
*am33
// end-sanitize-am33
{
- // OP_30000 ();
+ /* OP_30000 (); */
PC = cia;
store_half (FETCH16(IMM16A, IMM16B), State.regs[REG_D0 + DM1]);
}
*am33
// end-sanitize-am33
{
- // OP_FC830000 ();
+ /* OP_FC830000 (); */
PC = cia;
store_half (FETCH32(IMM32A, IMM32B, IMM32C, IMM32D),
State.regs[REG_D0 + DM1]);
*am33
// end-sanitize-am33
{
- // OP_F2D0 ();
+ /* OP_F2D0 (); */
PC = cia;
if (State.regs[REG_D0 + DN0] & 0x80000000)
State.regs[REG_MDR] = -1;
*am33
// end-sanitize-am33
{
- // OP_10 ();
+ /* OP_10 (); */
PC = cia;
State.regs[REG_D0 + DN0] = EXTEND8 (State.regs[REG_D0 + DN0]);
}
*am33
// end-sanitize-am33
{
- // OP_14 ();
+ /* OP_14 (); */
PC = cia;
State.regs[REG_D0 + DN0] &= 0xff;
}
*am33
// end-sanitize-am33
{
- // OP_18 ();
+ /* OP_18 (); */
PC = cia;
State.regs[REG_D0 + DN0] = EXTEND16 (State.regs[REG_D0 + DN0]);
}
*am33
// end-sanitize-am33
{
- // OP_1C ();
+ /* OP_1C (); */
PC = cia;
State.regs[REG_D0 + DN0] &= 0xffff;
}
*am33
// end-sanitize-am33
{
- // OP_0 ();
+ /* OP_0 (); */
PC = cia;
State.regs[REG_D0 + DN1] = 0;
*am33
// end-sanitize-am33
{
- // OP_E0 ();
+ /* OP_E0 (); */
PC = cia;
genericAdd(State.regs[REG_D0 + DM1], REG_D0 + DN0);
}
*am33
// end-sanitize-am33
{
- // OP_F160 ();
+ /* OP_F160 (); */
PC = cia;
genericAdd(State.regs[REG_D0 + DM1], REG_A0 + AN0);
}
*am33
// end-sanitize-am33
{
- // OP_F150 ();
+ /* OP_F150 (); */
PC = cia;
genericAdd(State.regs[REG_A0 + AM1], REG_D0 + DN0);
}
*am33
// end-sanitize-am33
{
- // OP_F170 ();
+ /* OP_F170 (); */
PC = cia;
genericAdd(State.regs[REG_A0 + AM1], REG_A0 + AN0);
}
*am33
// end-sanitize-am33
{
- // OP_2800 ();
+ /* OP_2800 (); */
PC = cia;
genericAdd(EXTEND8(IMM8), REG_D0 + DN0);
}
*am33
// end-sanitize-am33
{
- // OP_FAC00000 ();
+ /* OP_FAC00000 (); */
PC = cia;
genericAdd(EXTEND16(FETCH16(IMM16A, IMM16B)), REG_D0 + DN0);
}
*am33
// end-sanitize-am33
{
- // OP_FCC00000 ();
+ /* OP_FCC00000 (); */
PC = cia;
genericAdd(FETCH32(IMM32A, IMM32B, IMM32C, IMM32D), REG_D0 + DN0);
}
*am33
// end-sanitize-am33
{
- // OP_2000 ();
+ /* OP_2000 (); */
PC = cia;
genericAdd(EXTEND8(IMM8), REG_A0 + AN0);
}
*am33
// end-sanitize-am33
{
- // OP_FAD00000 ();
+ /* OP_FAD00000 (); */
PC = cia;
genericAdd(EXTEND16(FETCH16(IMM16A, IMM16B)), REG_A0 + AN0);
}
*am33
// end-sanitize-am33
{
- // OP_FCD00000 ();
+ /* OP_FCD00000 (); */
PC = cia;
genericAdd(FETCH32(IMM32A, IMM32B, IMM32C, IMM32D), REG_A0 + AN0);
}
*am33
// end-sanitize-am33
{
- // OP_F8FE00 ();
+ /* OP_F8FE00 (); */
unsigned long imm;
- // Note: no PSW changes.
+ /* Note: no PSW changes. */
PC = cia;
imm = EXTEND8 (IMM8);
State.regs[REG_SP] += imm;
*am33
// end-sanitize-am33
{
- // OP_FAFE0000 ();
+ /* OP_FAFE0000 (); */
unsigned long imm;
- // Note: no PSW changes.
+ /* Note: no PSW changes. */
PC = cia;
imm = EXTEND16 (FETCH16(IMM16A, IMM16B));
State.regs[REG_SP] += imm;
*am33
// end-sanitize-am33
{
- // OP_FCFE0000 ();
+ /* OP_FCFE0000 (); */
unsigned long imm;
- // Note: no PSW changes.
+ /* Note: no PSW changes. */
PC = cia;
imm = FETCH32(IMM32A, IMM32B, IMM32C, IMM32D);
State.regs[REG_SP] += imm;
*am33
// end-sanitize-am33
{
- // OP_F140 ();
+ /* OP_F140 (); */
int z, c, n, v;
unsigned long reg1, reg2, sum;
sum = reg1 + reg2 + ((PSW & PSW_C) != 0);
State.regs[REG_D0 + DN0] = sum;
- z = (sum == 0);
+ z = ((PSW & PSW_Z) != 0) && (sum == 0);
n = (sum & 0x80000000);
c = (sum < reg1) || (sum < reg2);
v = ((reg2 & 0x80000000) == (reg1 & 0x80000000)
*am33
// end-sanitize-am33
{
- // OP_F100 ();
+ /* OP_F100 (); */
PC = cia;
genericSub(State.regs[REG_D0 + DM1], REG_D0 + DN0);
}
*am33
// end-sanitize-am33
{
- // OP_F120 ();
+ /* OP_F120 (); */
PC = cia;
genericSub(State.regs[REG_D0 + DM1], REG_A0 + AN0);
}
*am33
// end-sanitize-am33
{
- // OP_F110 ();
+ /* OP_F110 (); */
PC = cia;
genericSub(State.regs[REG_A0 + AM1], REG_D0 + DN0);
}
*am33
// end-sanitize-am33
{
- // OP_F130 ();
+ /* OP_F130 (); */
PC = cia;
genericSub(State.regs[REG_A0 + AM1], REG_A0 + AN0);
}
*am33
// end-sanitize-am33
{
- // OP_FCC40000 ();
+ /* OP_FCC40000 (); */
PC = cia;
genericSub(FETCH32(IMM32A, IMM32B, IMM32C, IMM32D), REG_D0 + DN0);
}
*am33
// end-sanitize-am33
{
- // OP_FCD40000 ();
+ /* OP_FCD40000 (); */
PC = cia;
genericSub(FETCH32(IMM32A, IMM32B, IMM32C, IMM32D), REG_A0 + AN0);
}
*am33
// end-sanitize-am33
{
- // OP_F180 ();
+ /* OP_F180 (); */
int z, c, n, v;
unsigned long reg1, reg2, difference;
difference = reg2 - reg1 - ((PSW & PSW_C) != 0);
State.regs[REG_D0 + DN0] = difference;
- z = (difference == 0);
+ z = ((PSW & PSW_Z) != 0) && (difference == 0);
n = (difference & 0x80000000);
c = (reg1 > reg2);
v = ((reg2 & 0x80000000) != (reg1 & 0x80000000)
*am33
// end-sanitize-am33
{
- // OP_F240 ();
+ /* OP_F240 (); */
unsigned long long temp;
int n, z;
*am33
// end-sanitize-am33
{
- // OP_F250 ();
+ /* OP_F250 (); */
unsigned long long temp;
int n, z;
*am33
// end-sanitize-am33
{
- // OP_F260 ();
- long long temp;
- int n, z;
+ /* OP_F260 (); */
+ signed64 temp;
+ signed32 denom;
+ int n, z, v;
PC = cia;
- temp = State.regs[REG_MDR];
- temp <<= 32;
- temp |= State.regs[REG_D0 + DN0];
- State.regs[REG_MDR] = temp % (long)State.regs[REG_D0 + DM1];
- temp /= (long)State.regs[REG_D0 + DM1];
- State.regs[REG_D0 + DN0] = temp & 0xffffffff;
- z = (State.regs[REG_D0 + DN0] == 0);
- n = (State.regs[REG_D0 + DN0] & 0x80000000) != 0;
+ denom = (signed32)State.regs[REG_D0 + DM1];
+ /* still need to check for overflow */
+ if ( !(v = (0 == denom)) )
+ {
+ temp = State.regs[REG_MDR];
+ temp <<= 32;
+ temp |= State.regs[REG_D0 + DN0];
+ State.regs[REG_MDR] = temp % (signed32)State.regs[REG_D0 + DM1];
+ temp /= (signed32)State.regs[REG_D0 + DM1];
+ State.regs[REG_D0 + DN0] = temp & 0xffffffff;
+ z = (State.regs[REG_D0 + DN0] == 0);
+ n = (State.regs[REG_D0 + DN0] & 0x80000000) != 0;
+ }
PSW &= ~(PSW_Z | PSW_N | PSW_C | PSW_V);
- PSW |= ((z ? PSW_Z : 0) | (n ? PSW_N : 0));
+ PSW |= ((z ? PSW_Z : 0) | (n ? PSW_N : 0) | (v ? PSW_V : 0));
}
*am33
// end-sanitize-am33
{
- // OP_F270 ();
- unsigned long long temp;
- int n, z;
+ /* OP_F270 (); */
+ unsigned64 temp;
+ unsigned32 denom;
+ int n, z, v;
PC = cia;
- temp = State.regs[REG_MDR];
- temp <<= 32;
- temp |= State.regs[REG_D0 + DN0];
- State.regs[REG_MDR] = temp % State.regs[REG_D0 + DM1];
- temp /= State.regs[REG_D0 + DM1];
- State.regs[REG_D0 + DN0] = temp & 0xffffffff;
- z = (State.regs[REG_D0 + DN0] == 0);
- n = (State.regs[REG_D0 + DN0] & 0x80000000) != 0;
+ denom = (unsigned32)State.regs[REG_D0 + DM1];
+ if ( !(v = (0 == denom)) )
+ {
+ temp = State.regs[REG_MDR];
+ temp <<= 32;
+ temp |= State.regs[REG_D0 + DN0];
+ State.regs[REG_MDR] = temp % State.regs[REG_D0 + DM1];
+ temp /= State.regs[REG_D0 + DM1];
+ State.regs[REG_D0 + DN0] = temp & 0xffffffff;
+ z = (State.regs[REG_D0 + DN0] == 0);
+ n = (State.regs[REG_D0 + DN0] & 0x80000000) != 0;
+ }
PSW &= ~(PSW_Z | PSW_N | PSW_C | PSW_V);
- PSW |= ((z ? PSW_Z : 0) | (n ? PSW_N : 0));
+ PSW |= ((z ? PSW_Z : 0) | (n ? PSW_N : 0) | (v ? PSW_V : 0));
}
*am33
// end-sanitize-am33
{
- // OP_40 ();
+ /* OP_40 (); */
unsigned int imm;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_41 ();
+ /* OP_41 (); */
PC = cia;
State.regs[REG_A0 + AN1] += 1;
}
*am33
// end-sanitize-am33
{
- // OP_50 ();
+ /* OP_50 (); */
PC = cia;
State.regs[REG_A0 + AN0] += 4;
}
// end-sanitize-am33
{
PC = cia;
- // OP_A000 ();
+ /* OP_A000 (); */
genericCmp(EXTEND8 (IMM8), State.regs[REG_D0 + DN0]);
}
// end-sanitize-am33
{
PC = cia;
- // OP_A0 ();
+ /* OP_A0 (); */
genericCmp(State.regs[REG_D0 + DM1], State.regs[REG_D0 + DN0]);
}
*am33
// end-sanitize-am33
{
- // OP_F1A0 ();
+ /* OP_F1A0 (); */
PC = cia;
genericCmp(State.regs[REG_D0 + DM1], State.regs[REG_A0 + AN0]);
}
*am33
// end-sanitize-am33
{
- // OP_F190 ();
+ /* OP_F190 (); */
PC = cia;
genericCmp(State.regs[REG_A0 + AM1], State.regs[REG_D0 + DN0]);
}
// end-sanitize-am33
{
PC = cia;
- // op_B000 ();
+ /* OP_B000 (); */
genericCmp(IMM8,
State.regs[REG_A0 + AN0]);
}
// end-sanitize-am33
{
PC = cia;
- // OP_B0 ();
+ /* OP_B0 (); */
genericCmp(State.regs[REG_A0 + AM1], State.regs[REG_A0 + AN0]);
}
*am33
// end-sanitize-am33
{
- // OP_FAC80000 ();
+ /* OP_FAC80000 (); */
PC = cia;
genericCmp(EXTEND16(FETCH16(IMM16A, IMM16B)),
State.regs[REG_D0 + DN0]);
*am33
// end-sanitize-am33
{
- // OP_FCC80000 ();
+ /* OP_FCC80000 (); */
PC = cia;
genericCmp(FETCH32(IMM32A, IMM32B, IMM32C, IMM32D),
State.regs[REG_D0 + DN0]);
*am33
// end-sanitize-am33
{
- // OP_FAD80000 ();
+ /* OP_FAD80000 (); */
PC = cia;
genericCmp(FETCH16(IMM16A, IMM16B),
State.regs[REG_A0 + AN0]);
*am33
// end-sanitize-am33
{
- // OP_FCD80000 ();
+ /* OP_FCD80000 (); */
PC = cia;
genericCmp(FETCH32(IMM32A, IMM32B, IMM32C, IMM32D),
State.regs[REG_A0 + AN0]);
*am33
// end-sanitize-am33
{
- // OP_F200 ();
+ /* OP_F200 (); */
int n, z;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_F8E000 ();
+ /* OP_F8E000 (); */
int n, z;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_FAE00000 ();
+ /* OP_FAE00000 (); */
int n, z;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_FCE00000 ();
+ /* OP_FCE00000 (); */
int n, z;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_FAFC0000 ();
+ /* OP_FAFC0000 (); */
PC = cia;
PSW &= FETCH16(IMM16A, IMM16B);
}
*am33
// end-sanitize-am33
{
- // OP_F210 ();
+ /* OP_F210 (); */
PC = cia;
genericOr(State.regs[REG_D0 + DM1], REG_D0 + DN0);
}
*am33
// end-sanitize-am33
{
- // OP_F8E400 ();
+ /* OP_F8E400 (); */
PC = cia;
genericOr(IMM8, REG_D0 + DN0);
}
*am33
// end-sanitize-am33
{
- // OP_FAE40000 ();
+ /* OP_FAE40000 (); */
PC = cia;
genericOr(FETCH16(IMM16A, IMM16B), REG_D0 + DN0);
}
*am33
// end-sanitize-am33
{
- // OP_FCE40000 ();
+ /* OP_FCE40000 (); */
PC = cia;
genericOr(FETCH32(IMM32A, IMM32B, IMM32C, IMM32D), REG_D0 + DN0);
}
*am33
// end-sanitize-am33
{
- // OP_FAFD0000 ();
+ /* OP_FAFD0000 (); */
PC = cia;
PSW |= FETCH16(IMM16A, IMM16B);
}
*am33
// end-sanitize-am33
{
- // OP_F220 ();
+ /* OP_F220 (); */
PC = cia;
genericXor(State.regs[REG_D0 + DM1], REG_D0 + DN0);
}
*am33
// end-sanitize-am33
{
- // OP_FAE80000 ();
+ /* OP_FAE80000 (); */
PC = cia;
genericXor(FETCH16(IMM16A, IMM16B), REG_D0 + DN0);
}
*am33
// end-sanitize-am33
{
- // OP_FCE80000 ();
+ /* OP_FCE80000 (); */
PC = cia;
genericXor(FETCH32(IMM32A, IMM32B, IMM32C, IMM32D), REG_D0 + DN0);
}
*am33
// end-sanitize-am33
{
- // OP_F230 ();
+ /* OP_F230 (); */
int n, z;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_F8EC00 ();
+ /* OP_F8EC00 (); */
PC = cia;
genericBtst(IMM8, State.regs[REG_D0 + DN0]);
}
*am33
// end-sanitize-am33
{
- // OP_FAEC0000 ();
+ /* OP_FAEC0000 (); */
PC = cia;
genericBtst(FETCH16(IMM16A, IMM16B), State.regs[REG_D0 + DN0]);
}
*am33
// end-sanitize-am33
{
- // OP_FCEC0000 ();
+ /* OP_FCEC0000 (); */
PC = cia;
genericBtst(FETCH32(IMM32A, IMM32B, IMM32C, IMM32D),
State.regs[REG_D0 + DN0]);
*am33
// end-sanitize-am33
{
- // OP_FE020000 ();
+ /* OP_FE020000 (); */
PC = cia;
genericBtst(IMM8,
load_byte(FETCH32(IMM32A, IMM32B, IMM32C, IMM32D)));
*am33
// end-sanitize-am33
{
- // OP_FAF80000 ();
+ /* OP_FAF80000 (); */
PC = cia;
genericBtst(IMM8,
load_byte(State.regs[REG_A0 + AN0] + EXTEND8(D8)));
*am33
// end-sanitize-am33
{
- // OP_F080 ();
+ /* OP_F080 (); */
unsigned long temp;
int z;
*am33
// end-sanitize-am33
{
- // OP_FE000000 ();
+ /* OP_FE000000 (); */
unsigned long temp;
int z;
*am33
// end-sanitize-am33
{
- // OP_FAF00000 ();
+ /* OP_FAF00000 (); */
unsigned long temp;
int z;
*am33
// end-sanitize-am33
{
- // OP_F090 ();
+ /* OP_F090 (); */
unsigned long temp;
int z;
*am33
// end-sanitize-am33
{
- // OP_FE010000 ();
+ /* OP_FE010000 (); */
unsigned long temp;
int z;
*am33
// end-sanitize-am33
{
- // OP_FAF40000 ();
+ /* OP_FAF40000 (); */
unsigned long temp;
int z;
*am33
// end-sanitize-am33
{
- // OP_F2B0 ();
+ /* OP_F2B0 (); */
long temp;
int z, n, c;
*am33
// end-sanitize-am33
{
- // OP_F8C800 ();
+ /* OP_F8C800 (); */
long temp;
int z, n, c;
*am33
// end-sanitize-am33
{
- // OP_F2A0 ();
+ /* OP_F2A0 (); */
int z, n, c;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_F8C400 ();
+ /* OP_F8C400 (); */
int z, n, c;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_F290 ();
+ /* OP_F290 (); */
int n, z;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_F8C000 ();
+ /* OP_F8C000 (); */
int n, z;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_54 ();
+ /* OP_54 (); */
int n, z;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_F284 ();
+ /* OP_F284 (); */
unsigned long value;
int c,n,z;
*am33
// end-sanitize-am33
{
- // handle ror above, too.
- // OP_F280 ();
+ /* OP_F280 (); */
unsigned long value;
int c,n,z;
*am33
// end-sanitize-am33
{
- // OP_C800 ();
+ /* OP_C800 (); */
PC = cia;
if ((PSW & PSW_Z))
{
*am33
// end-sanitize-am33
{
- // OP_C900 ();
+ /* OP_C900 (); */
PC = cia;
if (!(PSW & PSW_Z))
{
*am33
// end-sanitize-am33
{
- // OP_C100 ();
+ /* OP_C100 (); */
PC = cia;
if (!((PSW & PSW_Z)
|| (((PSW & PSW_N) != 0) ^ ((PSW & PSW_V) != 0))))
*am33
// end-sanitize-am33
{
- // OP_C200 ();
+ /* OP_C200 (); */
PC = cia;
if (!(((PSW & PSW_N) != 0) ^ ((PSW & PSW_V) != 0)))
{
*am33
// end-sanitize-am33
{
- // OP_C300 ();
+ /* OP_C300 (); */
PC = cia;
if ((PSW & PSW_Z)
|| (((PSW & PSW_N) != 0) ^ ((PSW & PSW_V) != 0)))
*am33
// end-sanitize-am33
{
- // OP_C000 ();
+ /* OP_C000 (); */
PC = cia;
if (((PSW & PSW_N) != 0) ^ ((PSW & PSW_V) != 0))
{
*am33
// end-sanitize-am33
{
- // OP_C500 ();
+ /* OP_C500 (); */
PC = cia;
if (!(((PSW & PSW_C) != 0) || (PSW & PSW_Z) != 0))
{
*am33
// end-sanitize-am33
{
- // OP_C600 ();
+ /* OP_C600 (); */
PC = cia;
if (!(PSW & PSW_C))
{
*am33
// end-sanitize-am33
{
- // OP_C700 ();
+ /* OP_C700 (); */
PC = cia;
if (((PSW & PSW_C) != 0) || (PSW & PSW_Z) != 0)
{
*am33
// end-sanitize-am33
{
- // OP_C400 ();
+ /* OP_C400 (); */
PC = cia;
if (PSW & PSW_C)
{
*am33
// end-sanitize-am33
{
- // OP_F8E800 ();
+ /* OP_F8E800 (); */
PC = cia;
if (!(PSW & PSW_V))
{
*am33
// end-sanitize-am33
{
- // OP_F8E900 ();
+ /* OP_F8E900 (); */
PC = cia;
if (PSW & PSW_V)
{
*am33
// end-sanitize-am33
{
- // OP_F8EA00 ();
+ /* OP_F8EA00 (); */
PC = cia;
if (!(PSW & PSW_N))
{
*am33
// end-sanitize-am33
{
- // OP_F8EB00 ();
+ /* OP_F8EB00 (); */
PC = cia;
if (PSW & PSW_N)
{
*am33
// end-sanitize-am33
{
- // OP_CA00 ();
+ /* OP_CA00 (); */
PC = cia;
State.regs[REG_PC] += EXTEND8 (D8);
nia = PC;
*am33
// end-sanitize-am33
{
- // OP_D8 ();
+ /* OP_D8 (); */
PC = cia;
if (PSW & PSW_Z)
{
*am33
// end-sanitize-am33
{
- // OP_D9 ();
+ /* OP_D9 (); */
PC = cia;
if (!(PSW & PSW_Z))
{
*am33
// end-sanitize-am33
{
- // OP_D1 ();
+ /* OP_D1 (); */
PC = cia;
if (!((PSW & PSW_Z)
|| (((PSW & PSW_N) != 0) ^ ((PSW & PSW_V) != 0))))
*am33
// end-sanitize-am33
{
- // OP_D2 ();
+ /* OP_D2 (); */
PC = cia;
if (!(((PSW & PSW_N) != 0) ^ ((PSW & PSW_V) != 0)))
{
*am33
// end-sanitize-am33
{
- // OP_D3 ();
+ /* OP_D3 (); */
PC = cia;
if ((PSW & PSW_Z)
|| (((PSW & PSW_N) != 0) ^ ((PSW & PSW_V) != 0)))
*am33
// end-sanitize-am33
{
- // OP_D0 ();
+ /* OP_D0 (); */
PC = cia;
if (((PSW & PSW_N) != 0) ^ ((PSW & PSW_V) != 0))
{
*am33
// end-sanitize-am33
{
- // OP_D5 ();
+ /* OP_D5 (); */
PC = cia;
if (!(((PSW & PSW_C) != 0) || (PSW & PSW_Z) != 0))
{
*am33
// end-sanitize-am33
{
- // OP_D6 ();
+ /* OP_D6 (); */
PC = cia;
if (!(PSW & PSW_C))
{
*am33
// end-sanitize-am33
{
- // OP_D7 ();
+ /* OP_D7 (); */
PC = cia;
if (((PSW & PSW_C) != 0) || (PSW & PSW_Z) != 0)
{
*am33
// end-sanitize-am33
{
- // OP_D4 ();
+ /* OP_D4 (); */
PC = cia;
if (PSW & PSW_C)
{
*am33
// end-sanitize-am33
{
- // OP_DA ();
+ /* OP_DA (); */
PC = cia;
State.regs[REG_PC] = State.regs[REG_LAR] - 4;
nia = PC;
*am33
// end-sanitize-am33
{
- // OP_DB ();
+ /* OP_DB (); */
PC = cia;
State.regs[REG_LIR] = load_word (State.regs[REG_PC] + 1);
State.regs[REG_LAR] = State.regs[REG_PC] + 5;
*am33
// end-sanitize-am33
{
- // OP_F0F4 ();
- PC = State.regs[REG_A0 + AN0];
+ /* OP_F0F4 (); */
+ PC = load_word (State.regs[REG_A0 + AN0]);
nia = PC;
}
*am33
// end-sanitize-am33
{
- // OP_CC0000 ();
+ /* OP_CC0000 (); */
PC = cia + EXTEND16(FETCH16(D16A, D16B));
nia = PC;
}
*am33
// end-sanitize-am33
{
- // OP_DC000000 ();
+ /* OP_DC000000 (); */
PC = cia + FETCH32(D32A, D32B, D32C, D32D);
nia = PC;
}
*am33
// end-sanitize-am33
{
- // OP_F0F0 ();
+ /* OP_F0F0 (); */
unsigned int next_pc, sp;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_FAFF0000 ();
+ /* OP_FAFF0000 (); */
unsigned int next_pc, sp;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_FCFF0000 ();
+ /* OP_FCFF0000 (); */
unsigned int next_pc, sp;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_F0FC ();
+ /* OP_F0FC (); */
unsigned int sp;
sp = State.regs[REG_SP];
*am33
// end-sanitize-am33
{
- // OP_F0FD ();
+ /* OP_F0FD (); */
unsigned int sp;
sp = State.regs[REG_SP];
*am33
// end-sanitize-am33
{
- // OP_F0FE ();
+ /* OP_F0FE (); */
unsigned int sp, next_pc;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_F0FF ();
+ /* OP_F0FF (); */
PC = cia;
abort ();
}
*am33
// end-sanitize-am33
{
- // OP_CB ();
+ /* OP_CB (); */
PC = cia;
}
-// 1111 0101 0000 DmDn; udf20 Dm,Dn
-8.0xf5+4.0x0,2.DN1,2.DN0:D0:::putx
+// 1111 0101 0000 DmDn; udf20 Dm,Dm
+8.0xf5+4.0x0,2.DM1,2.DM0:D0:::putx
"putx"
*mn10300
{
- // OP_F500 ();
+ /* OP_F500 (); */
PC = cia;
- State.regs[REG_MDRQ] = State.regs[REG_D0 + DN0];
+ State.regs[REG_MDRQ] = State.regs[REG_D0 + DM0];
}
-// 1111 0110 1111 DmDn; udf15 Dm,Dn
-8.0xf6+4.0xf,2.DM1,2.DN0:D0:::getx
+// 1111 0110 1111 DmDn; udf15 Dn,Dn
+8.0xf6+4.0xf,2.DN1,2.DN0:D0:::getx
"getx"
*mn10300
// start-sanitize-am33
*am33
// end-sanitize-am33
{
- // OP_F6F0 ();
+ /* OP_F6F0 (); */
int z, n;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_F600 ();
+ /* OP_F600 (); */
unsigned long long temp;
int n, z;
*am33
// end-sanitize-am33
{
- // OP_F90000 ();
+ /* OP_F90000 (); */
unsigned long long temp;
int n, z;
*am33
// end-sanitize-am33
{
- // OP_FB000000 ();
+ /* OP_FB000000 (); */
unsigned long long temp;
int n, z;
*am33
// end-sanitize-am33
{
- // OP_FD000000 ();
+ /* OP_FD000000 (); */
unsigned long long temp;
int n, z;
*am33
// end-sanitize-am33
{
- // OP_F610 ();
+ /* OP_F610 (); */
unsigned long long temp;
int n, z;
*am33
// end-sanitize-am33
{
- // OP_F91400 ();
+ /* OP_F91400 (); */
unsigned long long temp;
int n, z;
*am33
// end-sanitize-am33
{
- // OP_FB140000 ();
+ /* OP_FB140000 (); */
unsigned long long temp;
int n, z;
*am33
// end-sanitize-am33
{
- // OP_FD140000 ();
+ /* OP_FD140000 (); */
unsigned long long temp;
int n, z;
*am33
// end-sanitize-am33
{
- // OP_F640 ();
+ /* OP_F640 (); */
int temp;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_F650 ();
+ /* OP_F650 (); */
int temp;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_F670 ();
+ /* OP_F670 (); */
int temp, c;
PC = cia;
*am33
// end-sanitize-am33
{
- // OP_F0C0 ();
+ /* OP_F0C0 (); */
PC = cia;
do_syscall ();
}
*am33
// end-sanitize-am33
{
- // OP_FF ();
+ /* OP_FF (); */
PC = cia;
- // State.exception = SIGTRAP;
sim_engine_halt (SD, CPU, NULL, cia, sim_stopped, SIM_SIGTRAP);
PC -= 1;
}
*am33
// end-sanitize-am33
{
- // OP_CE00 ();
+ /* OP_CE00 (); */
unsigned long sp = State.regs[REG_SP];
unsigned long mask;
*am33
// end-sanitize-am33
{
- // OP_CF00 ();
+ /* OP_CF00 (); */
unsigned long sp = State.regs[REG_SP];
unsigned long mask;
*am33
// end-sanitize-am33
{
- // OP_CD000000 ();
+ /* OP_CD000000 (); */
unsigned int next_pc, sp;
unsigned long mask;
*am33
// end-sanitize-am33
{
- // op_DD000000();
+ /* OP_DD000000 (); */
unsigned int next_pc, sp;
unsigned long mask;
sp = State.regs[REG_SP];
next_pc = State.regs[REG_PC] + 7;
/* could assert that nia == next_pc here */
- store_word(sp, next_pc);
-// store_byte(sp, next_pc & 0xff);
-// store_byte(sp+1, (next_pc & 0xff00) >> 8 );
-// store_byte(sp+2, (next_pc & 0xff0000) >> 16 );
-// store_byte(sp+3, (next_pc & 0xff000000) >> 24);
+ store_word(sp, next_pc);
mask = REGS;
*am33
// end-sanitize-am33
{
- // OP_DF0000 ();
+ /* OP_DF0000 (); */
unsigned int sp, offset;
unsigned long mask;
*am33
// end-sanitize-am33
{
- // OP_DE0000 ();
+ /* OP_DE0000 (); */
unsigned int sp, offset;
unsigned long mask;