1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-25 03:32:01 +00:00

Add note for my tomorrow self.

This commit is contained in:
Thomas Harte 2022-05-05 21:11:02 -04:00
parent 06fe320cc0
commit 5db0ea0236

View File

@ -485,6 +485,12 @@ void Executor<model, BusHandler>::movem(Preinstruction instruction, uint32_t sou
} else { } else {
// Move memory to registers. // Move memory to registers.
//
// Another 68000 convention has been broken here; the instruction form is:
// MOVEM <ea>, #
// ... but the instruction is encoded as [MOVEM] [#] [ea].
//
// TODO: solve this.
int index = 0; int index = 0;
while(dest) { while(dest) {
if(dest & 1) { if(dest & 1) {